This might be heresy but:
1. Code reviews are a massive productivity tax with tiny quality benefits
2. They should not be mandated
3. The author should feel free to request a review if they want it
4. If you don't trust your engineers, invest more in CI, or hire better ones
I'm bullish on @adityazero_' s Vx lang
The compiler frontend is the final evolution of Zig's super data-oriented compiler but he fixed the final boss which is making semantic analysis ultra-parallel and fast
It also has the good shit you expect from a language like Rust:
- linear types and borrow checker like Rust
- generics and traits
- contracts and verification built into the language
- AND "heterogenous computing" so you can encode memory from different machines in the type system so e.g. dereferencing device pointer from host is a type system error rather than segfault
The easiest way for a systems programming language to match C/C++ in performance is by designing a language that empathizes with the compiler.
A systems programming language losing to C/C++ is DOA.
And in order to stay competitive, a powerful lowering mechanism is needed. To achieve that, Vx relies heavily on MLIR. So much so that the 'inline asm' of Vx is 'mlir!' macro. If you look at https://t.co/AGednWygHR for example:
```mlir
fn leading_zeros(self : $t) -gt; $t {
return mlir!( inputs : (%a = self : $t), returns : $t, dialects : [math]) {
%r = math.ctlz %a : $t macro.yield %r : $t
};
}
```
The `mlir!` macro lowers to MLIR directly. math.ctlz already knows how to become lzcnt on x86 and clz on ARM. This avoids writing (+maintaining) complex math routines for a variety of hardware.
My coworkers and I have noticed those who are top players in videos games tend to be cracked engineers.
If you’re one of them, I want to hire you. Come build in SF with me, we’re building something incredible at @vitalize_care