Re:Multi-model database ArangoDB 2.5 with built-in JavaScrip...
by vasquque on Wednesday March 18, 2015 @09:15AM
(#9225180)
Why do programmers databases with JavaScript? Lua is more embedded language than JavaScript. http://www.aerospike.com/ http://redis.io http://tarantool.org use LUA and it more powerful and easy to use as procedures.
[ Parent
| on HN ]
Re:Multi-model database ArangoDB 2.5 with built-in JavaScrip...
by lojack on Wednesday March 18, 2015 @09:24AM
(#9225234)
> JavaScript for all: no language zoo, you can use one language from your browser to your back-end
Javascript is the only language native to the browser.
Re:Multi-model database ArangoDB 2.5 with built-in JavaScrip...
by vasquque on Wednesday March 18, 2015 @09:32AM
(#9225286)
Yep. I'm afraid if the operating system will write web developers in JavaScript.
Re:Multi-model database ArangoDB 2.5 with built-in JavaScrip...
by pluma on Wednesday March 18, 2015 @09:25AM
(#9225239)
Lua is a great language, but JavaScript has become something of a "lingua franca" for web development. ArangoDB's API is based on HTTP and JSON, so JavaScript was an obvious choice.
Re:Multi-model database ArangoDB 2.5 with built-in JavaScrip...
by eloff on Wednesday March 18, 2015 @10:36AM
(#9225742)
Lua is a nicer language, but the sheer number of developers who are familiar with JavaScript gives it a huge edge. I suspect that's the driving reason.
Re:Multi-model database ArangoDB 2.5 with built-in JavaScrip...
by pere81 on Wednesday March 18, 2015 @12:02PM
(#9226423)
On the other hand, Lua is much easier to embed into programs. And it is used a lot in games. If I remember correctly, Redis is also using Lua for scripting.
Re:Multi-model database ArangoDB 2.5 with built-in JavaScrip...
by neunhoef on Wednesday March 18, 2015 @12:55PM
(#9226872)
I am surprised that nobody mentions the great performance of Google's V8 engine here...
Re:Multi-model database ArangoDB 2.5 with built-in JavaScrip...
by Gurkenmaster on Wednesday March 18, 2015 @03:18PM
(#9228014)
From what I've heard the author of LuaJIT contributed a lot of performance improvements to V8.
LuaJIT is a blessing and a curse. It's magnitudes faster than the standard interpreter but on the other hand it's version is lagging behind which means a lot of people won't benefit from the latest lua version