Live data from Hacker News

Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3

github.com

81–90 of 192 posts

Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3

#81
post #60

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?

one uses pre-fork the other do not use pre-fork

Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3

#82
post #64

Earlier quoted context omitted.

I see your comment as positive <3 the whole purpose of this framework is to offer better glue, to Python for Web

>"I see your comment as positive" It is positive. You've created very nice "Web Python". No arguments here.

thank you.

Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3

#83
post #69

I'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.

I like that. I'd not heard that line before and wanted to find the source. Surprisingly, Rob Lowe heard it from someone in AA.

https://www.youtube.com/watch?v=UNQcFjIOfCE

Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3

#84

I'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

Learn as you develop. I've been there, I've felt like I'm constantly switching techs because my app should have the most bleeding edge stuff.. And in the end I always felt overwelmed at the sheer amount of frameworks/libs coming out every year, or at how the larning curve of each tech didn't allow me to actually develop because I couldn't get past the "Researching and trying out tech before marrying a technology" phase.

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

#85

I'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

Time to write your own framework!

Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3

#86

Good 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…

That’s the old way of language design; used to be that to create a “programming language”, you’d write a spec and call it a day. That just doesn’t fly anymore. These days, you actually have to implement a parser and compiler, and not only that, you have to write the entire standard library as well, along with a toolchain complete with debugger, profiler, package manager, language server implementation, etc.

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

#87
post #67

Earlier 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.

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.

Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3

#88
post #78

I'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)

Yes, frameworks call you, while you call libraries.

Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3

#89

I'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

If every month comes out someone from nowhere with the latest and best, what this really means is that its is really not the best! People nowadays put together two shiny things and go around the world saying they have the best thing ever. It is just silliness. Stop paying attention to that and stick to well tested and proven technologies.

Re: Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3

#90
post #87

Earlier 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.

> Claiming python has blazing speed while literally being CPython is insanity

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?

Post reply on HN