Re: Concurrency

2009-10-10 Thread Alexander Burger
Hi Nik, > I had the intention to learn more about how the concurrency model > in PicoLisp compares to languages like Erlang, Termite (Gambit), > Clojure, Scala etc. OK, I see ;-) This is not well documented yet. The basic model (for the processes on a single machine and operating on

Re: Concurrency

2009-10-10 Thread nitralime
There is obviously a misunderstanding here. I didn't want to compare multiprocessing with thread model as implemented say in Java! Each of them has its merits (advantages and problems). As you surely know there are also other models of concurrency which are "allegedly" more p

Re: Concurrency

2009-10-09 Thread Alexander Burger
On Fri, Oct 09, 2009 at 08:59:43PM +0200, Tomas Hlavaty wrote: > > The (traditional) multiprocessing by forking, shared memory etc. is > > error-prone and not scalable! > > Do you have anything to support this assertion? I would rather disagree > on this. It is more reliable than using threads a

Re: Concurrency

2009-10-09 Thread Doug Snead
--- On Fri, 10/9/09, Tomas Hlavaty wrote:=0A> How many pro= cesses do you need?=A0 I can fork about 500=0A> from one parent=0A> (limite= d by my OS set up).=A0 And because picolisp is,=0A> well, "pico", it=0A> do= esn't take much memory (picolisp uses less that 2MB).=0A=0AAnd if picolisp = is buil

Re: Concurrency

2009-10-09 Thread Tomas Hlavaty
Hi Nik, > The topic of (scalable) concurrency models in the era of multicore PCs > has been of great interest recently in programming language > communities. that's a bit too general description:-) I would say that if your PC has many cores, and your program forks OS processes

Re: Concurrency

2009-10-09 Thread nitralime
The topic of (scalable) concurrency models in the era of multicore PCs has been of great interest recently in programming language communities. I'm just curious about this and would like to know how PicoLisp deals with concurrency. The (traditional) multiprocessing by forking, shared memor

Re: Concurrency

2009-10-09 Thread Tomas Hlavaty
Hi Nik, > I didn't find anything useful about multithreading and > concurrency model in PicoLisp by a quick search in google. > > Does PicoLisp has some sort of built-in concurrency at all? picolisp doesn't do threads but uses processes and ipc instead (see 'fork

Concurrency

2009-10-09 Thread nitralime
Hi folks, I didn't find anything useful about multithreading and concurrency model in PicoLisp by a quick search in google. Does PicoLisp has some sort of built-in concurrency at all? Regards Nik