Advertising (This ad goes away for registered users. You can Login or Register)

[Beta] vita-lua: Easy homebrew development with LuaJIT!

Submit here your entries for the Revitalize Competition. Deadline is September 30th.
Rules can be found here: http://wololo.net/revitalize/
Post Reply
Stary2001
Posts: 3
Joined: Thu Jul 02, 2015 6:00 pm

[Beta] vita-lua: Easy homebrew development with LuaJIT!

Post by Stary2001 » Sat Sep 26, 2015 8:15 pm

One day, I had the idea of porting Lua to the Vita. Then xyz suggested, why not port luajit?
Disclaimer: JIT is NOT supported yet. The LuaJIT interpreter is faster than vanilla Lua in benchmarks, however.

vita-lua uses a slightly different approach to the already existing LuaPlayer: instead of having C shims written for all of the functions, it uses LuaJIT's FFI functionality to bind functions easily and quickly.
There is support for PhysFS (allows easy packaging of resources - an entire app can be inside a single zip file) as well as all of vita2dlib and friends, along with HTTP.
Real sockets (sceNet) are coming Soon™.

vifino is also helping me with this project - many thanks!

Documentation is a bit spotty, but on its way at the github wiki.
Please report any issues on the Github so they can be fixed!
source code: https://github.com/stary2001/vita-lua
Releases: https://github.com/Stary2001/vita-lua/releases (beta2 has the logo!)

There are a few examples at https://github.com/vifino/vita-lua-examples.
Advertising

Post Reply

Return to “Revitalize Competition”