News for hackers. Stuff that matters.
Re:Use any web browser as GUI, with Zig in the back end and ... by Xeamek on Monday January 01, 2024 @09:28AM (#38832011)
Synthetic benchmarks for some algorithms have little to do with actual performance of real life applications
Re:Use any web browser as GUI, with Zig in the back end and ... by d3w4s9 on Monday January 01, 2024 @10:37AM (#38832505)
Yeah everyone says that and stops there which is absolutely useless. Benchmarks are at least objective ways to measure something. And there are no "correct" benchmarks. Unless you have better metrics or another way to prove things, please stop repeating these meaningless words
Re:Use any web browser as GUI, with Zig in the back end and ... by Xeamek on Monday January 01, 2024 @10:54AM (#38832677)
I've literally pasted benchmarks measuring actual job (webserver request per second) in a comment below.

But besides, the critique isn't meaningless even without providing a better one; If your benchmark is measuring things that are trivial no matter the language (like stack-based operations), but ignores things that actually differ meaningfully (like handling of heap objects), then criticizing such aproach is perfectly fair and valid objection

Re:Use any web browser as GUI, with Zig in the back end and ... by cuu508 on Monday January 01, 2024 @10:00AM (#38832197)
What method do you propose to compare the performance of different programming languages?
Re:Use any web browser as GUI, with Zig in the back end and ... by Xeamek on Monday January 01, 2024 @10:16AM (#38832319)
While still far from perfect, benchmarks comparing actual, practical usage, like the ammount of request served by webservers for example, are much better indicators imo.

https://web-frameworks-benchmark.netlify.app/result