Best of RustSeptember 2023

  1. 1
    Article
    Avatar of communityCommunity Picks·3y

    Rust Vs Go: A Hands-On Comparison

    This article compares Rust and Go in terms of web development and discusses the benefits of using Rust for web services. It covers the differences in syntax, web ecosystems, handling web tasks, concurrency models, and more. The article also explores the use of databases, middleware, and templates in both languages. While Go provides a batteries-included development environment and is great for quick start-ups, Rust offers long-term benefits with its robust type system, error handling mechanisms, and compile-time checks. Rust, in combination with Shuttle for deployment, can provide a fast and extensible solution for web development.

  2. 2
    Article
    Avatar of rusttrendsRust Trends·3y

    Rust 101: The Best Learning Resources Compiled

    26 - Rust 101: The Best Learning Resources Compiled Master Rust with top free resources. We've handpicked tutorials, courses, and guides that will help you master everything from the basics to the intricacies of Rust programming. Get started with Rustlings, a collection of small exercises to get you familiar with Rust's syntax.

  3. 3
    Article
    Avatar of gcgitconnected·3y

    How Discord Stores Trillions of Messages — Curious Case of System Design

    Discord’s Cassandra cluster exhibited serious performance issues that required increasing amounts of effort to just maintain, not improve. In 2017, the Discord team ran 12 Cassandra nodes, storing billions of messages. They migrated their data to ScyllaDB because they were looking for a database that was scalable and fault-tolerant.

  4. 4
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    Rust Project – Create an Authentication Server

    Rust Project is designed to provide developers with the skills and knowledge they need to implement modern authentication solutions. The Rust programming language is often used for system-level programming, emphasizing safety, concurrency, and performance. The course offers a step-by-step guide to understanding and implementing user authentication in Rust.

  5. 5
    Article
    Avatar of medium_jsMedium·3y

    Go Fiber vs Rust: Performance comparison for JWT verify and MySQL query

    Go Fiber vs Rust: Performance comparison for JWT verify and MySQL query. Fiber, built on the foundation of fasthttp, shows promising potential for superior performance compared to Gin. In prior tests, Gin outperformed Rust for this particular use case. With Fiber, we anticipate even more impressive results.

  6. 6
    Article
    Avatar of newstackThe New Stack·3y

    How to Write Your Own Email Server in Rust

    The result of this small personal hackathon is edgemail, an open source disposable email server. In this post, you’ll see how to write and deploy one yourself. In order to not go out of storage, old mail will be cleaned up periodically.

  7. 7
    Article
    Avatar of earthlyEarthly·3y

    Building APIs with Rust Rocket and Diesel

    Learn how to build APIs with Rust using the Rocket web framework and Diesel library. This tutorial covers the setup of Rust, Rocket, and Diesel, as well as the CRUD operations for a REST API.

  8. 8
    Article
    Avatar of mattrickardMatt Rickard·3y

    TypeScript Type System Hacks

    TypeScript's type system is Turing Complete. You can model algebraic data types (unions, intersections, tuples, conditional types, mapped types, and more. In TS 4.1, template literal types were introduced, making it easy to do string manipulation within the type system.

  9. 9
    Article
    Avatar of jetbrainsJetBrains·3y

    Introducing RustRover – A Standalone Rust IDE by JetBrains

    JetBrains is launching RustRover - A Standalone Rust IDE by JetBrains. The plugin will be free during Public Preview, and the license model will be finalized closer to the date of the commercial release.RustRover can be installed as a plugin in IntelliJ IDEA Ultimate.

  10. 10
    Article
    Avatar of communityCommunity Picks·3y

    Unlocking the Power of Native Modules in JavaScript: An Introductory Guide

    This article explores the concept of native modules in JavaScript, highlighting their differences from JavaScript modules, their performance benefits, and real-world applications. Native modules are extensions for Node.js that allow the execution of lower-level code written in languages like C++ or Rust. They offer performance benefits, access to low-level APIs, and are useful in applications such as data science, machine learning, video and audio processing, and gaming backends.

  11. 11
    Article
    Avatar of itnextITNEXT·3y

    Rust: The joy of safe zero-copy parsers

    Rust: The joy of safe zero-copy parsers is a technique that can transform data into structured information. The code is quite simple, with the primitive value (header) and the pointer to the array of chars (payload) being moved into the struct.