3 ms·
Have you looked into lua? It's a good embedded scripting language. http://www.lua.org/ http://www.lua.org/
by kqr2 16y ago
Have you looked into lua? It's a good embedded scripting language.
http://www.lua.org/ http://www.lua.org/
- pygy_ 16y agoEspecially, for x86 and x64, where you can use LuaJIT. LuaJIT2 is still in beta, but it is already very stable. Performance-wise, it is comparable to Haskell and Java. http://luajit.org/ http://luajit.org/
- nitrogen 16y agoAre there any plans to port LuaJIT to ARM or LLVM? I see a couple of posts mentioning slow FP performance on ARM, but that could be solved with a technique like that used by LNUM.
- joeyo 16y agoThere is sponsorship for a PPC LuaJIT port (targeting embedded systems, I believe) and Mike Pall has expressed interest in an ARM port in the past, but I don't know what the status of that is.
- nitrogen 16y agoPPC LuaJIT sounds like it would be useful in console games (Why did the big three consoles switch to PPC just as Macs switched to Intel, anyway?).
- pygy_ 16y agoThe LLVM IR is too low level. It loses some context necessary to get the performance of the tailored JIT written by Mike Pall. There is a separate effort to write a JIT complier for Lua on top of the LLVM, but the performance is not as good as LuaJIT, and reaching such a level will be very complex, (assuming it's possible).
- pjscott 16y agoAlso, the language itself is pleasant and straightforward. If you know other modern programming languages, Lua shouldn't be too surprising.