Why is it so difficult to copy source code that is not “open source”?

892 views

It’s been in my mind if we are using the software/program or even hardware of a tech company, we can play around, install-unsinstall and more. Then how is it so difficult for someone to “unhide” the source code that the device uses? Technically the code is in the device somewhere hidden in it, so it’s there, but still, it’s almost impossible to obtain the source code. How do they achieve this so no one copies their code?

In: 366

42 Answers

Anonymous 0 Comments

This is about information.

A compiler takes a human readable programming language and converts it to machine code, which only computers can read.
This is like taking Moby Dick and compiling it into a Cliff’s Notes version.

You’ve got the same general content and story. But Cliffs Notes is shorter and therefore has less information and substance.

you could take ChatGPT, give it the Cliff’s Notes, and ask it to write Moby Dick. The point being, there are many ways to write that novel. No two reconstructed novels or sets of source code are the same.

Writing good clean code that is easy to maintain and modify is very difficult. Starting with decompiled code and trying to make anything useful is somewhere between impossible and awful. It’s like along you to require page 356 and changing the tone from depressing to cheer, Using just the Cliff notes – which notably don’t tell you anything about what’s on page 356.

The most valuable thing programmers produce is the knowledge of what works and what doesn’t. This is often in the source code as comments. Those are lost when compiled. Also, the elegance of a well written story is lost when you compress it down to just the plot points. Valuable Information is lost.

You are viewing 1 out of 42 answers, click here to view all answers.