Hacker News new | ask | show | jobs
by aliakhtar 4049 days ago
For those who're looking for a full stack framework, I can't recommend GWT enough. GWT lets you write java for both client & server, and then compiles the client code to javascript. This compiled js is highly optimized and your css / images / html templates are bundled together to minimize HTTP requests. On the server side, this lets you use java which is a lot more performant than javascript is.
1 comments

> On the server side, this lets you use java which is a lot more performant than javascript is.

Is it? http://benchmarksgame.alioth.debian.org/u64/javascript.html

Yep: https://www.techempower.com/benchmarks/

Its also fairly obvious that a statically typed / compiled language will have better performance than an interpreted language. Compiler optimizations make a huge difference as well.

Also, even the link you gave shows js being slightly faster in 2 or 3 benchmarks, but for the remaining 4-5, java is significantly faster.