News for hackers. Stuff that matters.
Re:Making Python fast – Adventures with mypyc by meadsteve on Tuesday September 27, 2022 @08:42AM (#32994585)
I recently experimented with using mypyc to make some of my python a little faster. I was pleasantly surprised with how well it worked for very little code change so I thought I'd share my experiences.

The blog post wanders around a little because I had to add setuptools and wheel building as my project had previously skipped this.

Re:Making Python fast – Adventures with mypyc by 4140tm on Tuesday September 27, 2022 @11:23AM (#32996531)
I just found out about Lagom from this blog post and it's exactly what I have been looking for.

All other Python options I've seen feel too involved or leak too much into your code. Lagom seems to balance everything just right.

Thank you!

Re:Making Python fast – Adventures with mypyc by cinntaile on Tuesday September 27, 2022 @11:44AM (#32996862)
Haha, I can imagine Steve is quite pleased with this comment. You should look up the meaning of the (Swedish) word lagom.
Re:Making Python fast – Adventures with mypyc by meadsteve on Tuesday September 27, 2022 @01:15PM (#32998209)
Thanks 4140tm and thanks cinntaile. I was very pleased. That was very much the intention of the name