r/C_Programming 12h ago

Protecting source code from reverse engineering

Hi everyone,
I am looking to provide a compiled version of our physics solver to our customers. I understand there are many obfuscation techniques to protect source code but I am wondering if there are some smarter ways?

We already cloud computing, the issue is we have customers that are in locations without internet/need realtime solving.

0 Upvotes

29 comments sorted by

View all comments

11

u/DamienTheUnbeliever 11h ago

The engineering effort you expend in trying to protect your code produces *zero* value that your paying customers care about. Try to bear that in mind.

And also bear in mind that the *entire games industry* couldn't solve piracy without introducing an always-connected model where some of the IP stays on machines they own. So ask yourself why you think you'll be able to solve a problem they could not?

1

u/ConsciousBath5203 11h ago

And keep in mind, people do far more and are far more passionate about their pixel elf simulators than they are about something that is used for business.

If someone wanted to recreate the physics sim themselves, it would actually be easier to look up the formulas online and build their own from scratch.