News for hackers. Stuff that matters.
Re:Why I rewrote my Rust keyboard firmware in Zig: consisten... by roca on Monday March 08, 2021 @08:22AM (#26385406)
> Choosing to forego generics and do everything with a comptime abstraction makes Zig a lot easier to understand, compared to Rust generics and traits. The downside is that documentation and predictability suffers.

If I understand correctly it also means that Zig will never support inference of generic type parameters. Not a dealbreaker, but unfortunate.

I also wonder how relying on comptime for all these things will affect IDE support. I guess the IDE will need to run these comptime computations a lot.

There are no comments on this comment yet.