B
B
beem72021-04-14 06:49:49
Database
beem7, 2021-04-14 06:49:49

Why are there stored procedures in tarantool\redis, if not in SQL, then in Lua?

In any case, this Lua is just "nailed" to the first one, and no one has ever even considered the possibility of applying something else there. (Or considered?)

Well, why didn't they consider several languages ​​for stored procedures at once, this can still be understood somehow. Kind of a monstrous complication. Ok, let 1 language.

But why did they stop at Lua. Why is it better than JavaScript, or at least Python? Few people know him, but there are many differences in him, even out of the blue you can run into something that is nowhere else at all. For example, ~=- it turns out to be simple !=. Mdaaa ... Even Pascal <>- and that is clearer.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2021-04-14
@beem7

Because the Lua interpreter is very small and lightweight, but it has a JIT compiler and high performance, and it is much easier to embed than any other language interpreter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question