[Haskell-cafe] mine sockets lib vs yesod
mikolaj at well-typed.com
Mon Sep 27 10:17:10 UTC 2021
> I guess that if I port it to Haskell purely from CPP, I won’t have problems with copyright?
I will retain exactly the same copyright it had. To get rid of the old
copyright, you'd need to clean-room re-implement it (you yell ideas
from another room and somebody implements them in Haskell not having
seen the CPP code beforehand).
> if using -threaded performance is *worse*.
This is normal. You trade performance for the ability to pre-empt
(e.g., not get stuck on blocking FFI).
More information about the Haskell-Cafe