4 ms·
Interesting. I wonder what the complexity cost in the runtime and C FFI limitations arising from it are in Crystal - these seem to be the main reason most langu
by fulafel 6y ago
Interesting. I wonder what the complexity cost in the runtime and C FFI limitations arising from it are in Crystal - these seem to be the main reason most languages don't do it (weighed against the benefit over normal OS threads which are also pretty lightweight).
edit: there seem to be some clues about FFI effects in this case of the PG connection library: https://forum.crystal-lang.org/t/issue-with-crashes-hangs-with-fibers-channel-and-pg-db/3003 https://forum.crystal-lang.org/t/issue-with-crashes-hangs-wi...