Article View: comp.lang.modula2
Article #2526Re: Modula-2, Modula-3, C or C++
From: Stephen E. Halpin
Date: Fri, 22 Sep 1995 15:33
Date: Fri, 22 Sep 1995 15:33
29 lines
1771 bytes
1771 bytes
In article <DF9zLI.43E@avalon.chinalake.navy.mil> Peter P. Eiserloh <Peter_Eyes_Eiserloh@wssagw.chinalake.navy.mil> writes:
<<massive stuff deleted>>
>Shortly we will have compilers where the "int" will be a 64-bit word.
>Then in many cases we will have the same problem we had when we went
>from 16-bit words to 32.
There were C compilers where 'int' was 64-bits and 'short int' was 32-bits
over a decade ago.. There are C compilers where 'char' is 32-bits. If you
start depending on types having specific sizes, or even being able to get
at data of certain sizes with types (ie 16-bit data in either of the above),
then you may find yourself in trouble if you port to a new architecture.
Better than 90% of the code Ive seen in C, C++, etc... has such dependencies.
It gets worse when you have 36-bit or 60-bit machines :->
<<massive stuff deleted>>
>....................................................................
>: Peter "Eyes" Eiserloh
>: None of the opinions expressed here are in any way related those
>: of my employer.
>: Keywords: Linux, Modula-2, Compilers, Esperanto, Physics
-Steve
--
--------------------
When all you own is a hammer, every problem is a nail. Too
many folks grew up with nothing more than a hammer named U**X...
Technical Details
Message-ID:
<43ul12$kqo@regina.seh.codem.com>Path:
arc1-ca.pugleaf.net!news.codem.com!sehReferences:
<BLUME.95Sep20162845@atomic.cs.princeton.edu> <DF993v.GI4@cix.compulink.co.uk> <DF9zLI.43E@avalon.chinalake.navy.mil>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.codem.com!seh From: seh@seh.codem.com (Stephen E. Halpin) Newsgroups: comp.lang.modula2,comp.lang.modula3,comp.lang.c,comp.lang.c++ Subject: Re: Modula-2, Modula-3, C or C++ Date: 22 Sep 1995 15:33:54 GMT Organization: Remote Services Message-ID: <43ul12$kqo@regina.seh.codem.com> References: <BLUME.95Sep20162845@atomic.cs.princeton.edu> <DF993v.GI4@cix.compulink.co.uk> <DF9zLI.43E@avalon.chinalake.navy.mil> NNTP-Posting-Host: regina.seh.codem.com