News for hackers. Stuff that matters.
Re:First Impressions of the Rust Programming Language by jcelerier on Saturday June 09, 2018 @08:10AM (#17272631)
A simple pattern I follow for C++ concurrency is to have each thread run an event loop and use https://github.com/cameron314/concurrentqueue as `concurrentqueue<std::function<void()>` for execution of code in the other thread ; I don't remember getting threading problems by doing like this as long as any shared resource either outlives both threads or is in a shared_ptr of sorts.
Re:First Impressions of the Rust Programming Language by mcguire on Saturday June 09, 2018 @10:09AM (#17273091)
Can I interest you in some Pony?

https://www.ponylang.org/

Re:First Impressions of the Rust Programming Language by mpartel on Saturday June 09, 2018 @11:35AM (#17273511)
I found "The list of reference capabilities" at https://tutorial.ponylang.org/capabilities/reference-capabil... especially interesting to compare with Rust's borrow checker.