In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article shows you an example analysis of the life cycle of the Rust language, which is concise and easy to understand. I hope you can get something through the detailed introduction of this article.
The official Rust blog released the Rust survey report for 2020.
A total of 8323 responses were received in 14 different languages, with English accounting for the highest proportion of respondents (75 per cent), followed by 5.4 per cent of Chinese and 5.3 per cent of Russian. Based on this, officials plan to improve the Rust community in terms of this language, and to improve the situation of the Rust community for those who do not want or cannot use English.
Of all respondents, 83 per cent claimed to have used Rust (the highest figure ever); 7 per cent said they had used it but are no longer using it. When asked why they gave up using Rust, 35 per cent said bluntly that they had not learned it (perhaps because of lack of time), 34 per cent said it was because their company no longer used Rust, and 19 per cent pointed out that switching to Rust was "slower" than the language they currently chose.
Who is using Rust?
According to the survey report, about 40% of respondents engaged in software development said they would use Rust in their daily work, and the information revealed by these respondents also reflected the bright future of Rust in real work, as nearly half of the respondents said that their employers planned to continue to recruit Rust developers in the coming year.
In addition, the proportion of respondents who wrote a lot of Rust code at work also increased, with 44 per cent of respondents saying they produced more than 10,000 lines of Rust code at work, up from 34 per cent last year.
When asked which version of Rust to use, the majority of respondents used the stable version, followed by the Nightly build. Officials say they invested a lot of time and effort in cleaning up the code base and improving stability in 2020, although this work has not yet been completed, but the overall stability of Rust has been improving according to the feedback of the respondents.
The main reason why so many users choose the Nightly build is that they use the Rocket Web framework, which happens to be the Rust Nightly build on which the Rocket Web framework depends. However, the framework has announced that the next version will be compiled with Rust stable. Another reason is that they need to use the const generics feature of the Nightly build. Surprisingly, some users of the Nightly version feel that Nightly is stable enough to meet their requirements and can try new features faster, which is why they choose Nightly instead of the stable version.
In terms of interoperability, when respondents were asked which languages they wanted Rust to interoperate with, C++ was the most popular choice, followed by C and Python. In fact, for developers using a large code base (100000 or more lines of code), interoperability with C++ is a common means to improve their Rust development experience and improve development efficiency.
When it comes to development efficiency, Rust also gets good feedback on compile time and library support. 50.5% of the respondents said they felt progress, and they thought the compilation time had been shortened. In terms of library support, some developers expressed the hope to see Rust support for GUI development and improve the maturity of asynchronous programming.
Finally, there is the question of the difficulty of learning Rust, which is where Rust has been complained about for a long time. In this survey, when respondents were asked if they had any suggestions to improve the adoption rate of Rust, one of the solutions mentioned by many people was to make it easier for Rust to learn. 15.8% of respondents said they would use Rust more if they were "less frightening, easier to learn, or less complex." Respondents also pointed out that documentation and training could be used as entry points.
When it comes to the difficulty of a particular topic, many people think that the "Lifetimes" of Rust is the most difficult, followed by Ownership,61.4% respondents who said that the use of life cycle is both tricky and very difficult.
The above is a sample analysis of the life cycle of the Rust language. have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.