2 ms·
1. it is possible to do code annotations in zig even though i havent implemented it in this iteration of clr (the first poc demonstrated this). i want to see
by dnautics 3mo ago
1. it is possible to do code annotations in zig even though i havent implemented it in this iteration of clr (the first poc demonstrated this). i want to see how far i can get without them.
2. let's take double free (easiest to explain).
you dont have to tag ownership, you can be agnostic about who should free, and merely report if two nondisjoint code paths attempt to free the same memory.
- Ar-Curunir 3mo agoRe 1: that doesn't help with Zig code that doesn't use your annotations. In contrast, Rust forces all code to use annotations. Re 2: that still looks to me to be a runtime check.