News for hackers. Stuff that matters.
Re:Show HN: Ice – WSGI microframework to develop small web a... by aidos on Wednesday September 06, 2017 @06:19AM (#15182483)
I think that's what your parent is saying. There are good solutions built on WSGI, and WSGI itself is restrictive. Not to take anything away from this project.
Re:Show HN: Ice – WSGI microframework to develop small web a... by sametmax on Wednesday September 06, 2017 @10:39AM (#15184024)
Exactly. If you build an async project, but do the same things than WSGI frameworks we gain nothing. We already have perfectly capable and productive frameworks. We use them everyday, we make money with it. They work.

Async allows to maintain low latency permanent connections between each clients, being it a web page, a task queue, a server worker, etc. We finally can have it all connected. We can broadcast setting changes, propagate cache invalidation, push action notifications, update task completions to subscribers, allow everybody to react to stuff on the file system or the db instead of polling, all in soft real time.

The potential is amazing.

We all can do HTTP req / resp. The question now is: how good the tooling around this cycle is.

Re:Show HN: Ice – WSGI microframework to develop small web a... by aidos on Wednesday September 06, 2017 @01:02PM (#15185215)
You may have already seen this but uWSGI allows you operate with asyncio too.

http://uwsgi-docs.readthedocs.io/en/latest/asyncio.html

Re:Show HN: Ice – WSGI microframework to develop small web a... by sametmax on Wednesday September 06, 2017 @02:30PM (#15185973)
Your point ?
Re:Show HN: Ice – WSGI microframework to develop small web a... by aidos on Thursday September 07, 2017 @08:16AM (#15191102)
Sorry, it was a vague attempt to foster discussion about the options of moving out of WSGI without throwing it out completely (I was really ill yesterday and couldn't quite formulate any logic thoughts around it myself).

Have you looked at the options there / if there would be an easy way to bolt on a more async driven framework? Obviously, it doesn't solve the missing framework issue, but maybe there's some clever tricks you can do because uwsgi is allowing you to bend the rules.

Re:Show HN: Ice – WSGI microframework to develop small web a... by mcless on Wednesday September 06, 2017 @07:47AM (#15182866)
This project too is a solution built on WSGI like Bottle and others. I agree plain WSGI is too restrictive and tedious to work with. So I don't understand how the parent comment's concerns about WSGI applies to this project but not to other WSGI-based frameworks.
Re:Show HN: Ice – WSGI microframework to develop small web a... by detaro on Wednesday September 06, 2017 @08:19AM (#15183010)
There are already good solutions for WSGI. There are less for non-WSGI async options. The parents point is that if you now create something new, yet another WSGI solution doesn't add much to the general ecosystem, where a new async thing very well might.
Re:Show HN: Ice – WSGI microframework to develop small web a... by mcless on Wednesday September 06, 2017 @08:45AM (#15183148)
That makes sense. Thanks for explaining.