The author, a self-proclaimed "young, hopeful Rust fanatic," spent 18 months rebuilding their open-source algorithmic trading system in Rust, expecting the language to be the "perfect" choice due to its speed and safety. However, after the migration, the author's opinion of Rust has drastically changed, and they now consider the language to be "absolutely fucking sucks."
The author's main criticisms of Rust include:
Horrendous, verbose, and unintuitive syntax and semantics: The author found it extremely challenging to write even simple functions, often unable to get the code to compile without the help of a powerful language model.
Horrendous error handling: The author struggled to understand errors and lacked the ability to easily trace the source of issues, unlike in other languages like Python and Go.
Crabby community: The author found the Rust community to be narcissistic and unwilling to acknowledge the language's flaws, often dismissing the author's concerns as a "skill issue."
Despite these negative experiences, the author acknowledges that Rust has some pros, such as being fast and safe, especially when compared to C++. However, the author believes that the language's "safety" is more of a detriment than a benefit, as it significantly increases development time.
The author concludes by considering the possibility of exploring other programming languages, such as OCaml, as an alternative to Rust, as they feel they can now learn anything after their challenging experience with Rust.
To Another Language
from source content
medium.com
Thông tin chi tiết chính được chắt lọc từ
by Austin Stark... lúc medium.com 07-13-2024
https://medium.com/codex/i-spent-18-months-rebuilding-my-algorithmic-trading-in-rust-im-filled-with-regret-d300dcc147e0Yêu cầu sâu hơn