r/computerscience • • Aug 05 '25

Compiled vs interpreted language and security concerns

Hi fellow computer scientists, security and computer languages are not my niche. I want to create a web application and before I start coding the core of my logic, I stumbled in this question: if I implement in a compiled language, will it be harder for a hacker that is inside my environment, already, to steal proprietary source code? Reading around the web, I came up with the idea of writing in python for portability and linking against C++ libraries for business logic. My knowledge in this is not deep, though. Help me out! thanks!

*Edit*: The comments are great, thank you! Also, check this StackOverflow question: https://stackoverflow.com/questions/551892/how-effective-is-obfuscation

16 Upvotes

12 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Aug 05 '25

Thank you very much!

3

u/boutnaru Aug 06 '25

Even though a compiled language makes it harder to steal source code, a determined hacker can still deduce proprietary logic. A major vulnerability lies in dynamic analysis, where an attacker can run your compiled application and use tools like debuggers and monitoring software to observe its behavior. By tracing the program's execution, inspecting memory, and monitoring function calls, they can reverse engineer the code and understand its underlying logic. This means that while the original source code is hidden, its functionality is not.

2

u/[deleted] Aug 06 '25

Thank you for your comment!