タグ

関連タグで絞り込む (2)

タグの絞り込みを解除

UNIXと32bitに関するrin51のブックマーク (2)

  • 64ビットプログラミングのポイント

    従来の32ビット環境に慣れてしまったプログラマがしばしば犯してしまうミスを交えつつ、32ビット環境から64ビット環境へ移行する際に注意すべき代表的なC言語のプログラミング例を紹介しよう。(特集:64ビットコンピューティング最前線) C MAGAZINE 2004年10月号第3特集「64ビットコンピューティング」より転載 64ビット環境へ移行する際の注意点 ここでは、従来の32ビット環境に慣れてしまったプログラマがしばしば犯してしまうミスを交えつつ、32ビット環境から64ビット環境へ移行する際に注意すべき代表的なC言語のプログラミング例を紹介します。 もちろん、32ビット環境でプログラムを書いたことのないプログラマにも有用な情報です。 ポインタをint型やlong型変数に代入しない ポインタをint型やlong型変数に代入し、それを操作してはいけません。 アセンブラまたはインラインアセンブラ

    64ビットプログラミングのポイント
  • The UNIX System -- 64bit and Data Size Neutrality

    When the width of one or more of the C data types is changed, applications may be affected in various ways. These effects fall into two main categories: Data objects, such as a structure, defined with one of the 64-bit data types will be different in size from those declared in an identical way on a 16 or 32-bit system. Common assumptions about the relationships between the fundamental data types

  • 1