On Friday, 19 September 2025 at 16:29:11 UTC, Dmitry Olshansky
wrote:
I’m dying to know which application not being cpu bound still
needs to pass data between tasks that are all running on a
single thread.
TLS is fine for using not thread safe library - just make sure
you initialize it for all threads. I do not switch or otherwise
play dirty tricks with TLS.
Either of default kind of rob user of control of where the task
spawns. Which is sensible a user shouldn’t really care.
There we differ, not only load balancing is simpler within a
single application but also processes are more expansive.
Current D GC situation kind of sucks on multithreaded workloads
but that is the only reason to go multiprocess IMHO.
I'm dying to see some statistics to show which approach is more
performant in different scenarios.
- vibe.d-lite v... Dmitry Olshansky via Digitalmars-d-announce
- Re: vibe... Steven Schveighoffer via Digitalmars-d-announce
- Re: ... Dmitry Olshansky via Digitalmars-d-announce
- Re: vibe... Sönke Ludwig via Digitalmars-d-announce
- Re: ... Dmitry Olshansky via Digitalmars-d-announce
- ... Sönke Ludwig via Digitalmars-d-announce
- ... Dmitry Olshansky via Digitalmars-d-announce
- ... Sönke Ludwig via Digitalmars-d-announce
- ... Dmitry Olshansky via Digitalmars-d-announce
- ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce
- ... IchorDev via Digitalmars-d-announce
- Re: vibe... Hipreme via Digitalmars-d-announce