News for hackers. Stuff that matters.
Re:Nim 2.2.6 by netbioserror on Friday October 31, 2025 @12:37PM (#45773958)
Metaprogramming isn't exactly new. I guess the novelty is that its history in the systems language space is spotty, and has only recently become usable in the way a Lisper might want to use it.
Re:Nim 2.2.6 by QQ00 on Friday October 31, 2025 @02:25PM (#45775103)
what programming languages have the metaprogramming capabilities that a lisper would want to look at to learn/use it?
Re:Nim 2.2.6 by netbioserror on Friday October 31, 2025 @09:34PM (#45778549)
Nim, for one. It has an incredibly powerful macro and template system. But other languages with similar macro power include Elixir and Julia.

D has a generic system similar to Nim's, and a mixin system similar to Nim's templates, but doesn't have a powerful AST-manipulating macro system like the above languages.

Re:Nim 2.2.6 by almostgotcaught on Saturday November 01, 2025 @09:01PM (#45786997)
this is like asking which restaurants have mom's cooking - none but there are plenty that are close enough and don't require you to travel all the way back to wherever your moms lives.
Re:Nim 2.2.6 by almostgotcaught on Saturday November 01, 2025 @01:09PM (#45783338)
> Metaprogramming isn't exactly new

My guy what exactly do you think comptime is? More to the point: what exactly do you think metaprogramming is...?

Re:Nim 2.2.6 by netbioserror on Monday November 03, 2025 @08:44AM (#45798864)
Metaprogramming is writing programs that generate programs. It's been around since the beginning of programming languages. I'm still not sure what you're trying to dunk on me with here.