Live data from Hacker News

Which is the fastest web framework?

github.com

1–10 of 22 posts

Re: Which is the fastest web framework?

#4
What is crystal? And where are Java & C++? Also, who the hell writes web frameworks in Objective-C?

Also... does anyone notice that this test shows that the web framework hosted under the same github account is the fastest.

edit: re: "What is crystal?"

https://github.com/crystal-lang/crystal ... I will say, I'm intrigued. I do love ruby, but unfortunately also hate dynamic typing. Crystal seems interesting.

Re: Which is the fastest web framework?

#7
post #4

What is crystal? And where are Java & C++? Also, who the hell writes web frameworks in Objective-C? Also... does anyone notice that this test shows that the web framework hosted under the same github account is the fastest. edit: re: "What is crystal?" https://github.com/crystal-lang/crystal ... I will say, I'm intrigued. I do love ruby, but unfortunately also hate dynamic typing. Crystal seems interesting.

> Also... does anyone notice that this test shows that the web framework hosted under the same github account is the fastest.

That does seem suspicious. On the other hand, that's precisely the party that would have the most incentive to publicize the results of the tests...

Re: Which is the fastest web framework?

#9
post #5

For Rust, this benchmark tests Nickel, Iron, and Rocket; all of which are synchronous. Async really helps here!

Why? I looked at the code, it doesn't really do anything with the request, shouldn't be blocking any threads or anything.

It's not in the program itself, it's in the frameworks. That is, the way the frameworks handle the HTTP requests uses blocking IO.

There are other frameworks that are non-blocking; they just didn't include them. To be fair, Iron and Nickel are the old guard of frameworks, and Rocket is one of the new, hyped ones, but they don't use any async stuff. This isn't so much blaming the benchmark as it is adding context!

Re: Which is the fastest web framework?

#10
post #4

What is crystal? And where are Java & C++? Also, who the hell writes web frameworks in Objective-C? Also... does anyone notice that this test shows that the web framework hosted under the same github account is the fastest. edit: re: "What is crystal?" https://github.com/crystal-lang/crystal ... I will say, I'm intrigued. I do love ruby, but unfortunately also hate dynamic typing. Crystal seems interesting.

Crystal is a relatively newer language aimed to combine Ruby's syntax with the speed of C per it's project page [1].

[1]: https://crystal-lang.org/

Post reply on HN