Best of Rust2023

  1. 1
    Article
    Avatar of communityCommunity Picks·2y

    Rust 🦀: Why JS devs are switching to it?

    Rust is gaining popularity among JavaScript and TypeScript developers. It offers a distinct memory management system, strict rules for borrowing, explicit mutability, and is a compiled language. Rust also has static and strong typing, with a focus on robust error handling.

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

  3. 3
    Article
    Avatar of communityCommunity Picks·3y

    Getting Started – Lightning CSS

    Lightning CSS can be used as a library from JavaScript or Rust. It can also be wrapped as a plugin in other build tools, and built into Parcel out of the box. From Node First, install Lightning CSS using a package manager such as Node First. Once installed, import the module and call one of the Lightning CSS APIs.

  4. 4
    Article
    Avatar of hnHacker News·2y

    Was Rust Worth It?

    An article discusses the author's experience with Rust programming language and highlights the benefits and challenges of using Rust, including the advantages of Rust's borrow checker and the gaps in Rust libraries and tools.

  5. 5
    Article
    Avatar of communityCommunity Picks·2y

    Build a full stack app with Rust, Next.js and Docker

    Learn how to build a full stack app with Rust, Next.js, and Docker. The app uses Next.js 14 with TypeScript and Tailwind CSS for the frontend, Rust without any framework for the backend, and PostgreSQL for the database. Docker and Docker Compose are used to containerize and run the app. The article provides step-by-step instructions on setting up the database, backend, and frontend, as well as testing the app using Postman.

  6. 6
    Article
    Avatar of hnHacker News·2y

    Announcing WinterJS

    WinterJS is a JavaScript Service Workers server written in Rust, using the SpiderMonkey runtime. It is fast, compatible with other services, and can be compiled to WebAssembly. WinterJS enables running Service Workers in various environments.

  7. 7
    Article
    Avatar of communityCommunity Picks·3y

    Rust 🦀 CRUD Rest API with Docker 🐳

    Learn how to create a CRUD Rest API in Rust using Serde for JSON serialization and deserialization, Postgres for the database, and Docker for containerization.

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

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

  10. 10
    Article
    Avatar of moralisMoralis·3y

    Web3 Programming – How to Learn Web3 Programming

    Web3 programming can generally be divided into two central parts: frontend and smart contract development. To start in Web3, you should advance your proficiency in programming languages related to your goals. To learn Web3 programming, sign up with Moralis now to fully leverage the power of blockchain technology.

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

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

  13. 13
    Article
    Avatar of ghblogGitHub Blog·3y

    Why Rust is the most admired language among developers

    For the eighth year in a row, Rust has topped the chart as ‘the most desired programming language’ in Stack Overflow’s annual developer survey. More than 80% of developers report that they’d like to use the language again next year. The language was created less than 20 years ago.

  14. 14
    Article
    Avatar of theregisterThe Register·3y

    Microsoft is rewriting core Windows libraries in Rust

    Microsoft is rewriting core Windows libraries in Rust programming language. The more memory-safe code is already reaching developers. Microsoft showed interest in Rust several years ago as a way to address memory safety bugs. The Rust renovation of Windows began in 2020 with DWriteCore, the Windows App SDK implementation of Windows' DWrite engine.

  15. 15
    Article
    Avatar of rusttrendsRust Trends·2y

    Rust in Action: 10 Project Ideas to Elevate Your Skills

    Explore 10 project ideas to elevate your Rust skills, including creating a grep command-line utility, a URL shortener service, and a text-based adventure game.

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

  17. 17
    Video
    Avatar of communityCommunity Picks·2y

    Next.js 14, Rust, Docker: Build a fullstack rest API in typeScript and Rust

    Learn how to build a fullstack REST API using TypeScript and Rust. The tutorial covers the use of Next.js, Rust, and Docker to create a frontend, backend, and database respectively. Prerequisites for the tutorial include basic knowledge of frontend and backend concepts, familiarity with databases and APIs, as well as having Docker and Rust installed on your machine.

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

  19. 19
    Article
    Avatar of communityCommunity Picks·2y

    Introducing Loco: The Rails of Rust

    Loco.rs is a Rust web backend framework inspired by Ruby on Rails. It aims to provide a batteries-included experience for Rust developers. To get started with Loco, you can use their CLI tool and generate a new project. The routing in Loco is based on Axum and allows you to use familiar concepts like middleware. Models in Loco are implemented using sea_orm and can be easily generated. Loco also supports job processing with sidekiq-rs. You can deploy your Loco application using Docker or Shuttle.

  20. 20
    Article
    Avatar of pointerPointer·3y

    Making Python 100x faster with less than 100 lines of Rust

    A while ago at $work, we had a performance issue with one of our core Python libraries. We had to make our system at least 50 times faster to handle the increased workload. The key difficulty (performance wise) is this mix of Python objects and numpy arrays. We are going to analyze this in depth in a minute.

  21. 21
    Article
    Avatar of ossphsOSSPH·3y

    Top Modern Programming Languages You Should Use At Least Once

    A list of top modern programming languages, including Rust, Python, JavaScript, Kotlin, and Go, that are recommended for building high-performance, reliable, and scalable software.

  22. 22
    Article
    Avatar of medium_jsMedium·3y

    Single Rust Binary with Vite+Svelte

    Single Rust Binary with Vite+Svelte can be easily packaged in a container image using docker or podman. In production you will probably want to specify a specific origin, but for our sample this will do for now. Our Rust web server is now ready to host the static web files from the directory.

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

  24. 24
    Article
    Avatar of communityCommunity Picks·2y

    Getting Started with Axum - Rust's Most Popular Web Framework

    Axum is a popular web framework for building REST APIs in Rust. It is simple to use and has hyper-compatibility with Tower, a library for building network applications. Axum follows the style of REST-style APIs like Express, where you can create handler functions and attach them to Axum's `Router` type. It supports various extractors for handling request data, such as JSON, forms, and headers. Axum also provides support for adding middleware, serving static files, and managing app state. It is recommended to use Shuttle for deployment, as it simplifies the process.

  25. 25
    Article
    Avatar of hnHacker News·3y

    I have written a JVM in Rust

    I have written a JVM in Rust. I want to stress that this is a toy JVM, built for learning purposes and not a serious implementation. In this post, I will give you an overview of how my JVM works. In further articles, I'll go into more detail about some of the aspects discussed here.