Can Rust Beat JavaScript in 2023?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • content-security-policy

  • One of the libraries from the article which I have experience with is https://dioxuslabs.com/

    It has a server side rendering mode, which for most projects will be all you need.

    So then if you follow the Islands Architecture https://www.patterns.dev/posts/islands-architecture means you can sprinkle some typescript when you need more dynamic functionality.

    I'd love to use Rust for front end enhancement in this way, but the problem is you have to completely open up your content security policy https://github.com/WebAssembly/content-security-policy/blob/...

    Which is going to get picked up in any security review.

    I've written up how I develop web apps with rust here https://rust-on-nails.com/

  • dioxus

    Fullstack GUI library for web, desktop, mobile, and more.

  • One of the libraries from the article which I have experience with is https://dioxuslabs.com/

    It has a server side rendering mode, which for most projects will be all you need.

    So then if you follow the Islands Architecture https://www.patterns.dev/posts/islands-architecture means you can sprinkle some typescript when you need more dynamic functionality.

    I'd love to use Rust for front end enhancement in this way, but the problem is you have to completely open up your content security policy https://github.com/WebAssembly/content-security-policy/blob/...

    Which is going to get picked up in any security review.

    I've written up how I develop web apps with rust here https://rust-on-nails.com/

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • thirtyfour

    Selenium WebDriver client for Rust, for automated testing of websites

  • I mainly test with a combination of unit tests and using selenium https://github.com/stevepryde/thirtyfour for integration tests

    I wrote it up here https://rust-on-nails.com/docs/continuous-integration/integr...

  • chromium

    The official GitHub mirror of the Chromium source

  • > We have just as many left to die. We just don't know or don't talk about them anymore.

    Yes, irrelevant products that no one uses eventually die. At present, Chromium is not one of those, and is installed on billions of devices and used every single day on mobile and on desktop. Anyway, here's the repo if you're interested in contributing: https://github.com/chromium/chromium

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts