D
D
dollar2019-06-01 21:53:07
Programming languages
dollar, 2019-06-01 21:53:07

The fastest scripting language?

Is there an embeddable language as convenient and fast to learn (15-30 minutes) as Lua, but faster in terms of compilation/execution?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
tendkuh, 2019-06-01
@dollar

I heard somewhere that in Lua you can "disable unused features" to "speed it up", maybe this will help you stay on Lua and not be given into the Python suffocation spiral

R
rPman, 2019-06-02
@rPman

The fastest virtual machines are javascript (nodejs) and oddly enough, php, if we are talking about the programming language itself and not about plug-in libraries that can be implemented natively, which means as fast as it is possible in principle.
Only LLVM is faster, it is a whole infrastructure, not only a compiler (there is not even a binding to the programming language), it is difficult to integrate into your software, but the result will be as productive as possible.
Someone will remember java and its bytecode, also an option, then here for a heap of .net virtual machine, only they are not as productive as indicated above.
python is the slowest virtual machine (although there are solutions to speed it up), but the coolest support by the community and libraries. But using it as an embeddable is tricky, especially if protection against exiting the sandbox is important.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question