my unoptimized new VM in #ocaml really beat Lua5.4, while only 9% slower than #LuaJIT 🤣
All of my previous VMs in #Rust can't be that fast too.
#Zig is still fastest option, only %15 slower than #FASM.
Speed in order :
FASM < Zig < LLVM < Odin < Rust < LuaJIT < my VM < Lua.
blog.cloudflare.com/20-perce… From this point on, FL was implemented using #NGINX, the #OpenResty framework, and #LuaJIT.
And it is true that this stack, while not perfect, allows one to implement crazy ideas quickly and put them in production. Too bad it doesn't scale.
Well Manage to refine the code a bit. It took a bit more longer to deal with. github.com/Lightnet/luajit_f…#luajit#flecs as went to review thinking some logic behind the code.
Learn some good and bad things. Just a lot of reading the codes. #grok3 trying to get the #luajit with #FLECS#ecs with c struct component work. knowing that it need to cast type checks. AI Model cool down.
After thinking of the pros and cons. It time to rework it. As leave the github repo there for now. #SDL3#vulkan#luajit I wanted to more stable and control way to handle render stuff. github.com/Lightnet/sdl3_vul…
Did think it be not easy to port as more layers of the code is not easy task. #LuaJit and #vulkan to handle render. Still it just a prototype build. But shouldn't rush it. As it feel bad or something. But good learning experience. #grokAImodel#grokaigithub.com/Lightnet/sdl3_vul…