If you had to rewrite any software ever written, how would you do it?

6Responses

Write your response…

This answer has received 3 appreciations.

I'd re-write Slack in C and stop abusing the crap out of system resources.

Tommy Hodgins Rewrite it in Rust :D

Write a reply...

This answer has received 2 appreciations.

I'd rewrite Linux in Rust and only allow Rust code to interact with it. That would guarantee at least basic memory safeties. Many big bugs of the past years wouldn't have happened (I am looking at you, Heartbleed). Also, dependency hell would be a lot more manageable (thanks to cargo).

Well, apparently I am not the only one who would do so; that's why I am watching the Redox project closely :)

This is amazing. Thank you. 😀

Write a reply...

This answer has received 2 appreciations.

I would rewrite Windows, so it was native to bash, creating a global wrapper for anything with the purpose of configuring, communicating and translating packages of software developed through it. Cross-platform bliss that takes advantage of custom hardware.

Because only 1/12th of the software everyone in the world uses is actually compatible with it.

Using Wine, etc. is like Windows using Git for Windows for bash.

One of my laptops is duel partitioned (Win10/Ubuntu) , which is the best solution, imo. Personally prefer true installs as opposed to emulation such as Win10 adding bash to its CLI to launch Ubuntu.

Windows needs to axe the registry. This is why many devs prefer Macs. They are a combination of Linux and Windows, with their own flavor.

This is purely based on my personal experience since I use them all on a regular basis (pretty much daily), along with CentOS as well for servers.

Write a reply...

I'd rewrite the Javascript runtime and prevent it from being used on the server side :)

JavaScript is as ubiquitous as paint; there are some Picasso's and Van Gogh's (e.g. JQuery & Angular IMO), but most of us are graffiti artists. Perhaps we'll be saved by Web Assembly, Azure Functions or your rewrite :)

Write a reply...

I'd write up PHP compiler to avoid the use of "$" and "->". These create a hell of jumping from mouse to keyboard.

And as a matter of fact, I hate PHP for that.

Write a reply...

Load more responses

Join a friendly and inclusive Q&A network for coders

  • 🖥Pick the technologies you like & read great content through your feed.
  • 💬Ask a question when you want to learn more about anything.
  • 🚀Share what you know & build your portfolio.
Sign up nowLearn more

loading ...