LWN.net Logo

Why use C?

Why use C?

Posted Jun 30, 2012 1:04 UTC (Sat) by Wol (guest, #4433)
In reply to: Why use C? by dashesy
Parent article: Why learn C? (O'Reilly Radar)

If you're targeting hardware with little ram, use Forth! :-)

Anecdotes again :-) but a competent Forth programmer should be able to produce code that's smaller than the equivalent assembly!

A Forth executable is, by it's very nature, stripped of pretty much all extraneous stuff, and very compact into the bargain. So much so that it's very hard for an assembler programmer to keep their version down so small.

Cheers,
Wol


(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