DEV Community

Discussion on: Is the pain worth the gain? Writing webapps in C (Benchmarks vs Flask and Nodejs)

Collapse
 
jmfayard profile image
Jean-Michel 🕵🏻‍♂️ Fayard • Edited

Except that:

  • we have no idea whether those benchmarks would be representative of our actual bottlenecks - if anything, i would assume they aren't
  • security issues that comes with writing in C probably overcome any benefit
  • the cost of hosting is almost always trivial compared to the salary of good developers, so you are probably optimizing the wrong thing if switching to a lower level makes your team 2% or more less productive & happy

For example hosting Ruby is definitely more expensive than most other languages, it still does not matter at all in the grand scheme of things

==> m.signalvnoise.com/only-15-of-the-...

Collapse
 
pavelloz profile image
Paweł Kowalski

There are also hobby projects where all those things dont matter much ;)

Collapse
 
jmfayard profile image
Jean-Michel 🕵🏻‍♂️ Fayard • Edited

How do you manage to have heavy loads for your hobby projects, impressive 😛?

Thread Thread
 
pavelloz profile image
Paweł Kowalski

Hobby projects dont have heavy loads, i would say ;) They are just about having fun.

Collapse
 
wickdchromosome profile image
Bence Kotis

Of course, I never intended this to be a be all end all benchmark(as I said in the final notes, it is rather simplistic), I just figured these results might be of some interest to other people.
Those are interesting points, especially about the costs of hosting with Ruby. Thanks for reading!

Collapse
 
jmfayard profile image
Jean-Michel 🕵🏻‍♂️ Fayard

Fair enough.
I think benchmarks should be used by library and framework authors to improve their software.
As app developers, we should mostly care only about how good the API & documentation & community is.