To me, the main draw looks to be the invariants that you can supply within functions, but this isn't a new concept outside of it being a dedicated keyword. Otherwise this looks like rust without all of the functionality
nm980 1 hours ago [-]
It looks like a mix between zig and rust I would say
yesbut 2 hours ago [-]
> You will notice the trust keyword here. Any operation (such as IO) that has an underlying unsafe mechanism (such as the @print builtin that std.stdio.print uses), must be explicitly trusted, as it is inherently impure.
just document the impure operations and stop forcing the programmer to type extra characters.
3 hours ago [-]
Rendered at 04:27:32 GMT+0000 (Coordinated Universal Time) with Vercel.
To me, the main draw looks to be the invariants that you can supply within functions, but this isn't a new concept outside of it being a dedicated keyword. Otherwise this looks like rust without all of the functionality
just document the impure operations and stop forcing the programmer to type extra characters.