I work with people who prefer Node.js and want to convert everything to Node.
Node has lots of flaws. I just was debugging an issue where Chai 5.x is incompatible with TypeScript and this issue (https://github.com/TypeStrong/ts-node/issues/1514) where TypeScript apparently doesn't have full proper support for ECMAScript modules yet.
Another neegative of Node is the the async/await system. This used to be a big selling point of Node, but today, Go+Java have a much better concurrency model that offers both runtime speed and development simplicity.
Lastly, for new project setup speed, popular Java frameworks like Spring Boot, Quarkus, Helidon all have fast new project setup options.
I chose Go for comparison, not Node, because, I generally think that's the better option. I still like Node, btw, and I'd be happy working on a Node team.
I've just finished an internal CLI tool written with Java 22, Micronaut and PicoCLI compiled with GraalVM for 3 different platforms. Startup time is instant. You'd think it was written in C/Rust/Go :)
View all comments
Show parent comment
11
u/Joram2 Jun 10 '24
I work with people who prefer Node.js and want to convert everything to Node.
Node has lots of flaws. I just was debugging an issue where Chai 5.x is incompatible with TypeScript and this issue (https://github.com/TypeStrong/ts-node/issues/1514) where TypeScript apparently doesn't have full proper support for ECMAScript modules yet.
Another neegative of Node is the the async/await system. This used to be a big selling point of Node, but today, Go+Java have a much better concurrency model that offers both runtime speed and development simplicity.
Lastly, for new project setup speed, popular Java frameworks like Spring Boot, Quarkus, Helidon all have fast new project setup options.
I chose Go for comparison, not Node, because, I generally think that's the better option. I still like Node, btw, and I'd be happy working on a Node team.