Insights from the 2023 Rust Survey: Error Handling and Updates
Written on
Introduction to Rust Developments
It's been a while since I last wrote about Rust! A quick look back at my articles shows that I penned a piece two months ago featuring 41 amazing open-source Rust projects. Additionally, I explored the origins of Rust four months ago and its role in a WASI article. I also reviewed the changes between Rust versions 1.68.1 and 1.72, and touched on Rust's relationship with C++ memory safety in my latest write-up.
I’d like to extend a warm welcome to all the new subscribers and followers who joined after my last article. Are you enjoying the content? If so, consider subscribing and following for more updates!
Recent Rust Updates and Survey Insights
Today, I want to discuss the enhancements made in Rust versions 1.73 to 1.77, which were released just yesterday, as well as the findings from the 2023 Rust survey. I'll highlight my favorites from each version, but you can explore all the details through the links provided!
Rust 1.73
The October release focused on panic handling, moving panic messages to a new line for clearer understanding of application errors.
Rust 1.74
Released in November 2023, this version allowed users to configure the Rust linter via the Cargo.toml file, streamlining rule management across projects.
Rust 1.75
This version introduced significant performance enhancements through post-compile application layout profile-based optimizations, yielding a 2% improvement, with an additional 1.5% in other changes, although this was initially limited to Linux GNU systems.
Rust 1.76
February 2024 saw the release of Rust 1.76, which notably announced ABI compatibility between char and u32 types. This compatibility is crucial for Rust’s security, ensuring smooth type transitions without unexpected issues.
Rust 1.77
The most recent release enhances Trait capabilities and introduces C-string literals, providing safety when sending null-terminated strings to C++ by verifying that the strings do not contain null characters.
Now, turning to the 2023 Rust survey results: the survey indicated that a majority of Rust developers reside in the US and Germany, predominantly using Linux, with MacOS and Windows following. The community primarily codes in VS Code (don’t forget to check out the Hinty extension I developed!).
While Rust is celebrated for its safety and speed, there are concerns about its increasing complexity. Many users express a desire for the language to be more developer-friendly, particularly in terms of compiler error messages, debugging ease, and documentation quality.
The Rust community has acknowledged these points, recognizing that effective documentation is vital for broader adoption. Taking a page from corporate strategies, the Rust team has ample opportunity to enhance these areas, especially since annual surveys provide valuable feedback.
Survey Video Insights
To delve deeper into the survey results, check out this insightful video:
What are your thoughts on Rust's future? Which features excite you the most? Share your opinions in the comments below!
Conclusion and Community Engagement
Congratulations if you've read this far! It’s a pleasure to discuss coding with you, my favorite audience. If you're passionate about Rust, I’ve even created a Rust-themed card game called "Summon The JSON: Rust," which you can order now!
If you love Rust, don’t forget to clap, subscribe, and share on social media! Join 13,000 developers who follow Tom Smykowski. For just $5 a month, you'll gain access to all Medium articles, supporting Tom to produce more Rust content. Become a member today!
Additionally, consider joining the new Rust Programming Guild group on LinkedIn, a welcoming space for all Rust enthusiasts and creators!