|
|
Log in / Subscribe / Register

DeVault: Announcing the Hare programming language

DeVault: Announcing the Hare programming language

Posted May 2, 2022 15:28 UTC (Mon) by pbonzini (subscriber, #60935)
In reply to: DeVault: Announcing the Hare programming language by ncm
Parent article: DeVault: Announcing the Hare programming language

I don't think Zig or Vala have any shot at being a major contender. However there is a lot of legacy C code that won't reasonably be converted to C++ or Rust, and in my opinion Zig is a pretty good experiment as to how C could grow to incorporate new features (compile-time metaprogramming, coroutines, etc.) that those legacy projects could use.


to post comments

DeVault: Announcing the Hare programming language

Posted May 2, 2022 18:17 UTC (Mon) by bartoc (guest, #124262) [Link] (1 responses)

zig suggests that there is an interesting and fruitful design space enabled by not doing implicit instantiation of generics (I think c++ got implicit instantiation _almost_ by accident because of the way cfront worked, but that was before my time)

DeVault: Announcing the Hare programming language

Posted May 2, 2022 19:40 UTC (Mon) by mathstuf (subscriber, #69389) [Link]

Having to explicitly instantiate templates may certainly have put the kibosh on some of the ridiculous template metaprogramming I've seen in C++. However, I suspect it would have been used anyways because when a language only gives you a limited set of tools and the best thing for turning that screw is a scissor blade, by gosh, someone is going to use that scissor blade. Whether oodles of compiler output when you hold it wrong or gigantic TUs of template instantiations is worse is up for debate.


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