laitimes

Musk: Rust is good, but I pick C

As an "internet celebrity" who is on the cusp of the storm almost all the time, Tesla CEO Elon Musk has been evaluated by the outside world as "committed to saving mankind from artificial intelligence".

Recently, the big guy has caused a hot discussion on social media because of many "out of line" remarks.

Musk: Rust is good, but I pick C

Greg Brockman, CTO of OpenAI, an artificial intelligence nonprofit, tweeted his thoughts on some of the 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.

Musk: Rust is good, but I pick C

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.

Musk: Rust is good, but I pick C

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!" ”

Musk: Rust is good, but I pick C

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.

Musk: Rust is good, but I pick C

While it is possible for the team to use the Rust programming language in the future, C has so far remained a "well-established" system-level programming language.

Of course, C may be a little harder for learners than other programming languages, but that's not a barrier that stops us from exploring.

Choice is as important as effort, even more important than effort.

Poke the qianfeng learning station mini program below, which contains more than 10 kinds of subject video tutorials, detailed to each subject are explained according to the road map, and most importantly, all free to learn!

Take advantage of the fact that spring has just arrived, and start the state of crazy knowledge collection.

- End -

Recent courses are new:

Vue basic | mini program development | Maven tutorial | SpringBoot| Docker getting started | Jmeter interface test | TCP communication | Matplotlib uses | JDBC technology | VPN technology | Excel Basic | C4D model basics

Recommended popular lessons:

Web front-end | Java development | Python data analysis | Linux cloud computing | software tests | network security | | big data | the Internet of Things C++

Unity game | UI/UE design | | for film and television editing PMP

Read on