Wednesday, April 26, 2017

Digest for comp.programming.threads@googlegroups.com - 3 updates in 2 topics

rami17 <rami17@rami17.net>: Apr 25 05:03PM -0400

Hello,
 
 
I have come to an interesting subject...
 
Is my Object coroutines library still useful ?
 
Can threads do the same job as coroutines ?
 
I think that coroutines are still useful because a lock or a cache-line
transfer is expensive on threads running on multicores, a cache-line
transfer is around 400 CPU cycles on x86 , and that's too much expensive
compared to coroutines, and the semaphore and mutex of my coroutines
library and the contention on them are thus much much less expensive,
other than that coroutines can yield to other functions or procedures
inside a function or procedure, so i think that coroutines are thus
still useful.
 
My Object oriented Stackful coroutines library was updated..
 
Now i have rendered it completly stackful for both 32 bit and 64 bit
Delphi and FreePascal.
 
And it's portable to both Windows and MacOSX.
 
And I think it is portable to Linux, just compile it on Delphi Tokyo for
Linux.
 
You can download my new version from:
 
https://sites.google.com/site/aminer68/object-oriented-stackful-coroutines-library-for-delphi-and-freepascal
 
Thank you,
Amine Moulay Ramdane.
rami17 <rami17@rami17.net>: Apr 25 05:04PM -0400

Hello...
 
 
I have come to an interesting subject...
 
Is my Object coroutines library still useful ?
 
Can threads do the same job as coroutines ?
 
I think that coroutines are still useful because a lock or a cache-line
transfer is expensive on threads running on multicores, a cache-line
transfer is around 400 CPU cycles on x86 , and that's too much expensive
compared to coroutines, and the semaphore and mutex of my coroutines
library and the contention on them are thus much much less expensive,
other than that coroutines can yield to other functions or procedures
inside a function or procedure, so i think that coroutines are thus
still useful.
 
My Object oriented Stackful coroutines library was updated..
 
Now i have rendered it completly stackful for both 32 bit and 64 bit
Delphi and FreePascal.
 
And it's portable to both Windows and MacOSX.
 
And I think it is portable to Linux, just compile it on Delphi Tokyo for
Linux.
 
You can download my new version from:
 
https://sites.google.com/site/aminer68/object-oriented-stackful-coroutines-library-for-delphi-and-freepascal
 
Thank you,
Amine Moulay Ramdane.
rami17 <rami17@rami17.net>: Apr 25 04:22PM -0400

Hello,
 
My Object oriented Stackful coroutines library was updated..
 
Now i have rendered it completly stackfull for both 32 bit and 64 bit
Delphi and FreePascal.
 
And it's portable to both Windows and MacOSX.
 
You can download my new version from:
 
https://sites.google.com/site/aminer68/object-oriented-stackful-coroutines-library-for-delphi-and-freepascal
 
Thank you,
Amine Moulay Ramdane.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.programming.threads+unsubscribe@googlegroups.com.

No comments: