Best of RustDecember 2024

  1. 1
    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.

  2. 2
    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.

  3. 3
    Article
    Avatar of hnHacker News·1y

    trailbaseio/trailbase: A blazingly fast, single-file, open-source application server with type-safe APIs, Auth, and Admin UI built on Rust+SQLite.

    TrailBase is an open-source, single-file application server known for its speed and type-safe APIs. Built on Rust and SQLite, it includes built-in authentication, an admin UI, and supports sub-millisecond latencies. The server is highly extensible, supporting mobile, web, and desktop applications, and boasts simple self-hosting. Pre-built binaries are available, and it is easy to build from source. Contributions are welcome, though licensing under OSL-3.0 with certain conditions applies.

  4. 4
    Article
    Avatar of devtoDEV·1y

    React 19 Finally Stable, New Rust-Based JavaScript Framework, New Developer Tools, and more

    React 19 is now stable with new async features, including 'useTransition' and 'useOptimistic' hooks for smoother loading and responsive states. Boa v0.20, a Rust-based JavaScript engine, boosts ECMAScript compliance to 90% and includes new features like Atomics.pause for optimized multi-threaded tasks. Safari 18.2 introduces developer-friendly updates such as cross-document view transitions, Float16Array, and enhanced WebAssembly support with garbage collection. Additional tools like Redux Toolkit 2.5, Termo, Civet and Rockpack provide enhancements for smoother development workflows.

  5. 5
    Article
    Avatar of communityCommunity Picks·1y

    rgwood/systemctl-tui: A fast, simple TUI for interacting with systemd services and their logs

    systemctl-tui is a fast and simple terminal user interface for managing systemd services and their logs on Linux. It supports browsing service status, starting, stopping, and restarting services. The tool requires Rust for building from source, though binaries are available, and can be installed via package managers like pacman and nix-shell.

  6. 6
    Article
    Avatar of communityCommunity Picks·1y

    Rust learning resources

    Rust is not just for system programming; it is versatile and can be used for a variety of projects. Avoid paid courses and utilize free resources like books and YouTube channels to learn Rust. Start with foundational books like 'The Rust Book,' then explore practical projects through resources such as the 'Practical Rust Projects' and 'Creative Projects for Rust Programmers.' Specialized areas like web development, command line utilities, and machine learning are also covered in specific books. Use repositories like 'Awesome Embedded Rust' and 'Idiomatic Rust' for further learning and updates.

  7. 7
    Video
    Avatar of christitustechChris Titus Tech·1y

    150 Days of Programming

    After five months of diving into software development, the author shares their experiences and accomplishments across various projects. They utilized multiple programming languages, including Python, Rust, PowerShell, and C#. The post covers the techniques, tools, and methodologies used, along with the challenges and successes faced. The author highlights the importance of selecting the right language for each project and evaluating their performance and syntax, ultimately expressing a preference for C# and .NET for Windows applications.

  8. 8
    Article
    Avatar of hnHacker News·1y

    louis-e/arnis: Generate any location from the real world in Minecraft Java Edition with a high level of detail.

    Arnis is an open-source project written in Rust that generates high-detail, real-world locations in Minecraft Java Edition. By leveraging geospatial data from OpenStreetMap, Arnis creates accurate and immersive Minecraft worlds, handling large-scale data efficiently. Users can select areas using a rectangle tool and generate worlds starting from specific coordinates. The project supports cross-platform usage and invites community contributions for improvements and new features.

  9. 9
    Article
    Avatar of infoworldInfoWorld·1y

    10 hot programming trends — and 10 going cold

    Programming trends are continuously evolving, with certain technologies gaining popularity while others lose steam. Emerging trends include repatriation to control cloud bills, AI partners in coding, the use of memory-safe languages like Rust, and the adoption of WebAssembly for faster code execution. Meanwhile, traditional pair programming, C/C++ languages, and interpreters are seeing a decline in favor. Other shifts include a preference for CPUs over GPUs due to cost efficiency, the rise of zero-knowledge proofs for better privacy, and the popularity of static site generators. Trends reflect the adaptability of companies seeking better performance, cost control, and security.

  10. 10
    Article
    Avatar of codigeeCodigee·1y

    Flutter vs Tauri by ex-developer of Tauri

    The post offers a comparison between Tauri and Flutter by an ex-Core Tauri developer. Tauri is similar to Electron, using WebViews with native hooks for building desktop apps, focusing on security and bundle size. Flutter, on the other hand, is a comprehensive framework using Dart for building fully native apps with robust performance. The choice between Tauri and Flutter depends on specific needs, with Tauri being ideal for web technologies and security, and Flutter being a fast, all-inclusive solution.

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

    Should you learn Rust in 2025?

    The post explores whether it's worth learning Rust in 2025, highlighting recent updates to the Rust language and ecosystem, including new features and improvements. It discusses the growing job market demand for Rust developers, industry adoption by major tech companies like Google, Microsoft, and Amazon, and the role of Rust in future-proofing a career, especially in industries like AI, blockchain, and security-critical systems. The post also contrasts Rust with other popular languages such as C++, Go, Zig, and Mojo, considering factors like job opportunities, ease of learning, and longevity.

  12. 12
    Video
    Avatar of communityCommunity Picks·1y

    I built a REAL Desktop App with both Tauri and Electron

    The post discusses the pros and cons of using Tauri versus Electron for building a desktop application. Electron's large size and resource consumption are highlighted, while Tauri is suggested as a lightweight alternative using Rust. Key differences include setup difficulty, deep linking, event handling, window management, and the use of browser engines. The author experienced challenges with Tauri but sees its potential as it evolves, specifically mentioning its recent 2.0 release with exciting new features.

  13. 13
    Article
    Avatar of scottlogicScott Logic·1y

    LLMs vs Advent of Code, AI is winning

    Advent of Code (AoC) is an annual coding competition. This post explores how OpenAI's o1-mini model performs remarkably well on AoC puzzles, solving 86% of the puzzles correctly and quickly. Using a robust test harness and standard prompts, the model succeeded where previous generations struggled. However, there's controversy over using LLMs in community contests, as it may overshadow individual skill. The article concludes that advancements in LLMs like o1-mini will significantly impact software engineering.

  14. 14
    Article
    Avatar of hnHacker News·1y

    uv

    uv is a fast Python package and project manager written in Rust, aiming to replace multiple tools like pip, pip-tools, poetry, pyenv, and more. It provides a pip-compatible interface, supports Cargo-style workspaces, and is installable without requiring Rust or Python. It offers comprehensive project management, allowing for quick installation and switching between Python versions, as well as running and managing scripts and tools. uv is supported on macOS, Linux, and Windows and backed by Astral, the creators of Ruff.

  15. 15
    Article
    Avatar of communityCommunity Picks·1y

    I spent 2 years rebuilding my algorithmic trading platform in Rust. I have no regrets.

    The author shares their experience of rebuilding their algorithmic trading platform in Rust after initially facing significant challenges. Although Rust's steep learning curve was frustrating compared to languages like TypeScript and Go, the author ultimately appreciates Rust for its speed, maintainability, and unique features. The platform's performance improved significantly, and the author provides tips for mastering Rust.

  16. 16
    Article
    Avatar of hnHacker News·1y

    Fullstack crossplatform app framework for Rust

    Dioxus 0.6 is a major release of the cross-platform app framework for Rust, introducing significant improvements to tooling, hot-reloading, and mobile support. Highlights include a complete CLI overhaul, the ability to serve apps on mobile simulators, enhanced autocomplete, a revamped asset system, and new static site generation capabilities. The update focuses on enhancing the developer experience and fixing numerous bugs.

  17. 17
    Article
    Avatar of hnHacker News·1y

    sub-millisecond full-text search library & multi-tenancy server in Rust

    SeekStorm is an open-source, sub-millisecond full-text search library and multi-tenancy server implemented in Rust, originally developed in 2015 and now offering a Rust port as of 2023. It supports a wide range of features including real-time search, incremental indexing, and multi-threaded operations. The library is notable for its low latency, high throughput, and scalability even for billion-scale indices. It offers functionalities such as faceted search, geo proximity search, and SIMD hardware acceleration. Additionally, it provides a RESTful API, cross-platform support, and API key management.

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

    Prisma is removing Rust?

    Prisma is transitioning its core logic from Rust to TypeScript to improve performance, extensibility, and community contributions. This move aligns with Prisma's new manifesto aimed at setting clear priorities and managing issues effectively. The manifesto also highlights a commitment to supporting first-class databases, ensuring smooth integration and compatibility for future developments. Additionally, Prisma plans to remain engaged with the community through transparent communication and regular updates.

  19. 19
    Video
    Avatar of primeagenThePrimeTime·1y

    The SQLite Rewrite In Rust

    A new project, Limbo, is aiming to rewrite SQLite in Rust with improved features. The motivation behind this initiative is to create an open-source, memory-safe alternative with enhancements like native replication, vector search, and asynchronous I/O. Limbo is designed from the ground up for modern environments, including WebAssembly (wasm) support. The project already shows promising benchmarks and has gained substantial community interest and contributions. Deterministic simulation testing is being used to ensure reliability and robustness akin to SQLite.

  20. 20
    Article
    Avatar of hnHacker News·1y

    pimalaya/himalaya: CLI to manage emails

    Himalaya CLI is a tool written in Rust for managing emails through a command line interface. It supports various backend types including IMAP, Maildir, Notmuch, SMTP, and Sendmail. The tool also offers OAuth 2.0 authorization, JSON output, and PGP encryption. Himalaya can be installed via multiple methods such as pre-built binaries, cargo, Arch Linux repositories, Homebrew, Scoop, Fedora/CentOS/RHEL repositories, and Nix packages. It also provides interactive configuration through a wizard and supports manual configuration via a TOML-based file. Debugging options are available through command line arguments and environment variables.

  21. 21
    Video
    Avatar of wdsWeb Dev Simplified·1y

    If You Only Know One Programming Language Watch This

    Learning more than one programming language can significantly enhance your job prospects, allow you to solve problems in various ways, and help you avoid burnout. Different languages excel in different areas, and being proficient in multiple languages equips you to use the best tool for the task at hand.

  22. 22
    Article
    Avatar of symfonySymfony·1y

    Upply: The PHP advantage: How we resisted the switch to Scala, rust, or go (Symfony Blog)

    Upply, a tech platform for freight transportation, faced a decision in 2022 on whether to keep using PHP for their backend or switch to Scala, Rust, or Go. They ultimately chose PHP due to its stability, developer productivity, and mature ecosystem. The post discusses the challenges of marketplace development, the architectural decisions, and the cost-benefit analysis of sticking with PHP versus migrating to another language.

  23. 23
    Video
    Avatar of awesome-codingAwesome·1y

    The Fascinating History of Rust

    Rust, initially a personal project of Mozilla's Graydon Hoare in 2006, has grown into one of the most loved programming languages due to its innovation in memory safety and performance. Its journey from a small project to a major tool used by tech giants and even integrated into the Linux kernel showcases its robust design and adaptability. Rust's evolution included refining its type system, eliminating a garbage collector for a unique borrowing checker, and developing tools like Cargo and Crates.io, which facilitate dependency management and community sharing.

  24. 24
    Article
    Avatar of hnHacker News·1y

    privastead/privastead

    Privastead is a privacy-preserving home security camera solution that uses end-to-end encryption through the OpenMLS implementation. It consists of a local camera hub, a mobile app for notifications and livestreaming, and an untrusted server for message relaying. The system ensures that only the hub and the mobile app can access unencrypted videos, and it supports various IP cameras with RTSP and ONVIF capabilities. The project also emphasizes minimal trust in the IP camera and does not conceal event timing from potential adversaries.

  25. 25
    Article
    Avatar of devclassDEVCLASS·1y

    SQLite re-implemented in Rust to achieve asynchronous I/O and other changes • DEVCLASS

    Turso, a database solutions developer, is re-implementing SQLite in Rust to introduce features like asynchronous I/O and enhanced memory safety. The project, codenamed Limbo, aims for full compatibility with SQLite and leverages Deterministic Simulation Testing (DST) for reliability. Limbo uses io_uring for high-performance I/O and supports compilation to WebAssembly (WASM). Although not necessarily faster than SQLite, Limbo has demonstrated good performance early in its development.