Hacker News new | ask | show | jobs
by vdaniuk 4070 days ago
Okay, Nim is really fast in these benchmarks on ec2 servers, impressive.

Does anyone has experience with nim web stack? Is it ready for prime time? How much effort is required to create a simple CRUD json api?

On a sidenote I am really looking forward to comparing rust and elixir results in the next round of benchmarks.

3 comments

It's getting there fast. We still need some niceties like hot code reload for the server, but experiments like [0] are on the way. I'd love to see Rust and Elixir perform well too for the next rounds!

I recommend you to read the nim code used for the benchmark [1] [2] [3] [4], and if you like what you see, to start with the Nim tutorial [5].

[0]: https://github.com/transfuturist/outlet

[1]: https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast... [2]: https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast... [3]: https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast... [4]: https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...

[5]: http://nim-lang.org/tut1.html

Rust and Elixir SHOULD be included in Round 11 - we have already accepted a pull request for the Phoenix framework (Elixir) and have had a pull request for Rust when it was in alpha. Hopefully, we will see another Rust pull request soon.
Pleased to hear that, thanks for doing the benchmarks!
thx for the suggestion