r/C_Programming 1d 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/musbur 6h ago

If this is a B2B situation, you might as well give the entire source code to your customer. The reason they're buying your product is that you deliver good value at a good price. As long as you keep providing that, they have no incentive to spend resources of their own to work on your code. I work in a large company that buys bespoke software from contractors, and nobody would ever look at a single line of code even if they could. There's no business case.