3 ms·
It remains to be seen whether they succeed in producing a decent optimizing compiler and a decent standard library.
by kragen 14y ago
It remains to be seen whether they succeed in producing a decent optimizing compiler and a decent standard library.
- mythz 14y agoThe OMeta project is available to play with now: http://tinlizzie.org/ometa/ http://tinlizzie.org/ometa/ Which also has a JS port http://tinlizzie.org/ometa-js/ http://tinlizzie.org/ometa-js/ so you can create new languages/DSLs and run them in your browser.
- corysama 14y agoAs far as optimizing compiler... Maru might not yet qualify as decent, but it's a good start. http://piumarta.com/software/maru/ http://piumarta.com/software/maru/ "The whole thing is 1750 lines of code (about twice what it should be) and includes a garbage collector and user-level implementations of user-defined types and structures, single-dispatch object-oriented "messaging", and generic "multimethods" (all of which are needed by the compiler). The compiled binary code runs at about 30% the speed of aggressively-optimised C."
- kragen 14y agoMaru (a Lisp) looks awesome! However, unoptimized C runs at about 25% the speed of aggressively-optimized C. The current version of Maru seems to be about 9000 lines of code (almost half the entire complexity budget for STEPS!) I think this reinforces army's original point, "Sure, you can define a lisp interpreter in very few lines of code. But to build a decent standard library and optimizing compiler/JIT, that is where the LOCs rack up."