Leveraging Rust in our high-performance Java database

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • QuestDB

    QuestDB is an open source time-series database for fast ingest and SQL queries

    QuestDB engineer here:

    It's true that our non-idiomatic Java usage denies us some of the benefits typically associated with Java programming. Automatic memory management and the old "Write Once, Run Anywhere" paradigm are difficult to maintain due to our reliance on native libraries and manual memory management.

    I see two classes of reasons for choosing Java:

    1. Historical: The QuestDB codebase predates Rust. According to Wikipedia, the initial Rust release was in 2015. The oldest commit in the QuestDB repo is from 2014: https://github.com/questdb/questdb/commit/95b8095427c4e2c781... What were the options back in 2014? C++? Too complicated. C? Too low-level. Pretty much anything else? Either too slow or too exotic.

    2. Technical: Java, even without GC or WORA, still offers some advantage.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • rust-maven-plugin

    Build Rust Cargo crates within a Java Maven Project

    The rust-maven-plugin we wrote indeed also supports JNA for these simple use cases.

    https://github.com/questdb/rust-maven-plugin

    Compared with JNA, JNI is indeed more complex, but it's faster and has more features. It also solves the problem of calling Java from Rust.

  • Graal

    GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Live Objects All the Way Down: Removing the Barriers Between Apps and VMs

    1 project | news.ycombinator.com | 8 Jan 2024
  • Crash report and loading time

    1 project | /r/fabricmc | 15 Nov 2023
  • A JVM in Rust part 5 – Executing instructions

    4 projects | news.ycombinator.com | 28 Aug 2023
  • Rust Positively Sucks [video]

    1 project | news.ycombinator.com | 1 Aug 2023
  • How can I integrate a Svelte(Kit?) frontend on a Spring Boot application?

    3 projects | /r/sveltejs | 27 May 2023

Did you konow that Java is
the 8th most popular programming language
based on number of metions?