Photon v0.12.1 with 50% faster eventloop

Salih Dincer salihdb at hotmail.com
Sat Aug 2 05:27:04 UTC 2025


On Monday, 28 July 2025 at 20:02:41 UTC, Dmitry Olshansky wrote:
>
> And ofc I forgot the obligatory link:
>
> https://github.com/DmitryOlshansky/photon

Undoubtedly, Photon is a good piece of software, because the 
passing years have taught us a lot. Especially when you mentioned 
its nature, you said that Photon’s nature is dual. I sense that 
you have an interest in physics, and therefore in science, and I 
feel the names were not chosen by coincidence.

We (my colleagues and I) use loops in electronics as well. After 
all, isn’t life itself a loop? I’d like to benefit from Photon 
for microcontrollers too. Let me give an example: when branching 
from the main loop to a subroutine—which can even be another 
microcontroller on a separate PCB—you momentarily step away from 
other tasks, forced by me to do so. In a way, when one 
microcontroller sleeps, the other wakes up and practically takes 
over the operations. It strongly resembles a relay race. You also 
seem to be doing things similar to what we do in electronics. 
After all, threads are almost like independent circuits.

Wishing you success...

SDB at 79




More information about the Digitalmars-d-announce mailing list