News for hackers. Stuff that matters.
Re:Web Framework Benchmarks by saosebastiao on Thursday June 07, 2018 @01:27PM (#17258044)
I find it very frustrating that Scala, a language that is entirely capable of running just as fast as Java, is full of frameworks that are relatively slow compared to the java frameworks. It has to be some sort of fixation on reinventing everything from scratch in order to fit into some idealized idiomatic scala way (ignoring the fact that there are a million different versions of "idiomatic" in the scala community). Even the Play Framework, which used to be based on Netty and was pretty damn fast, ended up spending entire release cycles focused on migrating to an akka-based backend and they ended up with shittier performance and now they have to maintain two backends because nobody wants anything to do with their new akka backend.

Sometimes mutability and imperative code are okay, even in scala.

Re:Web Framework Benchmarks by KajMagnus on Sunday June 10, 2018 @03:16AM (#17276996)
Do you have in mind these benchmarks?:

    play2-scala-slick-ne  60,588  14.3%
    play2-scala-slick     60,400  14.2%
("-ne" = netty, the other is Akka)

There's not that much difference? Or did the Netty version, get slower, because of refactorings done to support Akka?

Anyway I too feel frustrated that the Scala / Play Framework developers don't seem to focus so much on performance, but rather (it seems to me) on writing theoretically beautiful Scala code? I'd rather have something fast & simple like Vert.x, in Scala

Well, there's Vert.x + Scala, "only" 70 stars: https://github.com/vert-x3/vertx-lang-scala thugh. I wonder how Vert.x + Scala compares with Vert.x + Java, would have been really interesting to include in the benchmarks :- )

I suggested incl Vert.x & Scala in the benchmarks: https://groups.google.com/forum/?fromgroups=#!topic/framewor...