Show HN: uThreads – Concurrent User Threads in C and C++
samanbarghi.com
Show HN: uThreads – Concurrent User Threads in C and C++
1–10 of 64 posts
Re: Show HN: uThreads – Concurrent User Threads in C and C++
#2Does anyone know how it compares?
Re: Show HN: uThreads – Concurrent User Threads in C and C++
#3Interesting, I've recently been looking for a user level threading package in C/C++. I ended up settling on lthreads: http://lthread.readthedocs.io/en/latest/intro.html Does anyone know how it compares?
Re: Show HN: uThreads – Concurrent User Threads in C and C++
#4Interesting, I've recently been looking for a user level threading package in C/C++. I ended up settling on lthreads: http://lthread.readthedocs.io/en/latest/intro.html Does anyone know how it compares?
Re: Show HN: uThreads – Concurrent User Threads in C and C++
#5Re: Show HN: uThreads – Concurrent User Threads in C and C++
#6Unsolicited suggestion - while benchmarks and the motivation are important for a threading library, a code snippet of a simple parallel program on the home page would be something that I'd love to see.
Great job, though!
Re: Show HN: uThreads – Concurrent User Threads in C and C++
#7This looks super interesting! I've been working on a Raytracer in C++ and I was recently looking into a threading library which I can use to parallelize the rendering. Surely going to try this out in the coming weekend. Unsolicited suggestion - while benchmarks and the motivation are important for a threading library, a code snippet of a simple parallel program on the home page would be something that I'd love to see…
Re: Show HN: uThreads – Concurrent User Threads in C and C++
#8This looks super interesting! I've been working on a Raytracer in C++ and I was recently looking into a threading library which I can use to parallelize the rendering. Surely going to try this out in the coming weekend. Unsolicited suggestion - while benchmarks and the motivation are important for a threading library, a code snippet of a simple parallel program on the home page would be something that I'd love to see…
Thanks! good point; now that I look at the page, there is not a single sample code in there. I'll update it soon.
Re: Show HN: uThreads – Concurrent User Threads in C and C++
#98KiB stacks are a bit on the small side though for production usage. Go gets away with this because they're stacks act more like Vectors then flat arrays.
Why did you decided to roll your own stack swapping software instead of using say using `boost::context`?
Re: Show HN: uThreads – Concurrent User Threads in C and C++
#10Impressive. 8KiB stacks are a bit on the small side though for production usage. Go gets away with this because they're stacks act more like Vectors then flat arrays. Why did you decided to roll your own stack swapping software instead of using say using `boost::context`?