News for hackers. Stuff that matters.
Re:Nim 2.2.6 by netbioserror on Friday October 31, 2025 @10:56AM (#45772662)
It doesn't seem as exciting as those because it doesn't have a whiz-bang-pow killer feature (other than very robust metaprogramming), but it's very mature, and breezy to write high-performance software.
Re:Nim 2.2.6 by almostgotcaught on Friday October 31, 2025 @12:27PM (#45773862)
> other than very robust metaprogramming

lol then i guess zig's comptime isn't a "whiz-bang-pow killer feature" either

Re:Nim 2.2.6 by elcritch on Friday October 31, 2025 @01:59PM (#45774826)
It’s not really. Zig emphasis on it to replace generics is somewhat unique, but ultimately it’s not different than what Nim (and D) have also done for many years.

Nim has a full compile time VM. You can even compile it into a program to run Nim scripts.

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.