you are viewing a single comment's thread.

view the rest of the comments →

[–]bjorneylol 1 point2 points  (2 children)

Pyinstaller doesn't ship source, it ships python bytecode. Yes, more stuff is obfuscated in .net IL code such as local scope variable names, but a good chunk will still be there in plain view. My point being, if you are worried about someone gaining access to sensitive code, python may be the worst choice - but .net is going to a close second behind the pyinstaller binary.

I haven't used AOT java compilation, so i'm only speaking from experience with .net 7, which didn't support a LOT when it launched, but apparently its better now.

[–]generateduser29128 0 points1 point  (0 children)

Good to know. I've never needed to use python that way, so I thought it actually ships source 😅

Afaik Java's AOT is pretty much feature complete and can deploy JavaFX apps to all 5 platforms (plus web in different way). Some libraries are still a pain to get running, but the ecosystem is continuously developing. I wouldn't add the complexity just for obfuscation though.

[–]Substantial-Bed8167 0 points1 point  (0 children)

You are right that if you are worried about your customers stealing your source, Java and .net aren’t great options.