3 ms·
Hey, hey my story is like yours. My go-to project (ha) is one that I've written in Boost.asio though it was back when C++11 was still C++-0x, but I also switche
by drivebyacct2 14y ago
Hey, hey my story is like yours. My go-to project (ha) is one that I've written in Boost.asio though it was back when C++11 was still C++-0x, but I also switched to Go for the project and saw gains in how easy it was to write efficient code. To be fair, threading is much easier now, but then again, it's still threading...
- songgao 14y agoIt's not essentially threads since multiple goroutines are mapped onto one thread (or more if set). It feels like threading but you could just use it as much as you need since it doesn't bring as much overhead as a thread :-) Check this out: http://en.munknex.net/2011/12/golang-goroutines-performance.html http://en.munknex.net/2011/12/golang-goroutines-performance....
- drivebyacct2 14y agoSorry, that was my point. The new concurrency stuff in C++11 still isn't the same as go's goroutines. Certainly my application would not work very well if a goroutine mapped to a thread. :o
- songgao 14y agoAha, I got you now :-)