Do you Luvit?
-
(In General as I am not sure that this is actually a WTF)
A Lua based reimplementation of NodeJS. Same API, but a somewhat saner language choice.
-
-
@sloosecannon said in Do you Luvit?:
@brisingraerowing said in Do you Luvit?:
saner language choice.
Is it though? Is it really?
Grass is always greener on the other side...
-
@sloosecannon said in Do you Luvit?:
Is it though? Is it really?
I'm kinda fond of Lua, but, yeah, this is a valid question. It has a bunch of quirks that are ... unfortunate (define variables global by default). OTOH local variables are have scope that correspond to the current block (body of function/if/for/...), which I prefer over the JS and Python way.
Oh, and the 1-based indexing is $@£€%&.
-
@sloosecannon said in Do you Luvit?:
@brisingraerowing said in Do you Luvit?:
saner language choice.
Is it though? Is it really?
Isn't LUA that language that starts arrays at index 1?
yeah. Javascript may have a lot of bad points, but at least it starts counting from 0 like every other proper language.
-
The question remains: do we really need a package manager for each language?
-
@anonymous234 said in Do you Luvit?:
The question remains: do we really need a package manager for each language?
Not in .NET land: there, there's one package manager for all of .NET, regardless of language.
-
@anonymous234 said in Do you Luvit?:
The question remains: do we really need a package manager for each language?
Nah, alternatively, would could have multiple package managers for each language.
-
@raceprouk said in Do you Luvit?:
@anonymous234 said in Do you Luvit?:
The question remains: do we really need a package manager for each language?
Not in .NET land: there, there's one package manager for all of .NET, regardless of language.
That just shows that .NET is not hip enough to have a new one invented every other week.
Filed under: .NET is DEAD. OMG DEAD!!!!!111!!
-
I guess it beats having bindings to Lua in regular Node.
var MyLua = require('node-luajit'); var lua = new MyLua(); lua.doString('print("hello world") return "rettest"',function(err,ret){ console.log('dostring ret:',err,ret) });
-
@raceprouk It's almost like you don't need to completely rewrite the entire software stack (standard libraries, runtime, package manager, HTTP server) just to support a slightly different programming language.