Although .zipapp is to Python what .jar is to .py. Probably even closer to .war.
But for purely stand alone stuff, "nuitka3 /tmp/hello.py --standalone" does output a executable that can be used without the user to manually bring in the Python run time. In that case, the hello world is about 16Mb on Ubuntu.
It would be interesting to do this with MicroPython though.
> If there’s one lesson we’ve learned from the Python 2 to 3 transition, it’s that it would have been very beneficial if Python 2 and 3 code could coexist in the same Python interpreter. We blew it that time, and it set us back by about a decade.
So it's not so easy to decide to go with again 2 different versions of Python.
I understand how caution they are.
However, this commitment from Meta, complemented with MS financing Guido, and the quality of Sam Gross proposal makes me optimistic.
> PEP-703: Concurrent collection requires write barriers (or read barriers). The author is not aware of a way to add write barriers to CPython without substantially breaking the C-API.
Jesus. Imagine a language runtime being this hamstrung.
While type hints in Python are not as nice as typescript annotations, I understand their plea, because once thing Python does better is runtime introspection.
Which means we can have dataclass, pydantic, typer and fastapi all generating their stuff from regular type hints. No need for special syntax or functions. And that's super nice.
YMMV also depending of who you are. In China, I look like a tourist, so pickpockets have a field trip with me, they don't even bother to be discreet.
In Paris, I never had a problem, because I look local. But my mother from the country side actually got troubles, because she looked like an easy prey, despite take much more care about her sutff than I do.