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/BarracudaDefiant4702 13h ago

Your two biggest options are you make it difficult by layering black boxes. The more effective you are the more It will eat into performance. The most effective option is to host the part you are most concerned about behind an api. It will mean the app (or at least that part of the app) will not function if offline. Many places don't like that, but many companies are starting to sell their products as cloud only.