![Cover image for Peregrine Rewrite - The python-like language that's as fast as C](https://media.dev.to/cdn-cgi/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2brg24nblh4gddxd0dft.png)
Hey guys!
My name is Ethan, and I'm one of 12 Peregrine developers. Some of you may already know what Peregrine is, some of you don't, but this art...
For further actions, you may consider blocking this person and/or reporting abuse
People can already write better python and go through optimization to get python to "work faster".
Ultimately I doubt it's speed is your limiting factor. So why peregrine? Because it's easy to work on a new shiny and hard to fix what is there, or convince those within the community to follow suit.
Well. Done, have fun. But I wish I would see less fracturing and attempts to take from a decent, well established language.
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).
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.
Alright, so this seems like an interesting project, and I'm excited to see where you guys get with this. Now, you've said that python is "slow". The reality is that this is relative on the application. For most tasks, python is plenty fast enough, and it's not like you can't optimize it, there's tools such as PyPy, Numba, and cython, which can provide speedups. In a lot of cases however, any speedup at all is unnecessary, since python is fast enough for a good bit of tasks. However, if you're writing something like a 3D game, or something like a kernel, python probably isn't the right choice for that. I personally have never found python to be too slow for anything I've done. That being said, I have mostly stuck to web development, where most of the slowness in your applications are restricted to network related stuff, which would be the same, no matter what language you use.
Wow, my drawings appears on this website (I helped to draw the peregrine banner + logo)! I hope to contribute to code, too, but this is the first time hearing V and I only get into lower level programming like C for a month (I really like pointers!).
we switched to python, so hopefully more people can contribute!
That is great!
i have been following this project since start
Good luck with devlopment.
That is not a small task! Good luck!
Thanks
I think I've read it, not peregrine but swallow...
Yeah, we changed the name
Woah that's a big commitment.. good luck Peregrine team ❤️
thanks!
Sounds interesting. A 3 syllable name is not a big issue. Good luck
i want your project to succeed but i think your name Peregrine is very difficult and keep a lot of people away. Can you not find a simpler name? Maybe call it kobra or something
Sorry but we're not planning to change the name any time soon.
I read the last article and I'm wishing all the devs. Best of luck. This is no easy task. I've already starred the repo, I might check it out later.
Thanks for the support!
Very excited to use :)
Written in V?? 😱
What of swallow?