73
WikiLambda, backend for Wikifunctions, rewrites itself from Node.js (!!) to Rust
(www.wikifunctions.org)
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Community icon from opensource.org, but we are not affiliated with them.
Somehow, it feels horrifying to use something that high-level for the backend, especially when MediaWiki has so much PHP and the WMF has so many PHP programmers. Maybe my adolescent arse is getting old...
Oh PHP is hands down one of the slowest languages out there. It's just convenient because it's easy to host, but it's awful to use and it's really slow.
Here, have a chart:
In this chart, where the benchmark is calculating digits of π, Java is faster than JS, but there are cases where it's the opposite.
https://github.com/niklas-heer/speed-comparison?tab=readme-ov-file
Calculating the digits of pi seems like a poor benchmark for comparing various languages in the context of backend web application performance. Even the GitHub readme points out the benchmark is entirely focused on floating point performance.
Absolutely, it's just one aspect of it, benchmarks are always narrow in scope. Some languages may be good at some things and worse at others.