News for hackers. Stuff that matters.
Re:Sustainability with Rust by sirwhinesalot on Saturday February 12, 2022 @04:55PM (#30316918)
The C++ and Swift implementations use a node pool from the Apache Portable Runtime. This benchmark would be a lot more interesting if we got to see the price of C++'s RAII or Swift's reference counting.

The Swift Code looks like something you'd write in C.

Re:Sustainability with Rust by igouy on Sunday February 13, 2022 @04:37PM (#30325932)
> … the price of C++'s RAII…

Like this? (There are 8 other C++ binary trees programs.)

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

> … or Swift's reference counting.

Like this? (There are 4 other Swift binary trees programs.)

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

Re:Sustainability with Rust by igouy on Saturday February 12, 2022 @08:11PM (#30318084)
You could ask the authors to update their study.

You could look at the different binary trees programs shown on the current benchmarks game.