* Posts by henfredemars

1 publicly visible post • joined 12 Mar 2023

Check out Codon: A Python compiler if you have a need for C/C++ speed

henfredemars

Serious Limitations

It seems this project hasn't learned from the mistakes of its predecessors and is in my opinion doomed to be a footnote in the language's history.

There have been many attempts to make Python faster that compromise on compatibility, and none of them have succeeded in really catching on. Why? You have to think about the ecosystem. I don't think most people use a language just because it's a cool language. You use it because it gives you access to the tools and frameworks you wish to use, unless you live in academia or you're a hobbyist who can afford to reinvent the wheel.

It doesn't even really support Python, and they should have been more forthcoming about this in the README. Some fundamental aspects of the language are simply unsupported or have different behavior because it's incompatible with their goals or hard to compile. If you're not a drop in replacement, at what point does it make more sense to invest the work of making a square peg fit through a round hole in writing a simple C extension for performance?

Finally, the restrictive license definitely puts a cap on adoption. Of course a developer should be compensated for their work, but it certainly does not have a positive impact on adoption. We know that making your code more accessible helps.

I'm not trying to put down someone's hard work. I'm saying that the project strikes me as naive when it doesn't address the elephant of the room of why this project deserves to succeed where others have failed.