I have always been interested in Rust. This has been due to the fact everyone talks about how good Rust is, how it is a memory safe language and a difficult language with a learning curve. All of this had intrigued me into learning a lot more about the language and where it is used.

Recently I am seeing Rust being implemented everywhere, from parts of the Linux kernel to libraries like Polars, which acts as a replacement for pandas but is a lot faster in its processing, and even TUI based applications, which I absolutely love. A consistent piece of advice I have always gotten when learning programming and getting better at it has been that learning a low level language after starting off with Python is very important. Low level languages allow you to understand the level of abstraction that has happened on top, which allows for easy to write and read languages like Python.

In the modern era of programming the obvious choice for me seemed to be Rust. A lot of patterns we are starting to see in the dev world are that in a lot of new applications the core of the logic, especially if it is computation heavy, is being written in Rust with a layer of another language on top. This pattern started emerging for me when the TypeScript compiler shifted to Go. We are also seeing OpenAI taking bets on Rust, which drives the Codex CLI tool. In the cloud platform space some of the services from AWS have been written in Rust too.

This pattern of implementation will start to get more and more common, where we see Rust doing the heavy lifting of an application which has a TypeScript or Python layer on top.

A library I am currently working on, backtestingfx, is also following this pattern. Rust core with Python on top allows you to use the library as a Python import. The backtesting logic and soon to implement optimisation logic will all be running in the Rust layer, allowing it to be a lot faster than other backtesting libraries I have come across in the quant space.

Rust seems to be the future. Any new projects which would require C++ or C will most probably be written in Rust now, and if there are currently implemented projects in other languages, most may be experimented with using a Rust rewrite aided by AI. All of this looks very exciting.