News for hackers. Stuff that matters.
Re:Principles for Fast Tokio Applications by 5ersi on Monday September 14, 2026 @04:17PM (#49703311)
For a true high performance you should use thread busy-spinning, CPU pinning and SPSC/MPSC ring buffers.
Re:Principles for Fast Tokio Applications by VorpalWay on Monday September 14, 2026 @04:47PM (#49703763)
It all depends on what you are doing. I do embedded with strict realtime requirements. CPU pinning would not be an option. I have also done software that should use as little resources as possible (but still be quick) to coexist with other software on the same hardware.

All of these are different, valid, meanings of high performance. You need context. An interactive IDE is yet another thing that needs to be high performance in yet another way.

Re:Principles for Fast Tokio Applications by mahboi on Monday September 14, 2026 @07:47PM (#49705822)
Also, using 100% CPU without a good reason can cause thermal throttling that makes it slower for the sections that actually need 100% CPU
Re:Principles for Fast Tokio Applications by HackerThemAll on Tuesday September 15, 2026 @05:19AM (#49709833)
Spinning is covered in the article.