JarvyJ / rayimg

rayimg is a commandline Raspberry Pi image viewer
GNU Affero General Public License v3.0
1 stars 0 forks source link

Rewrite using LuaJIT #10

Open JarvyJ opened 4 days ago

JarvyJ commented 4 days ago

Current problems

Potential Fixes with golang

Potential Fixes with LuaJIT

Issues with LuaJIT

Final Thoughts

I started this project in an attempt to learn golang, but I think the heavy reliance on c/c++ libraries and running on an embedded system made this the wrong choice. I think the biggest win in switching to LuaJIT is easy testing on device, very easy to create bindings to shared libraries, and [likely] better memory management on device.

It seems a little odd switching when rayimg basically works and does what we need. The arguments are a little weak, but I'm thinking about future features and integrations with more c libraries, compilation (and thus development) will only get slower.