Per chi avesse voglia di #Lua in salsa funzionale, provate a dare un'occhiata a #Fennel (https://fennel-lang.org).
Lo potete provare direttamente sul browser, perché non divertirsi un po'? ;)
#Programming #FunctionalProgramming
P.S. interessante che supporti #LuaJIT e si integri bene con #LOVE2D .
#lua #fennel #programming #functionalprogramming #LuaJIT #love2d
I find that the best way to experiment with new libraries with C API is using LuaJIT FFI. Throw in a bit of ffi-reflect [2] and inspect [3] and it's the perfect REPL combo to try out a new library (let's be honest, code extracted documentation a-la doxygen is rarely a good how-to guide).
[1] https://luajit.org/ext_ffi_tutorial.html
[2] https://github.com/corsix/ffi-reflect
[3] https://github.com/kikito/inspect.lua
#cli #repl #c #api #ffi #LuaJIT
#Lua running on #LuaJIT is just 13% slower compared to native (C++) code! https://github.com/rochus-keller/Smalltalk#a-smalltalk-80-interpreted-virtual-machine-on-luajit
(making bold, out of context claims, am I doing it right? :)