| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Portability v efficiency |
-=> Adam Fitzpatrick wrote to John Gardeniers about ISO vs K&R <=-
Hi Adam,
JG>One thing I've noticed in the C echos, which I've never come
JG>across elsewhere, is the way the standards are virtually a religion
JG>for some (a few) of you. I'm sure glad nothing like that has ever
JG>happened in assembly language programming. I think it must be born
JG>in mind that the object of writing a program is to acheive a given
JG>result, NOT to stick to any arbitrary standard.
AF> Perhaps it's because C is meant to be portable, and to be portable it
AF> needs quite a degree of compatibility (ie a standard to be
AF> maintained). Assembly stuff is generally machine-specific. The odd
AF> piece of 6502 stuff I've written for the BBC would never work on a C64.
AF> Therefore it's not an issue.
I think the devotion to an arbitrary standard, which is currently under
review anyway, is taken much too far by some programmers. The end result is
invariably fatware, which runs very slowly. Windows is a very good example.
Another thing I find somewhat interesting is the way some programmers
will argue in favour of standards (whatever they may currently be) and then
go ahead and write programs which can only be compiled by a specific make
and model of compiler.
JG>A closing comment: ISO would have me re-calibrate the tacho on
JG>my bike so that it reads in radians per second, going by the last
JG>time I had a look at the standards. I can only assume that my RPM
JG>tacho is an old leftover "K&R" unit :)
AF> Did you have a painful incident involving a standards committee when
AF> you were a child? :) Seriously though, C being standard is a good
AF> thing. Imagine if Basic was _the_ programming language. It's fine if
AF> you only need to use one set of tools on one platform, but otherwise
AF> you're left with quite a bit of work if you need to move from one
AF> environment to another, and even more if you need to use two different
AF> platforms concurrently. C doesn't really have that problem.
My painful incident wasn't at childhood, it's daily. To me two inches
is two inches, no matter how much it may look like 50.8mm. On the other hand,
50mm is 50mm. An electrician can use the same colour of wire for either
active or nuetral, it all depends on several factors. Still, it's all done
to the "standards", even if it can kill the inexperienced.
BTW, using Basic it's always been very easy to port most programs from
one machine to another, yet it's not hogtied by any standards. Haven't we
all done such porting when we first learned Basic?
John
--- FMail/386 1.02
* Origin: Does your bbs carry the Australian Fishing Conference? (3:639/102)SEEN-BY: 50/99 620/243 623/630 632/107 348 360 633/371 634/388 396 635/301 SEEN-BY: 635/502 503 544 639/102 161 251 252 711/409 410 413 430 808 809 932 SEEN-BY: 711/934 712/515 713/888 714/906 800/1 @PATH: 639/102 252 635/503 50/99 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.