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

853 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

Yes you’re correct the code is on your machine running somewhere.

While code is usually write in a human readable language such as C, Python or Java when it comes time to ship that application out to customers you need to make sure it is in a format that the customer knows what to do with it. Hand your average person a Python file good odds they won’t know what it is, how to run it, or hell they probably won’t even have python in their machine.

This is where a standard file that can run the app comes in such as exe. This file will have a full set of instructions so the computer knows how to run the file regardless of what it was written in. It may include the prerequisites to run the file so anyone can run it on any machine. The exe is created so a machine can quickly understand it and run it. It is not designed to be human readable. It is then hard to translate this abck to human readable code.

Another angle is that companies may want to protect their code. They may encrypt their code and intentionally obfuscate it. This means even if you did find the code you wouldn’t be able to make sense of it.

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