Best of Rust2024

  1. 1
    Article
    Avatar of communityCommunity Picks·2y

    Warp: Your terminal, reimagined

    Warp is a new terminal built with Rust, offering a fast and intuitive experience. It includes features like autocompletion, command history navigation, and customizable themes. Users praise its speed, modern UI, and efficient workflows. Warp is currently in early access but has already become a favorite among developers.

  2. 2
    Article
    Avatar of devtoDEV·2y

    Goodbye Electron. Hello Tauri!

    Learn about Tauri, a Rust-powered backend framework paired with a React frontend for creating standalone desktop applications. Discover its advantages, including smaller binary sizes compared to Electron.

  3. 3
    Article
    Avatar of rustdevsRust Developers·2y

    🏆And the winner is...

    Rust has been named the most admired programming language in the Stack Overflow Developer Survey 2024. This announcement has generated excitement among the developer community, leading to discussions on Rust's future impact.

  4. 4
    Video
    Avatar of primeagenThePrimeTime·2y

    Don't Be Loyal To A Company

    Don't be loyal to a company if it's not doing well financially. Look for jobs you really want or need.

  5. 5
    Article
    Avatar of devtoDEV·1y

    I Tried Every Hot Programming Language

    The author compares their experiences working with GoLang, Zig, and Rust through practical projects. They found GoLang easy to learn and reliable, Zig explicit and fast but lacking memory safety, and Rust challenging due to its strict memory rules but ultimately rewarding. The comparison highlights the strengths and weaknesses of each language and concludes that the best choice depends on specific use cases and team preferences.

  6. 6
    Article
    Avatar of rustdevsRust Developers·2y

    Learning Rust - Roadmap resources

    Curated list of resources to learn Rust, covering beginner to advanced levels.

  7. 7
    Video
    Avatar of fireshipFireship·2y

    Mind-bending new programming language for GPUs just dropped...

    A new programming language called Bend promises parallelism and allows code to be run in parallel on both CPU and GPU cores. It eliminates the need to know low-level concepts and offers significant performance improvements.

  8. 8
    Article
    Avatar of communityCommunity Picks·2y

    Encore.ts — 9x faster than Express.js & 3x faster than Bun + Zod

    Encore.ts is an Open Source backend framework for TypeScript, boasting performance numbers 9x faster than Express.js and 3x faster than Bun with Zod. Its architecture leverages a multi-threaded event loop using Rust, and precomputes request schemas to optimize performance. With infrastructure integrations built in Rust, Encore.ts aims to off-load non-business logic from the JavaScript event loop, making backend applications highly optimized for speed and efficiency while maintaining compatibility with Node.js.

  9. 9
    Article
    Avatar of devtoDEV·1y

    I love Rust/Tauri & Svelte

    NeoHtop is a modern task manager for macOS combining terminal-based system monitors with a clean UI. Built with Rust and Tauri for the backend and Svelte for the frontend, its features include real-time process monitoring, CPU/memory tracking, and process management. Challenges included maintaining performance and navigating Apple's certification process. Future plans involve Linux support, additional process management features, and network usage monitoring.

  10. 10
    Video
    Avatar of fireshipFireship·2y

    There’s a fast new code editor in town

    There is a new fast and open-source code editor named Zed that is built in Rust. It offers AI integration and is known for its speed and performance.

  11. 11
    Article
    Avatar of hnHacker News·2y

    flxzt/rnote: Sketch and take handwritten notes.

    Rnote is an open-source, vector-based drawing app designed for sketching, handwritten notes, and document annotation. It features an adaptive UI for stylus input, pressure-sensitive stroke styles, shape creation, content manipulation tools, document import/export in various formats, and customizable backgrounds. Written in Rust and GTK4, it supports multiple platforms with relevant installation instructions and troubleshooting tips. The app is under active development with an unstable file format, prompting occasional downgrades for compatibility.

  12. 12
    Article
    Avatar of communityCommunity Picks·2y

    5 Rust Project Ideas For Absolutely Beginners Devs 🦀

    The post suggests 5 Rust project ideas for beginners that cover topics such as file compression, reading from CSV and JSON files, and writing JSON data. It also recommends following content creators CrabNebula and Francesco Ciulla for learning Rust.

  13. 13
    Article
    Avatar of rich_tech123Tech Pioneers·1y

    End the war once and for all: C++ or Rust

    A C++ developer explores the passionate competition between C++ and Rust communities and seeks advice on whether to switch to Rust or continue with C++, particularly in systems development for game engines, code editors, and operating systems.

  14. 14
    Article
    Avatar of hnHacker News·1y

    Introducing Limbo: A complete rewrite of SQLite in Rust

    Turso has announced Limbo, a complete rewrite of SQLite in Rust, aiming for robust memory safety and modern architecture while maintaining full compatibility with SQLite's language and file format. Limbo leverages deterministic simulation testing for higher reliability and ensures asynchronous operations from the ground up. Initial benchmarks show promising performance improvements, and the project continues to grow with community contributions.

  15. 15
    Article
    Avatar of medium_jsMedium·2y

    I spent 18 months rebuilding my algorithmic trading platform in Rust. I’m filled with regret.

    An experienced developer reflects on his 18-month journey rebuilding an algorithmic trading platform in Rust, expressing profound disappointment. Despite Rust's reputation for speed and safety, the author found its syntax and error handling to be horrendous, leading to significant frustration and regret. Additionally, the Rust community's unhelpful attitude compounded the difficulties. Ultimately, while Rust has its merits, the author suggests that languages like Go may offer a better balance of speed and ease of development.

  16. 16
    Article
    Avatar of rustdevsRust Developers·2y

    Rust is taking over

    Rspack 1.0, a Rust-based JavaScript bundler, is 10 times faster than Webpack and is compatible with most Webpack APIs. It is utilized by major companies such as Microsoft, Amazon, and TikTok, boasting 100k npm downloads per week and usage in 1000 ByteDance apps. Improvements include enhanced performance, compatibility, bundle handling, APIs, and TypeScript support.

  17. 17
    Article
    Avatar of communityCommunity Picks·2y

    Why you should use Rust on the backend

    Rust is becoming an increasingly popular choice for backend web development due to its low memory footprint, efficient concurrency handling, and strong memory safety guarantees. The article provides an example of a Rust web service using Axum and discusses how Rust optimizes for both performance and safety. Major companies like Amazon, Google, and Microsoft are adopting Rust, and its advantages are particularly significant for reducing costs and enhancing security. Additionally, DARPA is transitioning its C codebase to Rust, highlighting the language's growing impact.

  18. 18
    Article
    Avatar of communityCommunity Picks·2y

    How to make your Express.js APIs 9x faster with Encore.ts

    Encore.ts is an open-source backend framework for TypeScript that offers significant performance improvements over Express.js. It features a high-performance Rust runtime and built-in functionalities, making it type-safe and faster. This guide outlines the steps to migrate an Express.js app to Encore.ts using strategies like forklift and full migrations, providing a performance boost and simplifying dependency management.

  19. 19
    Video
    Avatar of primeagenThePrimeTime·2y

    I Spent 18 Months Using Rust And Regret It

    The post discusses the author's regret after rebuilding their algorithmic trading platform in Rust over 18 months. Initially enthusiastic about Rust's safety and purported speed, the author found the language challenging, particularly when dealing with verbose syntax, complex error handling, and async programming. Despite the upsides like speed and concurrency features, the author argues that Rust falls short in user experience and community support compared to other languages. The post suggests that Rust's steep learning curve and intricate error mechanisms make it difficult to write efficient code, especially for complex tasks like trading algorithms.

  20. 20
    Article
    Avatar of communityCommunity Picks·2y

    The Programming Language of the Future?

    Rust is a high-performance and statistically typed programming language that is adored by developers for its speed, security, and memory efficiency. It is a general-purpose language with the potential to influence the future development of websites. Despite its advantages, learning Rust and its ownership of values philosophy may take some time. However, it offers better performance and control over the code. Rust's sluggish compilation speed can be improved with existing guidelines. Reputable companies are already embracing Rust, and it is expected to be one of the most utilized and well-liked programming languages in 2023.

  21. 21
    Article
    Avatar of communityCommunity Picks·2y

    Learning Rust: A clean start

    A web developer shares their journey of learning Rust and highlights the importance of learning in public. The post discusses the installation process, the 'Hello, World!' example, and the introduction of Cargo, Rust's package manager. Lesson 2 covers the creation of a guessing game and introduces concepts such as the 'use' keyword, mutable variables, error handling, and Cargo doc.

  22. 22
    Article
    Avatar of hnHacker News·2y

    QuestDB

    QuestDB is an open-source time-series database with SQL analytics designed to efficiently handle data ingestion and analysis. The post details the development and debugging of a primary-replica replication feature, addressing a performance issue related to excessive network bandwidth usage. The author implemented a custom network profiling tool using Rust to capture and analyze network traffic, identifying the root cause of the problem. The solution involved optimizing how metadata was uploaded, ultimately improving bandwidth efficiency. Techniques used within QuestDB for high ingestion performance were also highlighted.

  23. 23
    Article
    Avatar of collectionsCollections·2y

    Warp: The Fast and Modern Terminal Emulator Built with Rust and AI

    Warp is a fast and modern terminal emulator built with Rust. It offers features like lightning-fast speeds, integrated AI for auto-suggestions and command completion, collaborative capabilities, IDE-style navigation, and block-based command grouping. Now available for Linux distributions!

  24. 24
    Article
    Avatar of devtoDEV·2y

    Soroban by Example

    Soroban by Example is a comprehensive resource aimed at helping developers transition to the Soroban smart contract language using a project-based approach. This resource focuses on making familiar concepts from other languages accessible, providing an interactive documentation explorer, and using AI to generate customized contract variants. Despite initial challenges, the team developed several supportive tools, including a custom GPT model and an integrated playground. Future plans include a monorepo, multilingual support, and potential consultation services within the Soroban ecosystem.

  25. 25
    Article
    Avatar of rustRust·1y

    Announcing Rust 1.82.0

    Rust 1.82.0 introduces several updates including the cargo info command, promotion of macOS on 64-bit ARM to Tier 1, and new use<..> syntax for precise capturing in implementations. The update also provides native syntax for creating raw pointers, stable operations on floating-point constants, and various stabilized APIs. There are changes to pattern matching, unsafe attributes, and extern blocks. The update emphasizes better handling of NaN values and constants as assembly immediates.