If you read about the Rust programming language online, I guarantee that you’ll only read positive things. Every single guide on Medium. Every post on Reddit. Every answer on Stack Overflow. Everything you read is overwhelmingly positive.
|
In all fairness, it’s easy to see why it is overhyped. Among all programming languages, Rust stands as one of the fastest languages to exist. And, unlike its competitor C++, Rust is memory and thread safe by default, meaning programmers have to go out of their way to write unsafe Rust code.
|
This allows Rust to be useful in a variety of scenarios, including web development, performance-critical backend systems, operating systems, and more.
|
NextTrade was built using TypeScript in order to focus on maintainability, readability, and reusability, however, when the core trading logic started experiencing significant performance issues, a full rewrite was necessary in order to build a paper-trading and backtesting platform that could scale to tens of thousands of users. Thus, Rust emerged as a top contender, and after a lot of research, eventually won as the language to use for the overhaul.
|
This refactor was a resounding success, and led to the creation of a next-generation investing platform called NexusTrade.
|
NexusTrade significantly outperforms its open-source predecessor in both speed and configurability. For instance, backtests that required several seconds to complete in NextTrade are finished in just a few hundred milliseconds on NexusTrade. This represents a 1000-fold enhancement in performance, enabling the platform to support more sophisticated functions like large-scale genetic optimizations.
|
However, despite these huge benefits, this didn’t come without significant costs. The Rust language, which is championed as the paragon of programming languages, came with its own unique set of challenges that I hadn’t anticipated. This article will be a reflection on these challenges so that new potential Rustaceons can get an honest perspective on the Rust programming language.
|
P.S. Am I emailing you too often? Kindly reply to this email and let me know. Also, don't be shy to tell me what you think about these type of emails! Your feedback here is invaluable.
|
Disclaimer: The content provided in this post is for informational purposes only and is not intended as financial advice or a recommendation to buy or sell any securities. I am not a financial advisor. The insights and analysis shared are meant to demonstrate the capabilities of NexusTrade in automating financial research. It's important to conduct your own due diligence and consult with a professional advisor before making any investment decisions.
|
|