lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hey all! Mostly to prove this isn't vaporware I put out a very, very
pre-alpha release of flua on http://gcre8.com/flua , under the same
MIT license as Lua. The better address, http://flua.gcre8.com/ should
be working by tomorrow, depending on DNS propagation of course. I'd
like to hear comments on it! I've made some good progress, most
notably moving it to a program counter-based setup instead of
recursive + PC for all functions, which should allow for the eventual
addition of things like coroutines. Sadly the (once beautiful) code is
now a wasteland because of all the optimization, but in this case I
think the speed it worth the sacrifice! I've achieved a more than 10x
improvement from my original time of 12 seconds on the fibonacci code
down to .95 seconds on my macbook pro. I might rollback a couple of
the optimizations that don't do much just to make my life more sane
(especially where I replaced some registers' variables with the direct
bitwise operation, or even worse, repeated the bitwise codes on every
opcode only where it is necessary instead of once all inclusive at the
top of the select switch just to save cycles!)

Anyway, tell me what ya think! I'm still a bit of a noob at the whole
Lua thing specifically but I hope the coding skills and principles
I've worked to build up in other languages will make up for that as
time goes on... Thanks! :)

Jason Neufeld (Phil. 3:12)