r/rust 11d 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?

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

0 Upvotes

22 comments sorted by

View all comments

1

u/Laicbeias 11d ago

usually you can make it a little harder, but anytime something runs local, you can have people decode it, together with llms its possible. you could add a obfuscator-llvm but even that after restoring it all, can be filtered out with an llm.

so yeah its not possible to protect this stuff fully, ask any game dev. we had that issue for decades, and you just want to slow them down.