News for hackers. Stuff that matters.
Re:Rewriting Reddit (2005) by benhoyt on Monday October 25, 2021 @12:44AM (#28984559)
I used web.py heavily in the early days on many small websites and one large website at work (well after it was relatively unmaintained). It was an early "microframework" that was really nice to use, and simple to hack on as needed. I liked its KISS approach to pretty much everything, including database handling (a thin, Pythonic wrapper around SQL, not an ORM). It was quirky in places, though -- I suppose not unlike its original author.

I'd probably use Bottle now, for equivalent simplicity and hackability, or maybe Flask (though that's significantly larger).

Re:Rewriting Reddit (2005) by jsemrau on Monday October 25, 2021 @02:43AM (#28985045)
Currently building on Flask and truly love the easy of integration, the massive libraries, and overall the performance. ... hope that doesn't spawn a religious debate.
Re:Rewriting Reddit (2005) by KMnO4 on Monday October 25, 2021 @08:39AM (#28987080)
If you love Flask check out Sanic. It’s a nearly drop-in replacement with much better performance since it’s async by default.

https://sanic.readthedocs.io/en/stable/

Re:Rewriting Reddit (2005) by ju_sh on Tuesday October 26, 2021 @05:16AM (#28998105)
Sanic is great. Been using it at work and it's solid
Re:Rewriting Reddit (2005) by jsemrau on Monday October 25, 2021 @04:37PM (#28992816)
Noted. Will do.