savi-lang / savi

A fast language for programmers who are passionate about their craft.
BSD 3-Clause "New" or "Revised" License
153 stars 12 forks source link

"Blocking" FFI actors run as separate scheduler threads #458

Open mneumann opened 1 year ago

mneumann commented 1 year ago
mneumann commented 1 year ago

Dunno if Pony uses some optimizations related to the number of scheduler threads, which is fixed to the number of CPUs. Allowing to dynamically create new scheduler threads might be difficult in Pony...

One could go with a fixed number of FFI schedulers in the runtime. But this clearly is not ideal.