description | Programming language perormance game: C++ Threadring |
homepage URL | http://shootout.alioth.debian.org/u32q/ |
owner | suokkos@gmail.com |
last change | Thu, 25 Jun 2009 18:20:20 +0000 (25 21:20 +0300) |
URL | git://repo.or.cz/threadring.git |
https://repo.or.cz/threadring.git | |
push URL | ssh://repo.or.cz/threadring.git |
https://repo.or.cz/threadring.git (learn more) | |
bundle info | threadring.git downloadable bundles |
content tags |
Here is some work to improve performance of c++ threadring implementation.
I did archive first and second motivations. But 3rd one is still not yet archived. It is possible to write very fast userspace threading using posix or GNU pth but they both are missing scheduler (posix) or scheduler is bad (GNU pth).
I think that best approach to thread ring problem is non-preemptive M:1 threading in core. Start up initialisation could use kernel threads to speed up settup (unless there is static initializers for everything).
Master: g++ 4.4 with -std=c++0x. It doesn't have all the latest fancy code
cpp98_combapility: Latest code that should compile with any recent g++
minimal: Provement that C++ code size can be small too. (Too bad it is pick 2 from small code, small memory foot print and lighting fast)
Thanks for interest.
Pauli
15 years ago | cpp98_combapility | logtree |
15 years ago | minimal | logtree |
15 years ago | master | logtree |