News for hackers. Stuff that matters.
Re:Gravity – An embeddable programming language by SlowRobotAhead on Friday June 22, 2018 @11:46AM (#17374883)
Ok, find me a Lua compiler for my ARM Coretx M4 that can spool up its VM on my chip, run my C functions natively, and takes less than 30k ROM.

There is a difference here where 1/2 people something iphone can run, and the other half want something that would run on a small 32bit.

I want a scripting VM with an FFI. Lua while supposed to be able to do that just isn’t supported by anyone for that purpose.

Re:Gravity – An embeddable programming language by chillingeffect on Friday June 22, 2018 @02:40PM (#17376279)
I think you might be served by elua, embedded lua. I haven't used it myself, but it looks pretty active.

https://github.com/elua/elua

P.s. the cortex m4 is awesome!

Re:Gravity – An embeddable programming language by SlowRobotAhead on Friday June 22, 2018 @02:52PM (#17376400)
eLua is dead though. Shot itself by trying to be a C replacement. If an embedded Lang for embedded micro has system headers to allow you to stay in the embedded Lang - it’s not going anywhere.