Why Discord is switching from Go to Rust

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
  • FrameworkBenchmarks

    Source for the TechEmpower Framework Benchmarks project

  • GO promised to be very fast, but if you check the actual benchmarks:

    https://www.techempower.com/benchmarks/#section=test&runid=8...

    High-level C# (asp.net) is almost twice as fast as GO in the benchmark... Rust is also in the top 3.

    So, why should I use GO instead of C#, if it is so blazing fast and requires a lot less lines of code to achieve the same? -> It makes absolutely sense to switch to C# or Rust.

  • go

    The Go programming language

  • There's a proposal to put in official support for Ballasts: https://github.com/golang/go/issues/44309

  • 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
  • servo-embedding-example

    An example of how to embed Servo

  • No, not yet. But Servo can be used headless:

    https://github.com/paulrouget/servo-embedding-example

  • runtimelab

    This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.

  • > the JIT needs warmup just like java

    You can use ReadyToRun[0] to pre-JIT portions of the code for faster startup. Full AOT compilation is in the works too[1] albeit it's still experimental.

    [0]: https://docs.microsoft.com/en-us/dotnet/core/deploying/ready...

    [1]: https://github.com/dotnet/runtimelab/tree/feature/NativeAOT

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