Re: [fpc-pascal] com port using prolific driver

2011-03-13 Thread Jorge Aldo G. de F. Junior
try synaser, its portable across various O.S. and provides a very modern interface. 2011/3/12 Paul Breneman : > John, > >> I'm trying to get data from a device via a serial (com) port, 9600 baud, >> connected via the prolific cable (serial to usb). This allows one to >> connect >> a serial device

[fpc-pascal] Actor Model implementation in Pascal

2011-03-13 Thread Jorge Aldo G. de F. Junior
This is my attempt at implementing an actor model in freepascal http://code.google.com/p/pascal-actor-model/ This is an very early code. Any help is appreciated. Every communication between thread is done by using messages (wich are itself objects). I am improving the current code a bit so this

Re: [fpc-pascal] Actor Model implementation in Pascal

2011-03-13 Thread Sven Barth
Am 13.03.2011 22:08, schrieb Jorge Aldo G. de F. Junior: This is my attempt at implementing an actor model in freepascal Never heard of "actor model" yet, but I'll read about it ^^ http://code.google.com/p/pascal-actor-model/ This is an very early code. Any help is appreciated. Every commu

Re: [fpc-pascal] Actor Model implementation in Pascal

2011-03-13 Thread Jorge Aldo G. de F. Junior
yes, its a kind of message passing. but mine is in native pascal and i have no intention of making bindings for other languages... its wayyy simpler than mpich too. you just pass TObjects back and forth from threads. (I understand that TCustomMessage is way too restrictive, so i am planing to de

Re: [fpc-pascal] Actor Model implementation in Pascal

2011-03-13 Thread Sven Barth
Am 13.03.2011 22:30, schrieb Jorge Aldo G. de F. Junior: yes, its a kind of message passing. but mine is in native pascal and i have no intention of making bindings for other languages... its wayyy simpler than mpich too. you just pass TObjects back and forth from threads. (I understand that T

Re: [fpc-pascal] Actor Model implementation in Pascal

2011-03-13 Thread Jorge Aldo G. de F. Junior
the actor model can accelerate tasks that would be dealt with in singlethreaded fashion... lets suppose that your program needs to read 8 files at the same time, pre-process them, and use their data. you can write an actor that opens the file and pre-process it in your main thread (the program i