Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[ANN] coThreads 0.10
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-09-17 (17:54)
From: Zheng Li <li@p...>
Subject: Re: [ANN] coThreads 0.10
skaller <> writes:
> On Mon, 2007-09-17 at 18:48 +0200, Zheng Li wrote:
>> * The process engine can give you real speedup on multi-core and
>>   multi-processor machines, the networker engine (todo) will give you both
>>   speedup and scalability. 
> I'm curious how this can be possible**.. is this only with the message
> passing model? 
> ** Since Ocaml can't multi-process and neither the compiler
> nor library are modified ..

Well, in order to have semantic consistency among different engines without
modifying standard OCaml itself, shard-memory style concurrency should only be
achieved through the STM module. It's documented in the pitfall pages:

Zheng Li