HN2new | past | comments | ask | show | jobs | submitlogin

For embedded use it's probably ok, anywhere C is ok. It statically links the bits of the stdlib you use but dead code elimination seems to work pretty well.

A simple word counting script I just wrote compiles down to about 52k on 64bit OS X.

(Src: https://gist.github.com/tylereaves/7711302)



I also wonder about Nimrod on embedded. The dealbreaker is dynamic memory allocation; if Nimrod does that as a non-negotiable part of its runtime, it can't be used.


It looks like this might rely on the GC. From the description, you can cut that out too if you handle cleanup yourself. Not sure though.


Thanks - but your example is Python code ??


No, it's Nimrod. I set it to python in gist because that's the closest to nimrod for syntax highlighting purposes.

Edit: Apparenetly not...there are alot more modes in there but the UI exposing them is easy to miss




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: