davidgiven / wordgrinder

A word processor which gets the hell out of your way and lets you get some work done.
http://cowlark.com/wordgrinder
979 stars 61 forks source link

Port from Lua to Luau. #231

Closed davidgiven closed 1 year ago

davidgiven commented 1 year ago

Luau is a Lua dialect which has optional strong timing, which I desperately want. See http://luau-lang.org.

matu3ba commented 1 year ago

Out of curiousity: How performant is luau? They closed my issue asking about meaningful benchmarks https://github.com/Roblox/luau/issues/112 and other strong contenders provide benchmarks (https://github.com/fubark/cyber/issues/6).

The website is also not going into the 2 main problems of vms the luajit remake describes (also luajit author) and how they solved them: 1. how to reliably get the computed gotos for the fastpath and 2. optimizations along function and suspension points for the fastpath.

davidgiven commented 1 year ago

Stock Lua was always fast enough for me --- previously, I did support running on LuaJIT and on really slow machines it did make a difference, but it was only marginal. I haven't really gone looking for changes with Luau; I'm primarily interested in the type checking system rather than performance. But I certainly haven't noticed any performance differences.