Hacker Newsnew | past | comments | ask | show | jobs | submit | thement's commentslogin

This pretty much sums up my experience.


The problem with "lack of classes" is that every non-trivial program makes its own implementation of something-like-classes, but built on top of metatables.

So before you can start hacking on anything in Lua, you have to first understand the class system, which may or may not be documented.


And I avoid such code. Not everything has to be OO.


You can use functional versions which compile to Lua code, like Fennel https://fennel-lang.org/


I even managed to get Lua built on z/OS mainframe! The productivity gains were *amazing* (compared to REXX).


Can you quantify this and link to the implementation?


I did similar synth reverse-engineering of DS-10 synth from Korg for Nintendo DS, so not much desoldering involved :-) The goal was to get it running as a VST plugin, but ARM emulation wasn't fast enough, so I wrote a static-JIT decompiler and decompiled the synth portion of the code into C instructions (see "c-code.h").

The result is here: https://github.com/thement/ds10-vst

And the project log here: http://ibawizard.net/~thement/ds10rev.html (sorry for the missing pictures, they got lost when I moved servers)


That's a very cool project, kudos on the stamina, that must have taken you a really long time. And thanks for the reminder the fix the pictures on my own blog, exact same story.


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

Search: