Best of RustMarch 2025

  1. 1
    Video
    Avatar of fireshipFireship·1y

    TikTok just released its React Native killer…

    ByteDance has released an open-source, multi-platform app development framework called LYNKX, which uses Rust-based tooling and a dual-threaded UI rendering engine. LYNKX aims to surpass React Native and Flutter by offering smoother UIs and faster launch times. It supports native CSS features and allows development in frameworks like Svelte or Vue. Despite its potential, it currently lacks a substantial ecosystem and extensive tooling.

  2. 2
    Article
    Avatar of lobstersLobsters·1y

    SpacetimeDB

    SpacetimeDB combines a relational database and server into one, allowing clients to connect directly to the database and execute logic within it. This eliminates the need for traditional web or game servers, reducing the use of Docker, Kubernetes, VMs, microservices, and extensive ops infrastructure. SpacetimeDB has facilitated the development of the massively multiplayer game BitCraft, handled by a small team, by implementing all backend logic, real-time player positions, and persistent state as a SpacetimeDB module.

  3. 3
    Article
    Avatar of notedNoted·1y

    VoceChat: Self-Hosted, Open-Source Chat Application Built with Rust

    VoceChat is a self-hosted, open-source chat application built with Rust. It offers a secure, private messaging platform with features like end-to-end encryption, automated message deletion, and free desktop and mobile apps. The setup is simple via Docker, making it accessible even for beginners. The free version supports up to 20 users, with a commercial license available for larger user bases.

  4. 4
    Article
    Avatar of hnHacker News·1y

    Effective Rust

    Effective Rust is a book set to release in April 2024, comprising 280 pages. It aims to provide insights and best practices for programming in Rust. The book can be identified with the ISBN 9781098151409 and will be available at various retailers.

  5. 5
    Video
    Avatar of noboilerplateNo Boilerplate·1y

    Rust is the New C

    The post discusses the evolution and significance of the C programming language, highlighting its enduring impact across various applications from the 1970s to today. It draws a parallel with Rust, positioning Rust as the modern successor to C due to its low-level portability, compatibility, and efficiency. The author argues that learning Rust now could offer a similar career stability and flexibility as C did for developers in the past.

  6. 6
    Article
    Avatar of tauriTauri·1y

    Experimental Tauri Verso Integration

    Tauri has introduced an experimental integration of Verso, a browser engine based on Servo, to enhance developer experience and application performance. This integration aims to provide a more efficient, flexible, and Rust-centric webview solution for Tauri applications. Verso simplifies the interaction with the Servo engine through a more ergonomic and higher-level API, making it easier for developers to leverage Servo's capabilities without dealing with its complexities. The new custom runtime, tauri-runtime-verso, supports Tauri's CLI, modern frontend frameworks, official plugins, comprehensive window management, and hot module replacement for an improved development workflow.

  7. 7
    Article
    Avatar of infoworldInfoWorld·1y

    What you need to know about Go, Rust, and Zig

    Go, Rust, and Zig are emerging programming languages each with distinct advantages. Go, known for its simplicity and minimal syntax, excels in network services and standalone applications. Rust prioritizes memory safety and speed, becoming popular in server-side apps and replacing C/C++ in certain scenarios. Zig, a modern alternative to C, focuses on low-level programming with better memory safety features and easier integration with C projects.

  8. 8
    Article
    Avatar of communityCommunity Picks·1y

    Rust vs. Zig: The New Programming Language Battle for Performance

    Rust is a popular programming language known for its memory safety, performance, and strong concurrency model, used extensively in large applications like browsers, operating systems, and embedded systems. Zig, emerging as a competitor, offers simplicity, manual memory management, and high performance without the complexity of Rust's borrow checker. Both languages cater to different needs: Rust for safety and an extensive ecosystem, and Zig for manual control and ease of learning for system-level programming.

  9. 9
    Article
    Avatar of hnHacker News·1y

    Offline Sync Public Beta

    Turso Offline Sync is now in public beta, allowing applications to function seamlessly offline by syncing local database operations once connectivity is restored. This feature enhances the performance and resilience of applications, making them responsive to network failures. Currently, the beta supports TypeScript and Rust, with potential for future enhancements in different environments like in-browser and Expo.

  10. 10
    Article
    Avatar of awegoAwesome Go·1y

    A comparison of Go and Rust syntax

    Go and Rust are both popular programming languages that excel in different areas. Go is known for its simplicity, efficiency, and excellent concurrency performance, making it ideal for network services and cloud computing. Rust is renowned for its memory safety and high performance, suitable for system programming and applications with stringent performance and security requirements. The comparison covers various aspects including loop structures, functional programming, concurrency control, syntactic sugar, object-oriented programming, and common application areas.

  11. 11
    Article
    Avatar of rubylaRUBYLAND·1y

    Migrating Off Oh-My-Zsh and other recent Yak Shavings

    Stefan Wienert shares his experiences transitioning away from Oh-My-Zsh to a more simplified Zsh setup inspired by Bohidar Batsov. He leverages the customizable Starship prompt and provides detailed configurations for his development environment, including SSH-Agent integrations. Additionally, he highlights the improvements from upgrading the Ruby version manager asdf to its latest version rewritten in Go.

  12. 12
    Article
    Avatar of steveklabnikSteve Klabnik·1y

    A Happy Day for Rust

    The Rust community has navigated a potentially controversial breaking change in Rustup, the official installer and toolchain manager, with commendable respect and constructive feedback. This experience contrasts sharply with the previous Actix-web incident, highlighting significant growth in community communication and problem-solving.

  13. 13
    Article
    Avatar of devsquadDev Squad·1y

    Zed vs. VS Code: Which One Wins?

    Zed and VS Code are both excellent code editors with distinct features. Zed, built with Rust, is faster and offers real-time multiplayer editing, making it great for speed and teamwork. VS Code, built on Electron, excels in flexibility with its highly customizable UI, extensive plugin library, and robust support for remote development, Git, and terminal integration.

  14. 14
    Article
    Avatar of collectionsCollections·1y

    Crabtime: An Innovative Approach to Rust Macros

    Crabtime introduces a new approach to writing Rust macros, taking inspiration from Zig's comptime. It aims to simplify macro creation while offering advanced transformations, IDE support, and performance on par with procedural macros. Crabtime also includes features for caching, logging, and debugging. The latest version, v1.1.1, is available on crates.io and automates code generation by evaluating Rust logic at compile time.

  15. 15
    Video
    Avatar of letsgetrustyLet's Get Rusty·1y

    Microsoft is using AI to convert code to Rust...

    Microsoft is increasingly adopting Rust across its products to enhance security by preventing memory safety issues. The company's AI tools, such as the C to Safe Rust transpiler and Python to Rust translator, are accelerating code migration to Rust. Notable applications of Rust at Microsoft include Windows components, Office algorithms, and Azure services. Feedback from developers highlights both the benefits and challenges of using Rust. Overall, Microsoft's efforts are significantly boosting the adoption of this memory-safe language in the industry.

  16. 16
    Article
    Avatar of hnHacker News·1y

    smparsons/retroboy: A Game Boy emulator written in Rust.

    Retro Boy is a cycle-accurate Game Boy emulator written in Rust that can be played on the web using WebAssembly. It features accurate CPU, audio, and graphics emulation, supports various cartridge types and cheats, and utilizes local storage for game progress. The React/TypeScript-based web frontend offers customizable controls and a responsive design. The project includes an extensive test suite and thorough documentation on setup and usage.

  17. 17
    Article
    Avatar of communityCommunity Picks·1y

    I spent 181 minutes waiting for the Zig compiler this week

    The Zig compiler takes approximately 1 minute and 30 seconds to compile debug builds, causing prolonged waiting times for developers working on large codebases like Bun. The language server, zls, lacks critical features like type-checking, further slowing development. While incremental compilation is in progress, it is not fully ready, causing additional delays in the development process.

  18. 18
    Video
    Avatar of t3dotggTheo - t3․gg·1y

    TikTok's React Native killer is WILD

    TikTok's new development tool Lynx is introduced as an alternative to React Native, offering a range of features including a new build tool, runtime, and an ecosystem geared towards efficient mobile app development. Lynx is notable for its dual-threaded runtime, which separates the framework and UI threads, aiming to improve performance. Additionally, it supports CSS for styling, provides instant launch capabilities, and promises significant improvements in app distribution. ByteDance heavily supports and uses Lynx in various TikTok apps, hinting at its readiness for large-scale applications.

  19. 19
    Video
    Avatar of denoDeno·1y

    WASM is easier than ever!

    WebAssembly (WASM) offers a way to execute binary machine code in the browser, enhancing performance for web applications. It is a portable binary format suitable for high-performance applications and uses languages like C, C++, and Rust. With Deno's support, using WASM modules has become more straightforward. This overview includes a practical example of creating and using a simple WASM module, highlighting the seamless integration with TypeScript and JavaScript.

  20. 20
    Article
    Avatar of hnHacker News·1y

    chenquan/arkflow: High-performance Rust stream processing engine, providing powerful data stream processing capabilities, supporting multiple input/output sources and processors.

    ArkFlow is a high-performance stream processing engine built in Rust, utilizing the Tokio async runtime for low latency. It supports multiple input/output sources such as Kafka, MQTT, HTTP, and files, along with various data processors including SQL queries, JSON processing, and Protobuf encoding/decoding. The modular design makes it easily extensible with new components.

  21. 21
    Article
    Avatar of opensourcesquadOpen Source·1y

    CocoIndex - ETL to prepare fresh data for AI, like LEGO

    CocoIndex is an open-source ETL tool designed to prepare data for AI applications such as semantic search and retrieval-augmented generation. It features a data-driven programming model, custom transformation logic, and incremental updates. Built on a Rust core with a Python SDK, CocoIndex allows users to build indexing pipelines using a modular, Lego-like approach, ensuring data consistency and minimal re-computation.

  22. 22
    Article
    Avatar of aiAI·1y

    Want AI to Actually Understand Your Code? This Tool Says It Can Help

    CocoIndex is a tool designed to index and query your codebase, facilitating the construction of a data pipeline. It uses Tree-sitter to intelligently chunk code based on syntax and provides built-in Rust integration. The process involves reading code files, extracting extensions, chunking code, generating embeddings, and storing them in a vector database. CocoIndex supports various languages and allows users to embed code using models from Hugging Face. It leverages Postgres for managing the data index, with plans to support other databases.

  23. 23
    Article
    Avatar of hnHacker News·1y

    Devolutions/IronRDP: Rust implementation of the Microsoft Remote Desktop Protocol (RDP)

    IronRDP is a collection of Rust crates implementing Microsoft Remote Desktop Protocol (RDP) focused on security. It supports multiple codecs including Uncompressed raw bitmap, Interleaved RLE, RDP 6.0 Bitmap Compression, and Microsoft RemoteFX. The project provides both asynchronous and synchronous examples for creating RDP clients. Configuration instructions for enabling advanced graphical features on Windows are also included.

  24. 24
    Video
    Avatar of primeagenThePrimeTime·1y

    We Removed C++

    Fish 4.0 has been released, and it has completely transitioned from C++ to Rust. This significant change aims to improve the development experience, ergonomics, and safety of the code. The team behind Fish has shared insights from this extensive porting process, noting the challenges faced and the gains achieved, particularly in terms of performance and ease of contribution. Fish continues to stand out as an alternative Unix shell with its own scripting language, providing a better experience than Bash according to its developers.

  25. 25
    Article
    Avatar of lobstersLobsters·1y

    A Review of Helix after 1.5 Years

    Helix is a powerful modal terminal editor that builds on Vim's functionalities while providing a more integrated experience with fewer configurations required. It lacks a plugin system, which reduces complexity but limits extensibility. Core features, such as file-pickers, language server support, and robust selection manipulation, make it highly versatile and easy to use out of the box. Small adjustments are needed for Vim users due to differences in key mappings and the absence of some Vim-specific features. Helix is particularly well-suited for users seeking a low-configuration, highly functional editor that supports a wide range of programming languages.