3 ms·
So the differences: https://docs.exaloop.io/codon/general/differences https://docs.exaloop.io/codon/general/differences So more limited types (integers) and m
by t43562 4y ago
So the differences:
https://docs.exaloop.io/codon/general/differences https://docs.exaloop.io/codon/general/differences
So more limited types (integers) and more type checking and collections have to have one kind of thing in them.
There are other python compilers though, like https://github.com/Nuitka/Nuitka https://github.com/Nuitka/Nuitka
I wonder really what the advantages/disadvantages of these are?
- SloopJon 4y agoAnother big difference: "Codon is licensed under the Business Source License (BSL), which means its source code is publicly available and it's free for non-production use. ... each version of Codon converts to an actual open source license (specifically, Apache) after 3 years." https://docs.exaloop.io/codon/general/faq https://docs.exaloop.io/codon/general/faq
- UncleEntity 4y agoCompilers traditionally don’t taint users code with their own license, seems this one does.
- SloopJon 4y agoI don't see any indication that Codon makes any claim to generated code. It's just that the license prohibits production/commercial use of the compiler--not much different than other proprietary compilers like, say, Visual Studio.
- ptx 4y ago"While Codon's syntax and semantics are virtually identical to Python's, [...] Codon currently uses ASCII strings unlike Python's unicode strings." So aside from that tiny issue at the center of the decade-long Python 2 to 3 migration debacle, it's virtually identical!
- geysersam 4y agoIt also uses 64-bit ints instead of the infinite size ints in CPython. Sounds like an issue that could easily bite someone in the behind and cause quite nasty bugs.
- scythe 4y ago>a few of Python's dynamic features are disallowed. For example, [...] or adding objects of different types to a collection. The fine print is strong with this one. It makes me wonder why they didn't just start with RPython.
- anentropic 4y agoFrom what I've heard Nuitka is a true compiler for actual Python (not a "Python-like" language) but does not give so much speed up