News for hackers. Stuff that matters.
Re:Nimrod: A new approach to metaprogramming by TylerE on Friday November 29, 2013 @03:12PM (#6820829)
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)

Re:Nimrod: A new approach to metaprogramming by flyinglizard on Friday November 29, 2013 @07:46PM (#6821705)
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.
Re:Nimrod: A new approach to metaprogramming by jamesaguilar on Saturday November 30, 2013 @08:17AM (#6823060)
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.
Re:Nimrod: A new approach to metaprogramming by progman on Friday November 29, 2013 @03:29PM (#6820896)
Thanks - but your example is Python code ??
Re:Nimrod: A new approach to metaprogramming by TylerE on Friday November 29, 2013 @03:33PM (#6820916)
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