[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: JavaScript to Lua compiler
- From: Josh Simmons <simmons.44@...>
- Date: Mon, 21 Nov 2011 16:59:39 +1100
On Mon, Nov 21, 2011 at 4:39 PM, agentzh <agentzh@gmail.com> wrote:
>
> A big win here will be that JavaScript code that accesses MySQL,
> Redis, and etc. can be written synchronously but run nonblockingly out
> of the box like in Lua because Lua supports coroutines :) Node.js's
> callback nightmare always makes me crazy ;)
>
> Best,
> -agentzh
>
>
I really do not see this happening. Converting one language to another
maybe, but converting a language as well as library usage when said
libraries use wildly different paradigms is unlikely at best. And even
if you did that I would not expect reasonable code to come out of it.