3 ms·
"No hidden control flow" is completely orthogonal to "no implicit typing". I think anyone looking at Zig would immediately recognize that it is firmly in the ty
by int_19h 2y ago
"No hidden control flow" is completely orthogonal to "no implicit typing". I think anyone looking at Zig would immediately recognize that it is firmly in the type inference camp by choice.
As far as simplicity, I think their pitch is "simpler than Rust", not in absolute terms. The whole comptime thing is hardly simple in general.
- alpaca128 2y agoTheir pitch is "A Simple Language" as seen on the website.
- ablob 2y agoI think it is simple, but not easy to grasp. I might be quibbling over words, but these things are not quite the same in my eyes. simple <-> complex easy <-> difficult
- chamomeal 2y agoI know this gets shared all the time, but in case anybody in this thread hasn’t seen the rich hickey talk: https://youtu.be/SxdOUGdseq4?si=3sa6JRg6Ei1Cf_Wl https://youtu.be/SxdOUGdseq4?si=3sa6JRg6Ei1Cf_Wl
- binary132 2y agoI am not a big Zig aficionado but I definitely contrast it in my mind moreso with C and C++ rather than Rust. It definitely aims at being a “better C” sort of language moreso than a “better C++” which Rust seems to be focusing on.