HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Nuoji

no profile record

Submissions

Dismissing Olbers’ Paradox the right way

medium.com
1 points·by Nuoji·5 ปีที่แล้ว·0 comments

comments

Nuoji
·5 ปีที่แล้ว·discuss
Anyone trying to ”bust this myth” are to me suspect of either selling snake oil or just trying to defend their own mediocrity.

If anything the problem is usually understated, as a big problem in larger teams become people who actually add negative net productivity to a team. Also, not to be forgotten (and also covered in books like Waltzing with bears) are people who act as multipliers to the whole team by making the team “gel”.
Nuoji
·5 ปีที่แล้ว·discuss
A problem for Zig is the combination of unsigned overflow UB, implicit widening and always performing operations on the type size of the operands.

For example, let’s say you have `a = b + c` with b/c being i8 and a i32. This calculation is first performed as an 8 bit add, then extended to 32 bits. This is true for both Rust and Zig, but Rust requires an explicit cast to widen the result of `b + c`, making it obvious that an extension happens and that `b + c` is not performed in 32 bits. In Zig there is no such indication- you need to look up the definition of b and c. Other problems occur as well, that both C and Rust avoid in their own ways. Hopefully Zig can improve this situation.

See more here: https://c3.handmade.network/blogs/p/7651-overflow_trapping_i...
Nuoji
·5 ปีที่แล้ว·discuss
It assumes flow analysis is done though.