M
Modular4mo ago
Jon

multi-thread / async synchronization primitives?

atomics have made it to stdlib, but how about things like Mutex, RWLock, Semaphore?
4 Replies
Darin Simmons
Darin Simmons3mo ago
I think mojo has taken a (slightly) different approach. Chris Lattner with commentary by Jack Clayton addressess the differences and similarites between C++/Rust and mojo in this deep dive. https://www.youtube.com/watch?v=9ag0fPMmYPQ
Modular
YouTube
Mojo🔥: a deep dive on ownership with Chris Lattner
Learn everything you need to know about ownership in Mojo, a deep dive with Modular CEO Chris Lattner If you have any questions make sure to join our friendly discord community: https://modul.ar/discord If you're ready to get started with Mojo, check out the programming manual and installation guide: https://modul.ar/mojo-get-started 0:00 Moj...
Darin Simmons
Darin Simmons3mo ago
The ownership part starts at 8:07 though I encourage you to watch the first part if you have time as there are some broad differences that are addressed in the beginning
Darkmatter
Darkmatter3mo ago
Most of those will lean fairly heavily on the borrow checker for correctness, so I’m not sure if it’s a good idea to implement them before the borrow checker works.
Melody Daniel
Melody Daniel3mo ago
Yup. Everything that is important to have will be added in due time, when it's fundamental building block is ready.
Want results from more Discord servers?
Add your server