top | item 21174033

(no title)

baszalmstra | 6 years ago

LuaJIT performance on PC is very fast when its using the JIT. However, on consoles and some mobile platforms JITing is not allowed due to not being allowed to write to executable memory for security reasons.

Mun compiles to machine code with LLVM so it should be very fast as well, hotloading overhead can be completely removed in builds where hotloading is not required (production builds for instance). Mun should therefor be able to run as fast as native code on all platforms.

discuss

order

gravypod|6 years ago

Since Mun targets LLVM could it also be output to WASM to be using in-browser for HTML5 builds?

baszalmstra|6 years ago

In theory yes, but we have to look into that some more. At this point we only target Windows, MacOS and Linux but WASM is definitely on our list.