Best of RustJune 2023

  1. 1
    Article
    Avatar of pointerPointer·3y

    Making Python 100x faster with less than 100 lines of Rust

    A while ago at $work, we had a performance issue with one of our core Python libraries. We had to make our system at least 50 times faster to handle the increased workload. The key difficulty (performance wise) is this mix of Python objects and numpy arrays. We are going to analyze this in depth in a minute.

  2. 2
    Article
    Avatar of itnextITNEXT·3y

    Scaling Trillions of Messages: Discord’s Journey from Cassandra to SyllaDB with Rust-Powered Solutions

    Scaling Trillions of Messages: Discord’s Journey from Cassandra to SyllaDB with Rust-Powered Solutions. The existing database system, Cassandra, struggled with hot partitions, causing slowdowns and hindering performance. By, Discord had transitioned to Cassandra, employing a cluster of 12 nodes to store billions of messages.

  3. 3
    Article
    Avatar of builderiobuilder.io·3y

    The Dev Drop: Hydration is a Tree, Visual Guides for Next.js App Router & Layouts, and lots of RSC news

    The StackOverflow 2023 Developer Survey has published their results from almost 90K respondents. Rspack v0.2.0 was released. It’s a Webpack alternative, written in Rust.

  4. 4
    Article
    Avatar of itnextITNEXT·3y

    How i created a query language for .git files (GQL)

    How i created a query language for.git files (GQL) GQL is aquery language with a syntax very similar to SQL with a tiny engine to perform queries on. git files. The engine has the functionality to deal with.

  5. 5
    Article
    Avatar of linuxhandbookLinux Handbook·3y

    Using Autocomplete in Vim

    Since version 8.2 of Vim, there has been built-in support for auto-completion. Vim will auto-complete it for you as soon as you press the key combination. The previous completion method that we looked at was rather basic.

  6. 6
    Article
    Avatar of pointerPointer·3y

    zigzap/zap: blazingly fast backends in zig

    Zigzap/zap: blazingly fast backends in zig ⚡ zap Zap is intended to become the zig replacement for the kind of REST APIs I used to write in python with Flask and mongodb. Zap wraps and patches facil.io - the C web application framework.

  7. 7
    Article
    Avatar of communityCommunity Picks·3y

    Rust 101: Write, Build, and Debug Your First Program

    Installing Rust Rust can be installed from the official website using rustup, a command-line tool for managing Rust versions and associated tools. The installation also includes cargo, Rust's package manager, and other essential tools.

  8. 8
    Article
    Avatar of communityCommunity Picks·3y

    How a Single Line of Code Made a 24-core Server Slower Than a Laptop

    How a Single Line of Code Made a 24-core Server Slower Than a Laptop. Piotr Kołaczkowski wrote a program for a pleasingly parallel problem, where each thread does its own independent piece of work, and the threads don't need to coordinate except joining the results at the end.

  9. 9
    Article
    Avatar of infoworldInfoWorld·3y

    Rust language gets new governance

    The Rust Leadership Council will assume responsibility for top-level governance concerns. The change follows some disgruntlement in the Rust community over the project’s leadership and governance. There has been some community dissatisfaction with Rust project leadership lately, with one result being a fork of the language.