Thinkstock
Rust

Rust Survey Highlights its Growing Popularity

Sept. 15, 2017
The latest Rust survey had more than 5,000 respondents. Most are using Rust in applications.

This article is part of the TechXchange on Rusty Programming.

For those that don’t know, Rust is a new programming language that is designed to reduce the number of errors in an application through the strict management of memory references, among other safety-related features. There are no commercial Rust tool suites yet, but the latest Rust survey had 5,000-plus respondents, with most using Rust to develop applications. More than 40% have been using Rust for over a year. That is still a small fraction compared to those using C and C++, but it represents a significant growth in the use of Rust.

The size of Rust projects is growing as well but most are still under 10,000 lines (Fig. 1). Most projects are likely evaluations of Rust so this amount is likely to rise if these projects continue to use Rust.

Linux is the primary target platform for Rust applications (Fig. 2), but Windows and Apple macOS are used for a significant fraction. Some applications are used for more than one target. The number of embedded applications is low, but that is likely due to the lack of commercial Rust compilers.

Much of the work on Rust is associated with open-source projects, versus projects in a commercial setting (Fig. 3). This is not surprising given the dominance of C and C++ in embedded applications, as well as other programming languages used in commercial settings.

Rust has a lot of promise, and the latest versions are targeting stability and long-term support as the feature set has been refined. Programming languages like Ada and SPARK that have safety and security features have found limited appeal outside of military and avionic applications, but this is also changing. The big difference between these and Rust is that commercial tool suites are available now, and the definition of the languages and support systems are also well defined, which is important for commercial applications.

In the meantime, the use of C and C++ for safety and security critical applications is being augmented through the use of third-party static and dynamic analysis tools. Developers who understand the advantages of these tools, and languages like Ada and SPARK, have an edge in delivering safe and secure applications—on time and within budget. This Internet-of-Things (IoT) age is more susceptible to bugs in applications, which is why it’s important to use tools that minimize these problems. Rust may wind up being in that mix, and there is a growing number of developers getting experience with it.

Read more article in the TechXchange on Rusty Programming.

About the Author

William G. Wong | Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sponsored Recommendations

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!