News for hackers. Stuff that matters.

Quarr

Re:“Clean” Code, Horrible Performance on Tuesday February 28, 2023 @05:27PM (#34975825)
This is definitely not something that should be overlooked. Choosing a more mathematically optimal algorithm might be 2-3x faster in theory (at the cost of more complexity). If you're executing that algorithm a lot, to the point where a 3x speedup is significant, well -- if you can restructure the code in a manner similar to that demonstrated in the article (avoiding costly vtable dispatches, indirection, etc) and achieve a 25x with the original simpler algorithm, then that's something worth taking into consideration. A 3x algorithmic improvement is only impressive if there isn't 25x potential speedup low-hanging fruit (from simply not writing your code in a moronic way in the first place).
Re:Windows 11 could run on Linux on Wednesday September 18, 2019 @06:27AM (#21003845)
On the other hand, in my experience WINE runs older Windows apps better than my modern Windows 10 install does. Most things ~pre-2005 run really well, especially games which just refuse to boot on modern Windows (or require compatibility patches).
Re:Cosmoteer: A starship design, simulation, and battle game on Wednesday September 18, 2019 @06:04AM (#21003728)
The Steam hardware survey suggests fewer than 2% of users are on non-64-bit OSes. There are more Mac users (~3%) than 32 bit users.

https://store.steampowered.com/hwsurvey/Steam-Hardware-Softw...