Re:Generating a Java program with 90% less code
by ReverseCold on Wednesday December 04, 2019 @11:31AM
(#21703612)
This is potentially a bad example, but the current "fastest" web frameworks as per the techempower benchmarks are all Java.
Re:Generating a Java program with 90% less code
by Yessing on Wednesday December 04, 2019 @12:12PM
(#21704123)
I'm not familiar with it, do you mean this one? https://www.techempower.com/benchmarks/
Rust, C, and Go appear to be on the top.
Re:Generating a Java program with 90% less code
by ReverseCold on Wednesday December 04, 2019 @06:41PM
(#21708375)
Sorted by full stack frameworks only: https://www.techempower.com/benchmarks/#section=data-r18&hw=...
Re:Generating a Java program with 90% less code
by pkroll on Wednesday December 04, 2019 @11:38AM
(#21703702)
They're not: C++ and Rust have winners for some of the tests.
Re:Generating a Java program with 90% less code
by floriol on Wednesday December 04, 2019 @01:02PM
(#21704891)
Of course you can write more performant code with lower-level languages, though there is a reason that almost no web framework/application is written in them - the additional burden of managing memory outweighs the (actually surprisingly little) performance benefit. If you look at examples on the site, in basically every other benchmark Java and sometimes Go rank the best.
Re:Generating a Java program with 90% less code
by ReverseCold on Wednesday December 04, 2019 @06:40PM
(#21708371)
I should clarify that I sorted by fullstack frameworks with ORMs. Obviously C or C++ can be made faster.
Too late to edit now though.
to what baseline are you comparing it to?