5 ms·
Oh, there is another way to code with JS on the server side? Something else besides node?
by atemerev 4y ago
Oh, there is another way to code with JS on the server side? Something else besides node?
- mattlondon 4y agoTry http://deno.land http://deno.land - think of it as sequel to node (written by same guy who created node, aiming to fix mistakes of the past - e.g. deno does not use NPM)
- krapp 4y agoDon't code with JS on the server side at all. There's no real advantage to having JS both on the server and in the client, and there are plenty of alternatives that actually support the features Typescript and the like pretend exist in JS, but really don't.
- jhgb 4y agoThat sounds like that should have started with "Don't code with Typescript on the server side at all" instead. If Typescript is pretending things unsuccessfully, you might as well stick with plain Javascript. (It wouldn't surprise me if Javascript ultimately lived longer, just like Smalltalk actually outlived Strongtalk in the end.)
- jhgb 4y agoDeno, as someone mentioned. Also, Civetweb embeds Duktape. Also, txiki.js embeds QuickJS. So there's at least three other options with varying features. You should try Deno first, though.