> On Sep 2, 2026, at 08:08, [email protected] wrote:
> 
> IMHO Zig is indeed a better C (and not a better c++; anything can be 
> considered a better c++ ...). The comptime feature...

I heard of Flux for the first time a couple of weeks ago (and haven’t tried it, 
or zig either):  
https://medium.com/@karacvonthweatt/the-language-after-rust-and-zig-b5c2f44c0e57
 “Compile-time code in Flux is Flux. … anything you can do at runtime, in the 
same syntax” sounds nice in theory.

It’s apparently LLVM-based, though.

> would allow to have generics in the plan 9 codebase, and there are lots of 
> duplicated code in plan 9 that reimplements again and again a list, a 
> hashtbl, a growing array. 

Lack of shared data structure implementations is one of the main downsides to 
C.  What’s your favorite workaround?


------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Td859d3c6cefc922f-M5237c94b7097378624071f87
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to