Best of RustFebruary 2023

  1. 1
    Article
    Avatar of medium_jsMedium·3y

    C# vs Rust vs Go. A performance benchmarking in Kubernetes

    A performance benchmarking article comparing the performance of Rust, C#, and Go in creating high-performance web APIs and deploying them to a Kubernetes cluster. The article also discusses how to monitor the resource usage of these APIs with performance monitoring tools.

  2. 2
    Article
    Avatar of bitBits and Pieces·3y

    How To Build Desktop Apps Using React: A Quick Introduction to Tauri

    Learn how to build desktop apps using React with Tauri, an alternative to Electron. Tauri allows you to use web technologies like JavaScript, HTML, and CSS to create native applications. The tutorial covers setting up a project, building a To-Do app with sentiment analysis, adding native features using Rust, and packaging the app for distribution.

  3. 3
    Article
    Avatar of btrprogBetter Programming·3y

    We Rewrote Our Project With Rust… and It’s Almost 40X Faster

    Discover the benefits of rewriting a project in Rust, including fewer bugs, improved performance, and reduced memory usage.

  4. 4
    Article
    Avatar of readrustRead Rust·3y

    Why is building a UI in Rust so hard?

    Building a UI in Rust is challenging due to the language's unique memory management and lack of inheritance. Rust's ownership model and mutability rules make it difficult to share data across a component tree. However, there are different approaches like functional UI and Entity-Component-System architecture that can be used to overcome these challenges.

  5. 5
    Article
    Avatar of freekFREEK.DEV·3y

    Rust: A Language for the Next 40 Years

    A post discussing Rust as a programming language for the future, emphasizing its benefits and potential longevity.

  6. 6
    Article
    Avatar of ghblogGitHub Blog·3y

    The technology behind GitHub’s new code search

    GitHub built their own search engine, called Blackbird, for code search due to poor user experience and scalability issues with existing solutions. Searching code is different from general text search and requires unique features and capabilities. GitHub's code search system handles over 45 million repositories, 115 TB of code, and 15.5 billion documents.

  7. 7
    Article
    Avatar of communityCommunity Picks·3y

    rust-unofficial/awesome-rust: A curated list of Rust code and resources.

    A curated list of Rust code and resources including applications, development tools, libraries, databases, terminal emulators, operating systems, text editors, CLI tools, networking tools, code analysis tools, fuzzing tools, observability tools, Mastodon servers, and more.

  8. 8
    Article
    Avatar of communityCommunity Picks·3y

    pxp-lang/pxp: A suite of high-performance tools for PHP developers – includes a code formatter, static analyser, language server and superset language.

    PXP is a suite of high-performance tools for PHP developers. It includes a code formatter, static analyser, language server, and superset language.

  9. 9
    Article
    Avatar of changelogChangelog·3y

    Grant Handy

    This post explores the ray casting algorithm used in first-person games and provides a step-by-step guide on how to implement it in your own game using Rust. It explains how ray casting works by tracing a path from the player to the closest wall in each column of their view, and then converting the distance to the height of a wall. The post also covers aspects such as implementing player movement, fixing perspective issues, adding depth with shadows, and optimizing code size.

  10. 10
    Article
    Avatar of jetbrainsJetBrains·3y

    Learn Rust With JetBrains IDEs

    Learn Rust with JetBrains IDEs by taking their free Learn Rust course. Rust is a popular programming language known for its performance and security features. The course is structured into sections that cover various topics in Rust programming.

  11. 11
    Article
    Avatar of pointerPointer·3y

    Rust's Ugly Syntax

    Rust's Ugly Syntax People complain about Rust's syntax, but they actually object to Rust’s semantics. In this slightly whimsical post, I’ll try to disentangle the two. The motivation for it is somewhat esoteric.

  12. 12
    Article
    Avatar of btrprogBetter Programming·3y

    A Little Bit of Rust

    The post explores a problem and its solution presented by Donald Knuth in the 80s, along with an alternative solution provided by Doug McIlroy. It discusses the shortcomings of the original solution and proposes improvements to optimize the algorithm. The post also provides the code in Rust to solve the problem efficiently.

  13. 13
    Article
    Avatar of logrocketLogRocket·3y

    How to define higher-order functions in Rust

    This post explores higher-order functions in Rust, including their definition, how to pass them as parameters, and how to return them.

  14. 14
    Article
    Avatar of surmaSurma·3y

    Rust to WebAssembly the hard way — surma.dev

    In Rust, the tool that makes WebAssembly easy is called wasm-bindgen, and we are going to ditch it! At the same time, Rust is a bit different in that WebAssembly has been a first-class target for a long time and the standard library is laid out to support it out of the box.

  15. 15
    Article
    Avatar of communityCommunity Picks·3y

    PXP: Extended Preprocessor

    PXP is a suite of high-performance tools for PHP developers, including a code formatter, static analyser, language server, and superset language.