4 ms·
> Now a days the major performance difference between languages is memory handling and allocation. And thread management. > The only thing they've yet to comp
by to11mtm 3y ago
> Now a days the major performance difference between languages is memory handling and allocation.
And thread management.
> The only thing they've yet to completely tackle is memory handling,
And thread management.
Async/Await did a whole lot to help with concurrency, IValueTaskSource and IThreadPoolWorkItem helped bring the allocation cost for that back down...
But I still don't have a good way to, say, hint to the scheduler that 'these async work loops are important enough that I want them to always run in this dedicated group of threads'.
Also, having a way to get high precision Sleep() without hacks that have impact on the rest of the system would be nice too.