4 ms·
Just to name alternatives: Cpython, Pypy, jython, ironpython. Then, there quite a few python-likes out there. I wish they would stay precise.
by vkazanov 9mo ago
Just to name alternatives: Cpython, Pypy, jython, ironpython.
Then, there quite a few python-likes out there.
I wish they would stay precise.
- foresto 9mo agoAlso: https://micropython.org/ https://micropython.org/
- tonymet 9mo agoAnother great example that no one would confuse for python.
- tonymet 9mo agoCPython, pypy, jython are not alternatives. CPython is Python. The others are attempts.
- tonymet 9mo agoI don’t think it’s good form to downvote people you disagree with.
- palata 9mo agoI did not downvote, but I'm guessing that it is perceived as disrespectful to call them failures to the point where they don't even qualify as "alternatives".
- nomel 9mo agoThe word "failure" was never used. But, they are technically correct. The language is defined as by CPython: it is the standard!!! None of the others fully meet that standard, which includes quirks! It's knows trade offs with them! They are, literally, attempts to adhere to that standard.
- tonymet 9mo agoIt’s no slight to jython. They fill an important Niche. But jython will never ever be confused with python.
- appplication 9mo agoYes, but no one is ever talking about pypy or jython implicitly. They are always mentioned by name because they represent <0.1% of all Python usage and are relegated essentially exclusively to niche or experimental use cases for power users. It’s a bit like arguing people should start saying “homo sapiens” when referencing “people” for added precision. It may be useful to anthropologists but the rest of us really don’t need that. Similarly, CPython is really only a sensible level of precision in a discussion directly about alternative Python implementations. (although in this case the original post is about implementation internals so I’d give it a pass)
- tonymet 9mo agoI like this debate because it triggers everyone’s pragmatic frustration with the philosophy of language. Are things defined by the dictionary or by everyday experiences?
- rich_sasha 9mo agoThis seems to be literally looking at the details of the C implementation of a Python interpreter. Exactly specifying the implementation makes sense here. You wouldn't say "how does the C++ compiler work" then look only at gcc.
- tonymet 9mo agoc++ / g++ is not comparable because the original c++ reference compilers are not commercially popular today. No one is using Strouvestroups compilers. CPython is Python. Every time your buddy says “just download python” you are using CPython . There’s no reason to be pedantic.
- shakna 9mo agog++ and clang are comparable. You need to specify the implementation.
- rich_sasha 9mo agoIf you know enough about Python to look at how the dict is implemented, you also know the difference between Python and CPython. It's not a beginners intro.