[Haskell-cafe] mine sockets lib vs yesod
Branimir Maksimovic
branimir.maksimovic at gmail.com
Wed Oct 6 21:29:54 UTC 2021
Oh gosh, my test wasn’t fair. I tested mine on Linux, while yesod on macOS,
and seems that macOS has much weaker tcp stack, as I have found out now…
Greets, Branimir.
> On 27.09.2021., at 12:16, Branimir Maksimovic <branimir.maksimovic at gmail.com> wrote:
>
>
>
>> On 27.09.2021., at 12:13, Mikolaj Konarski <mikolaj.konarski at gmail.com> wrote:
>>
>> Hi Branimir,
>>
>>> 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).
>
> OK.
>
>>
>>> 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).
>>
>> Kind regards,
>> Mikolaj
>
> I will implement it whole in Haskell, in async fashion as it seems with
> current hardware bandwith is saturated with just single CPU/Core.
>
> Greettings, Branimir.
More information about the Haskell-Cafe
mailing list