3 ms·
> I was with you when you said command lines, but servers? JS is a fine choice for servers. This statement is the reason we're all having to use Electron appli
by WirelessGigabit 3y ago
> I was with you when you said command lines, but servers? JS is a fine choice for servers.
This statement is the reason we're all having to use Electron applications.
The amount of tooling that you need to use to surround your JavaScript code to make it somewhat correct is insane.
You're using a dynamic language. There is literally a whole slew of bugs that you cannot detect until you actually run the code.
You do get those things with Rust.
Getting Rust (same like when I used F#) to compile is hard.
But claiming that that is the reason JavaScript is faster is actually a reflection of not understanding what this compilation does for you.
- Capricorn2481 3y ago> But claiming that that is the reason JavaScript is faster is actually a reflection of not understanding what this compilation does for you. I didn't even kind of say this. Rust is complicated for reasons beyond compilation. I actually like F# and strong type systems. > The amount of tooling that you need to use to surround your JavaScript code to make it somewhat correct is insane. There's no practical evidence of this, it's just a feeling you have. Big systems are built in dynamic languages fine. > This statement is the reason we're all having to use Electron applications. How is "JS is fine for servers" the reason you have to use Electron apps? Pick a topic. I am not overapplying JS > You're using a dynamic language. There is literally a whole slew of bugs that you cannot detect until you actually run the code. If you're using Rust, you're introducing a whole slew of bugs that you cannot detect unless you compile the code, and that you wouldn't run into in a GC language. And you're potentially doing it for no benefit because you don't understand servers aren't typically CPU bound.