On 6/7/17 5:47 PM, John Carter wrote:
On Monday, 5 June 2017 at 14:23:34 UTC, Mike Parker wrote:
https://dlang.org/blog/2017/06/05/compile-time-sort-in-d/
Seems like you have inspired people...
http://blog.zdsmith.com/posts/compiletime-sort-in-nim.html
That is kind of neat. While I can say that D can perform technically the
same feat via pragma(msg, ...) and importing a file directly (would
leave a comment on the blog, but there isn't a spot for it), the fact
that you can execute arbitrary code in a block at compile time that can
use the *actual* i/o routines you would use at runtime is pretty impressive.
Stefan would have a field day with this power :)
-Steve