Organize | Yu Xuan is responsible for editing | Zhang Hongyue
Exhibiting | CSDN(ID:CSDNnews)
Recently, Greg Brockman, CTO of openAI, an artificial intelligence nonprofit, tweeted his thoughts on some misinformation in programming. He says one of the least valued skills in programming is writing error messages that aren't frustrating. A good error message should be obvious, including: 1. What the user did; 2. What the acceptable input is; and 3. How to solve the problem. This can determine your love or hate for the library.
Subsequently, Musk, the "web surfer", expressed his approval of Blackman in the comments section, and even discussed the performance of the compiler. Musk says compilers can do better, but not enough effort into that.
Then, Twitter founder Jack recommended Rust in the comments section: "Rust solves the compiler problem tremendously." The recommendation piqued Musk's interest, and he replied to Jack: "I'm a fan of Rust, and given that Discord uses it, it's obviously extensible. However, for best performance, it is best to use a strict C language that contains a custom compiler on specialized hardware, which is important for the maximum frame rate of the vehicle's inference computer. In addition to that, we mostly use C++ and Python.
Source: Twitter
This discussion also attracted tesla owner enthusiasts @WholeMarsBlog, and he and Musk also discussed the compiler:
@WholeMarsBlog: "But you wouldn't say that developers who use C incur overhead, and if you're not careful, you can easily hurt yourself." This is why modern system-level languages like Go and Rust, Go > Rust IMO for web services. ”
Musk: "Yes, never use C unless optimized for hardware performance!" ”
This "confession" of Musk is difficult not to think of SpaceX's software development projects. Because last year, some members of spaceX's software development team ran an AMA (Ask Me Anything) event at Reddit, which allowed anyone to ask them questions about the SpaceX project. At that time, a user asked: Is the Rust programming language used? SpaceX team member Asher said they were really interested in Rust because Rust is a language with outstanding strengths in terms of security, performance, and modern tools. Some new projects have already started to prototype with Rust, and this is only the beginning of their Rust journey.
Source: Reddit
So is Musk's public statement to use the Rust programming language extensively in the next project? Do you think Rust can become a mainstream programming language used by developers?
Reference Links:
https://twitter.com/elonmusk/status/1496293976692899843
https://twitter.com/elonmusk/with_replies?lang=en
https://www.reddit.com/r/spacex/comments/ncj4vz/we_are_the_spacex_software_team_ask_us_anything/gy5d7ld/
—END—
"New Programmer 001-004" is fully listed, talking to world-class masters and reporting on innovations and creations in China's IT industry