Skip to main content
Up and Coming
February 15, 2016

Scripting like webvr?

I know Carmack worked on a scripting language but seems to have abandoned it for the time being.

I've seen three.js / webvr, which is cool but a bit juddery unfortunately and not very performant.

Any other good, high performance alternatives?

    3 replies

    Inspiring
    February 16, 2016
    High Fidelity lets you build worlds with scriptable entities, or run client scripts that allow you to create tools or customize the UI.
    Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action
    Up and Coming
    February 16, 2016
    I recommend luajit: http://luajit.org/ It's as fast as can be and the ffi lets you call directly into any DLL/.so(such as OpenGL).

    Here's a writeup about using it for VR with sample code: http://jimbo00000.github.io/opengl/portable/programming/vr/scripting/2016/01/09/vr-scripting.html
    Up and Coming
    February 16, 2016
    Someone mentioned High Fidelity, but not Second Life? There's also OpenSim. Both use a language called LSL, Linden Scripting Language, to deal with in world objects and stuff. It's a crap language, with more quirks than features.

    I'll also recommend LuaJIT though. Fastest scripting language around, which is one reason why I'm using it for my rewrite of OpenSim. I already have an experimental LSL -> LuaJIT compiler. It compiles several orders of magnitude faster than either SL or OS. I've not benchmarked actual running performance yet, but I expect it to be really fast.