LuaJIT maintainer's take on Apple/Clang
1–10 of 27 posts
Re: LuaJIT maintainer's take on Apple/Clang
#2Re: LuaJIT maintainer's take on Apple/Clang
#3Re: LuaJIT maintainer's take on Apple/Clang
#4Re: LuaJIT maintainer's take on Apple/Clang
#5Re: LuaJIT maintainer's take on Apple/Clang
#6Re: LuaJIT maintainer's take on Apple/Clang
#7So all ARM processors that Apple uses have the real hardware floating point and LuaJit (which is a very cool engineering feat) which is supposed to speed up the execution of the Lua scripts still uses the "soft-only" calls. How much that slows down LuaJit? I guess the "soft calls" can be redirected to the pure hardware instructions? How big is the speed penalty vs. using the hardware directly?
The bigger problem with iOS (and other mobile devices) is that due to sandboxing, JIT is not allowed. Even then though, without JIT, luajit has a very fast interpretter (roughly x3-x4 faster than reference lua, and x2-x3 faster than other commercial lua offerings), but then FFI is somewhat slower (interpretter mode).
Re: LuaJIT maintainer's take on Apple/Clang
#8This is 6 months old on a version of XCode that is now two versions out of date. Is there a reason it's being brought up now?
Re: LuaJIT maintainer's take on Apple/Clang
#9So all ARM processors that Apple uses have the real hardware floating point and LuaJit (which is a very cool engineering feat) which is supposed to speed up the execution of the Lua scripts still uses the "soft-only" calls. How much that slows down LuaJit? I guess the "soft calls" can be redirected to the pure hardware instructions? How big is the speed penalty vs. using the hardware directly?
Work on VFP and hard-float EABI (armhf) is already in progress and will be available soon.
Re: LuaJIT maintainer's take on Apple/Clang
#10In other words, it's not Linux, and it sounds like the LuaJIT maintainer is annoyed that it doesn't follow a common approach used on Linux.
Anyone that works on low-level implementations that sit below the standard platform compiler should expect this kind of thing when supporting multiple platforms.
Source: http://developer.apple.com/library/ios/#documentation/Xcode/...