TOPIC: platform independent fibers -> Stack threads
#1028
platform independent fibers -> Stack threads 2 Years, 10 Months ago
Hi Andrew, in case that you are interested, let me know.
The sources are written in D , so you should have no problems to port it to C++.

The source and the docs;
www.assertfalse.com/projects.shtml
there is also a stack thread tech; doc. avail. HTH
FAQ:
You will find here something about StackThreads vs.Windows fibers.
www.assertfalse.com/articles/stFAQ.shtml

The Tango library fibers module is based on StackThreads.
www.dsource.org/projects/tango/wiki/Features
(part of the Tango D library project)
BSD licence

Okay thats it... edited 4 times
Bjoern

Yep, I'll create the ASpell wrapper in case that my day only has 2 hours more ;)

Post edited by: nana, at: 2007/10/12 17:15

Post edited by: nana, at: 2007/10/12 17:46

Post edited by: nana, at: 2007/10/12 17:49
 
 
#1030
Re:platform independent fibers -> Stack threads 2 Years, 10 Months ago
Looks interesting.

If it could be ported from D to C++ (probably ok unless it uses D specific features) then it might provide an "easy" way to port the existing server code to Linux (without converting it to multi-threaded).

But it still wouldn't take advantage of multiple cpus/cores, which is the main reason I'm looking at multi-threading.
 
 
andrew
 
#1031
Re:platform independent fibers -> Stack threads 2 Years, 10 Months ago
Seems that Suneido becomes more and more an Enterprise Tool.
:ohmy:
Hope we'll see an update this year. Regards Bjoern
 
 
#1032
Re:platform independent fibers -> Stack threads 2 Years, 10 Months ago
Small enterprise maybe, we have a number of customers with 30 or 40 users.

I am working on a release right now - updating documentation, gathering release notes and change log, etc. But if you mean the multi-threaded stuff - that will probably take a while.
 
 
andrew
 
#1035
Re:platform independent fibers -> Stack threads 2 Years, 10 Months ago
andrew wrote:
Looks interesting.

If it could be ported from D to C++ (probably ok unless it uses D specific features) then it might provide an "easy" way to port the existing server code to Linux (without converting it to multi-threaded).

But it still wouldn't take advantage of multiple cpus/cores, which is the main reason I'm looking at multi-threading.


Seems to be some interest in Stack Threads. So in case that someone would like to port the D code into C++ I am willing to help.

The major issue is probabely the use of D delegates, which C++ does not support. But i think that a function pointer work-around should do it.

Bill B.(90 percent) and I are actually working on a porting C++ to D WIKI, (well this is the other way around, but it is certainly also usefull for C++ developers)
www.prowiki.org/wiki4d/wiki.cgi?PortingFromCxx

So if you want to port the D stack thread stuff into C++ do not hesitate to ask for help.
Bjoern

Post edited by: nana, at: 2007/10/17 11:02
 
 
#1036
Re:platform independent fibers -> Stack threads 2 Years, 10 Months ago
Thanks! I will keep it in mind. For me, threads are first.
 
 
andrew