Better HN
topnewbestaskshowjobs
Log inSign up

Tsche

23 karma · joined Aug 20, 2024 (2y ago) · 10 submissions

Submissions

1.

Variadic Switch(pydong.org ↗)

46 points · by Tsche · 1y ago · 10 comments

2.

C++26 Expansion Tricks(pydong.org ↗)

3 points · by Tsche · 1y ago · discuss

comment 1y ago · link · parent

This is absolutely possible, even currently - albeit in a very much non-portable way. For example boost::pfr and my own (wip) repr library have the required machinery for this.

comment 1y ago · link · parent

indeed

comment 2y ago · link · parent

oh no

comment 2y ago · link · parent

To me it was always just a silly way of pronouncing "Python", especially in reference to terrible shenanigans like the ones the post talks about :P

comment 2y ago · link · parent

I had actually considered PrePy and variations thereof for the magic_codec project (which is the example implementation showcased in that post), unfortunately all of these had been used by other projects before. Pydong is the name of the blog :)

comment 2y ago · link · parent

I'm glad y'all like it, more to come soon :)

9.

Python's Preprocessor – a deep dive into custom codecs(pydong.org ↗)

5 points · by Tsche · 2y ago · 2 comments