Hacker News new | ask | show | jobs
by quakershake 4288 days ago
"There are loads of tools that should have never been implemented in C/C++ in the first place (SSH, Make, APT, etc.). I'd say the best idea is to port a lot of these code bases to languages like Go or Rust maybe, but if that's not feasible for some reason, at least write some unit tests and do static code analysis."

This is the exact problem with everything today. Languages do not make bugs, people do. If that weren't the case, there wouldn't be bugs is python/ruby/shell/etc.

Rewriting something is only guaranteeing that more bugs be created initially. And all the time and effort gets you..what? The same thing that was just patching in a different language. Awesome...

You should be familiar with "bikeshed" being a freebsd user..

1 comments

> Languages do not make bugs, people do.

Right. That's why it's a good idea to use languages that help people to avoid common mistakes.

> Rewriting something is only guaranteeing that more bugs be created initially.

Neither of us has empirical evidence for that (or maybe you do, I don't know), but let's say your right. A rewrite would at least give us a sane way to move forward (see the first item on my list).

> You should be familiar with "bikeshed" being a freebsd user..

I'm voting blue.

---

Given that you're a Linux user, you should be familiar with Einstein's definition of insanity. :P

> I'm voting blue.

lol

> Given that you're a Linux user, you should be familiar with Einstein's definition of insanity. :P

+1 - I just don't see any real solution to the problem. I do think that because Linux is more widely used it is running into the same issues Microsoft has/had where the vulnerabilities are more widely exploitable.

Diversity definitely has it's benefits.