[jhc] [Haskell-cafe] [Rejected Paper] Experience Report: Writing NetBSD Sound Drivers in Haskell

John Meacham john at repetae.net
Tue Jun 10 11:28:16 UTC 2014


Ah. I think I see what you mean by reentrant in your paper. Can you
point me to your context switching code in ajhc?

Is SMP a concern for you or are you mainly concerned about hardware interrupts?

On Tue, Jun 10, 2014 at 4:26 AM, John Meacham <john at repetae.net> wrote:
> Hmm.. what were you thinking of in terms of how it would change the API?
>
> By reentrant do you mean you want C functions that were called by
> haskell to be able to call back into haskell again? what is the issue
> with the context that is stowed.  or are you talking about
> SMP/lightweight threads?
>
>
>
> On Tue, Jun 10, 2014 at 4:19 AM, Kiwamu Okabe <kiwamu at debian.or.jp> wrote:
>> Hi John,
>>
>> On Tue, Jun 10, 2014 at 7:55 PM, John Meacham <john at repetae.net> wrote:
>>> Oooh. and you documented jhc's RTS while you were at it. that is great :)
>>
>> BTW.
>> How do you think about jgc having multiple "arena" with the context?
>> It can realize reentrant GC on jhc.
>> Of cause, I know you feel bad about the cost initializing jgc every
>> call C=>Haskell.
>>
>> Do you have some idea for the multiple "arena"?
>>
>> Best regards,
>> --
>> Kiwamu Okabe at METASEPI DESIGN
>
>
>
> --
> John Meacham - http://notanumber.net/



-- 
John Meacham - http://notanumber.net/


More information about the jhc mailing list