Re:Leveraging Rust in our high-performance Java database
by duped on Wednesday September 20, 2023 @11:06AM
(#37585137)
I use it professionally and can't disagree more with this statement.
[ Parent
| on HN ]
Re:Leveraging Rust in our high-performance Java database
by shpongled on Wednesday September 20, 2023 @11:29AM
(#37585449)
I also use it professionally, for both web apps and HPC algorithms.
Are there some things faster to write in python? Sure. But I find the mental overhead is significantly less (for me) in Rust, and overall dev time is about equal, since I typically hit far fewer bugs and spend less time reading docs in Rust. I can't remember the last time I hit a footgun in Rust. Seems I hit one every week in python
Re:Leveraging Rust in our high-performance Java database
by duped on Thursday September 21, 2023 @11:54PM
(#37607637)
I work a lot on async code with data structures that need interior mutability and it's kind of a pathological case for borrow checking. Everything is effectively wrapped in Arc<RwLock<_>> which adds a bunch of noise to method implementations.