On 02/12/14 1:45 PM, Holm Tiffe wrote:
...
C is much like Assembler, you should know what you really want todo. The
comiler let you do all kind of things with the assumption that you know what
you are doing. This is a programming language for system programming
purposes (written to write Unix) where you have to load unusual registers
and such things...
Less than 5% of the *kernel* is at that level, and NONE of userland. The
rest needs as much static checking as it can get (which is where C and
"worse is better" entirely fails people doing "systems programming").
Viz: Thousands of CERT notices.
--Toby
How about this:
A = (int64_t)B << 32;
Regards,
Holm