LWN.net Logo

Pettenò: Debunking x32 myths

Pettenò: Debunking x32 myths

Posted Jun 27, 2012 8:38 UTC (Wed) by dgm (subscriber, #49227)
In reply to: Pettenò: Debunking x32 myths by slashdot
Parent article: Pettenò: Debunking x32 myths

> The mistake was introducing the "char", "short", "int" and "long" keywords in C without specifying their meaning.

There was a reason for that. The intention was that they mapped cleanly to the word sizes of the underlaying architecture.

> despite the fact that there is no way to write a portable, correct and fast programs in such a language.

Absurd. C was invented for exactly that. The original UNIX code was written in PDP-7 assembly (a 18-bit machine), and later rewritten in C and ported to the PDP-11 (a 16-bit one). The first C version of UNIX was portable, correct _and_ fast. And all that in a newborn language that would be considered "crude" compared to today's C.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds