Discover your dream Career
For Recruiters
Other reasons for you to use Rust.

Rust is kind to its coders, C++ makes you feel terrible

Since it burst onto the scene in the mid-2010s, many have been touting rust as the 'C++ killer.' Though C++ still tends to come out on top in terms of low latency code, rust is taking an alternate approach, killing it with kindness.

Rust's likeability is nothing new; the language has stood undisputed as the most loved language in the Stack Overflow survey for several years. However, a new piece in the MIT Technology Review piece examines what really makes Rust so enjoyable to code with.

One of Rust's most endearing features is its error messaging system. Nell Shamrell-Harrington, a principal engineer at Microsoft, said that C++ error messaging "make[s] me feel like a terrible person," when compared to Rust's unusually polite responses to mistakes.

Some of those friendly responses are shown in the screenshot below, taken from this Reddit thread. 

C++ meanwhile operates with the cruel ambiguity of Terrence Fletcher in Whiplash: you don't know how to get it right until its right, and if you can't get it right... tough.

One programmer tells us that "while it is possible for C++ compiler developers to make the error messages more user-friendly, the complexity of template programming makes this challenging."

While it could be assumed that the trade-off for a more friendly and enjoyable language is lower pay, that's not necessarily the case. Rust lands in the top 10 highest paying languages on the 2022 Stack Overflow developer survey, 21 places above C++ (admittedly with less than half the respondents)

Within the finance industry specifically, however, C++ commands some of the highest pay available by virtue of its low latency and large code base. Programmers in the industry may need to stick with unfriendly error messages for a while yet. 

Click here to create a profile on eFinancialCareers. Comment ANONYMOUSLY on articles and make yourself visible to recruiters hiring for top jobs in technology and finance. 

Have a confidential story, tip, or comment you’d like to share? Contact: in the first instance. 

Bear with us if you leave a comment at the bottom of this article: all our comments are moderated by human beings. Sometimes these humans might be asleep, or away from their desks, so it may take a while for your comment to appear. Eventually it will – unless it’s offensive or libelous (in which case it won’t.)

AUTHORAlex McMurray Editor
  • Sa
    Sarfaraz Nawaz
    13 March 2023

    >> while it is possible for C++ compiler developers to make the error messages more user-friendly, the complexity of template programming makes this challenging.

    That's not the case anymore. With C++20 (released two years back), the language now have a tool called `concept` which helps the compilers to generate very concise and readable for template error messages.

Apply for jobs

Find thousands of jobs in financial services and technology by signing up to eFinancialCareers today.

Boost your career

Find thousands of job opportunities by signing up to eFinancialCareers today.
Recommended Jobs
Python Quantitative Developer
New York, United States
Logan Sinclair
Fundamental Equity Long/Short - Analyst
Logan Sinclair
London, United Kingdom
Audacity Capital
Trainee Financial Trader
Audacity Capital
London, United Kingdom
Universities Superannuation Scheme Limited
Investment Strategist
Universities Superannuation Scheme Limited
London, United Kingdom