News for hackers. Stuff that matters.
Re:Leveraging Rust in our high-performance Java database by jabradoodle on Wednesday September 20, 2023 @08:39AM (#37583396)
It's not that uncommon of move, to choose jumping through hoops with Java over writing C.

Might become less common now Rust is teaching the level it is.

Re:Leveraging Rust in our high-performance Java database by cmrdporcupine on Wednesday September 20, 2023 @09:35AM (#37583931)
Having worked on writing DB internals in both Rust and in other languages, I can say that there's huge time-saving advantages to having something higher-level & garbage collected at the layer of the query parser/analyzer/compiler. The borrowing/ownership semantics can get really snaky when dealing with complicated expression trees, iteration patterns, etc.

(And while Rust's enum-based algebraic types & pattern matching are nice, they're actually fairly limited when compared to what you can find in e.g. Scala or F#, Haskell, etc.)