Rust and C#: a match made in heaven
I know, I know, another subjective opinion from an excited developer about their favorite language. Hear me out, maybe I can convince you that this couple has a very bright future. It supercharged our startup and gave us a big advantage to deliver fast, high quality code.
Rust and C# aren’t direct competitors when it comes to choosing a language for your project. Rust is a systems language with excellent performance, rich type system, and high portability. C# is an application language with mature ecosystems that can run your code on any platform or device. When combined together, they provide high performance, write-once-run-everywhere applications.
Our company builds consumer applications and services and we chose the .NET stack for our core platform. This allows us to build our API back-end, web front-end, and mobile apps using a single code base written in .NET Core using C# (and sometimes F#). We use ASP.NET Core, Xamarin and Blazor. This means that our front-end engineers can work on the back-end code, while our mobile engineers can fix bugs in the front-end code. Shifting resources across the stream not only helps fill in the gaps, it also allows engineers to get easily trained in a platform they’re not familiar with. They use common language, C#, so they already have some background.
Our platform, however, depends heavily on cryptographic libraries that are only available as low level libraries written in Rust. Problem? Not in the slightest. Due to the incredible Rust support for language…