|
|
|
|
|
by pcwalton
1704 days ago
|
|
Adding bounds checks and ASan is not an order of magnitude improvement over C. Chrome, for example, is doing all of this already in C++ in a more advanced way than anything I've seen in Zig. Clang offers UBSan [1], which is extremely advanced. Yet it is not enough. It is not a "nuanced and balanced" approach: Zig is simply not memory safe. [1]: https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#... |
|