DmitryOlshansky / photon

Photon - an experimental transparent Fiber scheduler and event-loop for DLang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generalize beyond D language

belm0 opened this issue · comments

I wonder if it's possible to keep Photon's syscall hooks and scheduling machinery general, so for example it could be used with Lua (coroutines), etc.

It seems a challenge for Photon will be robustness and completeness in the face of supporting many platforms and C library cases. So widening the audience may help.

@belm0 Yes and yes! That’s the plan going forward.

Indeed Photon should become betterC compatible. Even right now it doesn’t rely on DRuntime save for Thread and Fiber class, Mutex/CondVar.

While I want to have Windows version “complete” first and solve other issues. I believe that Photon should also have small C API and be easily usable from plain C and any other language