Comments by "Anony Mousse" (@anon_y_mousse) on "ForrestKnight"
channel.
-
20
-
12
-
10
-
8
-
5
-
5
-
5
-
3
-
3
-
2
-
2
-
2
-
2
-
2
-
2
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
While my main language is C, and that's certainly not going anywhere, I've been keeping up my skills in about 10 other languages. As I've been writing compilers and other such programs for the majority of the past 25 years, I see things from a different perspective than other developers. The way I see it is that C++ and Rust are basically the same language with all of the same solutions, except that Rust chose defaults that directly oppose C++'s chosen defaults, and it chose a syntax which is less consistent and to my mind uglier, and they chose to prevent certain types of solutions based on them merely seeming hinky.
So while C++ by default isn't necessarily considered safe, the programmer can write their code correctly and even take extra steps to ensure that their code is safer for others to extend their work. However, tooling has existed for decades now which enables programmers to be sloppy and check their work the way `rustc` does, and even add on extra checks that `rustc` doesn't do.
Also, the 70% figure is an unwitting lie on Microsoft's part because they're expressing the effect, not the cause. The cause of at least 95% of all bugs, in any user facing software anyway, is that of a failure to check user input. Inadequate and/or incomplete checks are still a failure to check user input.
1
-
1
-
1
-
1
-
1
-
1
-
1
-
I think that Java was ahead of its time with the idea of compiling to a generic bytecode and running in a VM, but the implementation was still done wrong. The language itself is far too verbose, it's basically a less utile C++, and truthfully, computers at the time weren't capable of running it adequately. Now it's perfectly fine, but GC languages are in general a bad thing. I'd love to see someone come up with a non-GC language that compiles to a generic bytecode and has a "VM" that generates a native binary on the first-run. Sort of like C#, but not a garbage clone of Java that's worse than what it cloned. Languages with "unsafe" keywords are beyond stupid. Programming is unsafe, and if you don't know what you're doing, you probably shouldn't be programming.
I expect you'll disagree with this, but you have to admit that there are far too many programmers that really should be in a different field these days. Far too many people have gotten into programming because they saw people making a lot of money and they wanted in on it, but they have no desire to be good at it.
1
-
1