Re:Java at 30: The Genius Behind the Code That Changed Tech
by surajrmal on Saturday May 17, 2025 @11:25AM
(#44014986)
Note that the mpsc queue in the rust stdlib is also a clone of crossbeam and therefore also lockless.
Re:Java at 30: The Genius Behind the Code That Changed Tech
by saagarjha on Sunday May 18, 2025 @04:59AM
(#44019974)
Oh, interesting. Ok I take back my claim then.
Re:Java at 30: The Genius Behind the Code That Changed Tech
by yubblegum on Sunday May 18, 2025 @11:00AM
(#44021874)
> One very common queue implementation you can use to implement actors is the crossbeam-deque
I can't find any references to a "crossbeam dequeue" outside of Rust sources. Is this a neologism for a "very common" pattern, or just very common in Rust?
Re:Java at 30: The Genius Behind the Code That Changed Tech
by steveklabnik on Sunday May 18, 2025 @12:26PM
(#44022476)
crossbeam is a package name. It would be like googling “Nokogiri XML” and only getting Ruby results.
The generic name is just Deque. https://en.wikipedia.org/wiki/Double-ended_queue
https://github.com/crossbeam-rs/crossbeam/blob/master/crossb...