Discussion:
tightest final code?
(too old to reply)
raould
2009-06-18 00:05:34 UTC
Permalink
hi,

any thoughts / experience on which mostly-non-imperative programming
language produces the smallest total executable code, generally, hand-
wavingly, speaking?

thanks.
Paul Rubin
2009-06-18 04:47:11 UTC
Permalink
Post by raould
any thoughts / experience on which mostly-non-imperative programming
language produces the smallest total executable code, generally, hand-
wavingly, speaking?
If you're asking that in a practical context, you might look at
Hedgehog Lisp. It's a small bytecoded functional lisp dialect
intended for embedded platforms. The bytecode interpreter is around
20kb including generational gc, persistent maps, and some other nice
stuff.
raould
2009-06-22 23:42:25 UTC
Permalink
Post by Paul Rubin
If you're asking that in a practical context, you might look at
Hedgehog Lisp. It's a small bytecoded functional lisp dialect
intended for embedded platforms. The bytecode interpreter is around
20kb including generational gc, persistent maps, and some other nice
stuff.
thanks!

hm, now where have i heard about hedgehog before... :-)

(i have looked at the site, but i haven't gotten around to actually
playing with the system. also, i would love a more statically typed
language, so if the ml front-end for hedgehog comes out that would be
very nifty.)

sincerely.
Jon Harrop
2009-06-24 04:15:51 UTC
Permalink
Post by raould
any thoughts / experience on which mostly-non-imperative programming
language produces the smallest total executable code, generally, hand-
wavingly, speaking?
I wrote a WPF GUI application in F# that converts imperial units into metric
units and calculates room sizes (for house hunting!) that compiles to only
10kb. Depends what you mean by "total" though...
--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?u
Continue reading on narkive:
Loading...