Earlier quoted context omitted.
For sure have room to improve but is very competitive, i will try to archive the 7 mi inthe future, this is a very young framework, i will work harder! https://www.techempower.com/benchmarks/#section=test&runid=1...
huh? waw. strange. there are 2 fibers on the benchmarks. 1 slow and 1 really fast. Same for socketify. 1 fast, 1 slow. Why is this?
Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3
81–90 of 192 posts
Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3
#82Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3
#83I'm feeling old. I went back to Flask recently and keep finding everything I know is deprecated, or not best practice any more. Then I read every week that some new framework is out that is better. I'm tired of it. I end up spending more time learning new things than I do building new things! Maybe I should get off hn for a while
Don't judge your insides by other people's outsides.
Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3
#84I'm feeling old. I went back to Flask recently and keep finding everything I know is deprecated, or not best practice any more. Then I read every week that some new framework is out that is better. I'm tired of it. I end up spending more time learning new things than I do building new things! Maybe I should get off hn for a while
The thing is: You A) Don't need to learn the newest things if all you want is to create a cool app. And B) Won't get anything from learning about building apps without actually building them.
Maybe you do need to get off HN, but I recommend just browsing HN safely and knowing that there'll be time to learn these new things if you learn them through making cool stuff. If your priority is to make apps, these new frameworks shouldn't bother you so much. You can make a nice app just with Flask.
But I do feel old too. I used to think Angular was the hottest thing.. Now I hardly enjoy it lol but that's because my Angular-married colleagues use very outdated practices, which were "modern" a few years ago.
Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3
#85I'm feeling old. I went back to Flask recently and keep finding everything I know is deprecated, or not best practice any more. Then I read every week that some new framework is out that is better. I'm tired of it. I end up spending more time learning new things than I do building new things! Maybe I should get off hn for a while
Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3
#86Good point! However, you bring in a common misconception I'm fighting with within my company for a long time. Python is not an interpreted language. There is no such thing as an "interpreted language", a language is just a set or rules and keywords. Everything you can fit into Backus–Naur form is already a language even if it doesn't have any implementation nor compiler neither interpreter. Just as a piece of evidenc…
All this is to say that a programming language these days is really the sum of its parts, not a spec.
Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3
#87Earlier quoted context omitted.
Technically, it is C that’s faster.
Python (CPython) is written in C so always will be C, PyPy i think is C too? not sure.
Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3
#88I'm feeling old. I went back to Flask recently and keep finding everything I know is deprecated, or not best practice any more. Then I read every week that some new framework is out that is better. I'm tired of it. I end up spending more time learning new things than I do building new things! Maybe I should get off hn for a while
The secret is stop using frameworks and use just libraries (even the latter with parsimony)
Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3
#89I'm feeling old. I went back to Flask recently and keep finding everything I know is deprecated, or not best practice any more. Then I read every week that some new framework is out that is better. I'm tired of it. I end up spending more time learning new things than I do building new things! Maybe I should get off hn for a while
Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3
#90Earlier quoted context omitted.
Python (CPython) is written in C so always will be C, PyPy i think is C too? not sure.
Claiming python has blazing speed while literally being CPython is insanity. This is like saying "Im a natural body builder who only uses Test, HGH, and Dianabol". Great drop the natural part, similarily just advertise speed as CPython.
And it is not claimed anywhere. Besides, cpython is not really know to be fast, as it is an interpreter? Why would its implementation language matter much?