DEV Community

Discussion on: Peregrine Rewrite - The python-like language that's as fast as C

Collapse
 
schollii profile image
schollii

Please don't make the same mistake as Nim: beautiful python-like syntax, type inference etc but misses one super important capability that made Go become more popular despite lack of generics and try/except, and that's first class concurrent processing which nowadays is essential. Don't make it a library, rather provide some language constructs that build on the ideas of Go channels and even maybe address some of their limitations (there are some).

Collapse
 
aboominister25 profile image
Rayyan Cyclegar

Hm, isn't an eventual goal of this language compatibility with python libraries? If it is, I'm not sure how this would work, since for concurrency like this, you'd need to get rid of the GIL, which a fair bit of C python libraries depend on.