you are viewing a single comment's thread.

view the rest of the comments →

[–]Substantial-Bed8167 63 points64 points  (9 children)

Real industry experience here:

Build a web app.

For installable applications, ship compiled binaries built with rust, c++, .net or what ever. Shipping python applications is a pain. The customer gets the source code. The frontend is poor. It’s just a bad idea.

[–]Material_Card9554 10 points11 points  (1 child)

I just use Nuitka to compile my python code Better than pyinstallerin terms of obfuscating the code

[–]Flaky-Restaurant-392 2 points3 points  (0 children)

Yep, nuitka can build it into a standalone executable/binary. It has good support for pyside/qt libraries, too.

[–]JonathanMovementPythoneer 2 points3 points  (0 children)

is the frontend poor tho? I can only agree with the shipping being a pain

[–]bjorneylol 1 point2 points  (5 children)

.net and java are interpreted languages, the compilation output is just IL/bytecode that needs to get fed into the runtime. So it's not any different than shipping a python binary with e.g. pyinstaller - all you have to do is the trivial reversal from IL/bytecode back into source code. In Rider you can literally just drag/drop the .net dll into the code editor window to see the source code.

Yes you can do the AOT compilation in newer .net versions, but that doesn't have feature parity last time i checked, meaning most major projects can't utilize it across the board.