As much as I wanted to see this implemented (because speeeeeed), I doubt it will ever happen.
Disclaimer: Anyone who happens to be better at this matter than me, please correct any inaccuracies you might find - Albeit I know some stuff about C/C++, I can only speculate about how it is used by Roblox to power it’s engine and/or API.
As you can verify, C++ (That’s how engineers make the very Roblox core and API’s) is in a whole different league of Lua, in the sense that:
- It is compiled, not interpreted (basically where it’s speed derives from);
- It is rather at a lower level than most programming languages like Java (A string in C/C++ is an absurdly vague concept, that’s a char array) - hence why I personally call it a mid-level language;
- Not dynamically typed, and other nuances™;
- In the end, it’s not that straightforward enough for younger children (13 years old) to begin with, and that’s why Python is so popular, for example. Not being able to say that my previously number variable is now a string? No way!
So if Roblox was to open their C++ context, a whole new set of questions would arise (which I don’t think that have an easy answer):
- Why having the developers learn two languages for the same task when in the end only one is needed?
- How do we sandbox the C++ context so that malicious developers don’t interact with parts of the API we don’t want them to tamper with? Or can we guarantee they don’t find a way out of the sandbox and run malware on the client’s PC?
- How long would it take to compile the code? Which compiler? What options?
- What would be the style standard to be used?
So basically having this C sided API would require a massive weightlifting from their part, which I guess it’s not worth the time. One could eventually think about employing LuaJIT (basically Lua compiled IIRC), but it’s likely that other issues of their own would arise.