Hello!
On Tue, Nov 4, 2014 at 7:39 AM, Brian Akins wrote:
> I thought the js announcement was interesting as well. I wonder why they
> didn't just decide to make ngx_lua "official."
Well, it is just that Igor Sysoev likes JS more than Lua :)
I was told at the conference that some special versions of Nginx
company's Nginx Plus already compiles ngx_lua in by default.
> If they have some API
> compatibility with node,
No, the API will not be compatible with NodeJS at all, as far as I can
see. Igor Sysoev explicitly told me at the nginx conference that he
would make the API "synchronously nonblocking", similar to ngx_lua's.
It appears that he hates "callback hell" as well ;)
Igor is writing the JS interpreter from scratch (yes, that's been his
style). He has had no faith in V8 IMHO anyway. I saw his code at the
conference a couple of weeks ago and it was still very incomplete: no
JS arrays, no JS exceptions, no regexes, no GC, no I/O, no JIT
compiler (well, for this, Igor had no plans to add one). Still a long
way to go but he seems to be having fun implementing languages :)
Anyway, I personally welcome such parallel efforts. It's always good
to have more things to compare with and even to learn from, from the
engineering perspective :)
Regards,
-agentzh