4 ms·
If it accepts a subset of python it's technically python: any codon-python program is a python program. Not full python but python nonetheless... My understand
by joak 3y ago
If it accepts a subset of python it's technically python: any codon-python program is a python program. Not full python but python nonetheless...
My understanding:
The goal is not to compile existing python code but to write new python code meant to be compiled in order to be faster. Limited use, still useful.
- debatem1 3y agoIt is trivially easy to write a codon program which runs in both Codon and Python but behaves differently in a way that is not considered a bug in either language. That means it is not a subset, unless by that you mean that each language has a subset of the other's programs which it can run. In which case C and JavaScript are the same language too.
- netr0ute 3y agoIs there an example of this? I know there's several areas where Cpython has some funky undefined behavior, but those aren't particularly notable because they're by definition implemention dependent.