2 ms·
Oh just that it made me confront ABIs. I have a special purpose use case (home automation), so I wasn’t worried about general purpose compilation, just the subs
by clbrmbr 2mo ago
Oh just that it made me confront ABIs. I have a special purpose use case (home automation), so I wasn’t worried about general purpose compilation, just the subset of lua that fable tends to write for the prompt we use.
I have no idea how it’s implemented. Lua goes in, position-independent dependency-free xTensa LX7 code comes out the other. Maybe I should read the code?
It’s extremely fast. 3kB of lua becomes 1kB of machine code. I’ll have to get a blog post together on it.