News for hackers. Stuff that matters.
Re:Solving Advent of Code at Compile Time with Rust Macros by CodeBrad on Sunday December 15, 2024 @09:33AM (#42423593)
Technically, because the bubble sort is implemented at compile time the program is infinitely faster.

The answer is produced as a compiler error and so there is zero runtime at all.

Re:Solving Advent of Code at Compile Time with Rust Macros by amenhotep on Sunday December 15, 2024 @05:46PM (#42426517)
I thought it all completely landed, that it was very obvious what you were doing, and that it was very funny as well as being real neato. Frankly I would probably put negative stock in the opinion of anyone who sees you accusing that python code of being hard to read and thinks you're remotely serious.