Better HN
topnewbestaskshowjobs
Log inSign up

xxljam

1 karma · joined Oct 3, 2024 (2y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

The C++ examples approach seems harder to read and not sure if it's more powerful or not than the rust one.

Also, I'm wondering if both are more powerful than C# source generators. I think they maybe are but not much in practice, at the same time being harder to use and debug. In simple terms, source generators are just libraries used by the compiler that generate new source code files that are then added to the compilation.