digitalmars.D.announce - Photon v0.10.2 with shutdown fix
- Dmitry Olshansky (15/15) Oct 14 Photon is a minimalistic multi-threaded fiber scheduler and event
- Dmitry Olshansky (3/19) Oct 14 https://code.dlang.org/packages/photon
Photon is a minimalistic multi-threaded fiber scheduler and event loop that works transparently with traditional blocking I/O C/C++/D/Rust libraries w/o degrading performance. Think of it as Golang style concurrency that is brought to D transparently. All Linux/OSX versions of Photon up to v0.10.0 had a bug in creation of event loop thread, by mistake thread_id was overwritten by error code of pthread_create. Some libc use pointers as tid therefore causing prompt crash on exit, others (glibc) failed harmlessly. Thanks to the Russian D language community for bringing up the issue. --- Dmitry Olshansky CEO [Glow Labs](https://glow-labs.pro) https://olshansky.me/about/
Oct 14
On Monday, 14 October 2024 at 16:17:29 UTC, Dmitry Olshansky wrote:Photon is a minimalistic multi-threaded fiber scheduler and event loop that works transparently with traditional blocking I/O C/C++/D/Rust libraries w/o degrading performance. Think of it as Golang style concurrency that is brought to D transparently.https://code.dlang.org/packages/photonAll Linux/OSX versions of Photon up to v0.10.0 had a bug in creation of event loop thread, by mistake thread_id was overwritten by error code of pthread_create. Some libc use pointers as tid therefore causing prompt crash on exit, others (glibc) failed harmlessly. Thanks to the Russian D language community for bringing up the issue. --- Dmitry Olshansky CEO [Glow Labs](https://glow-labs.pro) https://olshansky.me/about/
Oct 14