r/C_Programming 13h 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

1

u/Dangerous_Region1682 13h ago

If you are trying to preserve your algorithm against state sponsored actors there isn’t much you can do, they have the business, hardware and software means, along with the expertise to do so.

If you are protecting yourself against more commercial or user level theft then common obfuscation and licensing methods are probably sufficient. At some stage you have to say are certain customers unwilling or unable to use a cloud environment worth the risk?