Tango Conference 2008 - MiniD talk by by Jarrett Billingsley.

Jarrett Billingsley jarrett.billingsley at gmail.com
Thu Oct 9 17:02:14 PDT 2008


On Thu, Oct 9, 2008 at 6:49 PM, Robert Fraser
<fraserofthenight at gmail.com> wrote:
> Peter Modzelewski wrote:
>>
>>
>> http://petermodzelewski.blogspot.com/2008/10/tango-conference-2008-minid-talk-video.html
>> slides: http://team0xf.com/conference/minid.pdf
>> Enjoy! :)
>
> Does MiniD support multiple OS threads or only fibers (for multicore
> processors, etc.)?

The language itself is not designed to be multithreaded and the
interpreter has not been designed with any consideration for it.
However, as long as only one system thread is using a MDVM object at
any given time, it should be fine, as the library is completely
reentrant and depends on no global state.  In that case, you can just
use normal synchronization on the VM and it should work.  Or, you
know, create multiple VMs and make a MiniD library to allow multiple
threads to communicate/spawn new VMs/whatever.


More information about the Digitalmars-d-announce mailing list