|
|
|
|
|
by throwaway189262
1874 days ago
|
|
Multi threading has zero overhead in normal Java web frameworks. It's thread-per-request so you don't need to worry about thread safety any more than you do in JS. That you didn't know that implies you haven't worked with many Java web frameworks. JS has become a huge language, just as big as Java. So is the runtime, V8 is gigantic, comparable to JVM. I use both every day. Vert.X is nearly identical to Express JS including all the callback stuff. And that's one of the harder Java frameworks to use |
|
As for java frameworks like spring they mostly suck because of way too verbose java syntax and over engineering mentality usually coming with any java framework.
Also i never said express js is a great example of web framework.
But i know for sure that i can spin up simple crud with db, tests and some logic behind it in less than hour in rails.
While java devs still arguing about “right” architecture.