|
|
Subscribe / Log in / New account

Comparison to Go?

Comparison to Go?

Posted Jan 5, 2025 18:41 UTC (Sun) by khim (subscriber, #9252)
In reply to: Comparison to Go? by excors
Parent article: Preventing data races with Pony

> I think no other language has anything very similar to C++ template metaprogramming, because you can get 90% of its functionality with very different designs that are 90% less insane

That's funny because problem with C++ TMP is not the fact that it has too much functionality, but the fact that it has so little. There are nothing that's “very similar to C++ template metaprogramming” not because it's so powerful, but because it's so limited. C++ is slowly moving in the direction of Zig's comptime thus, is some sense, C++ is becoming like other languages (with metaprogramming in something that looks somewhat similar to the “regular”, “main” language), not the other way around.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds