Skip to content

Commit 34f6b45

Browse files
committed
post/shennanigans_in_c.html: add bleak outlook for llvm
1 parent 1bfe684 commit 34f6b45

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

post/shennanigans_in_c.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,16 @@ <h2>C shennanigans: Pointers, sequence points and bit fields.</h2>
386386
pointer capability revocation on freeing memory with latest example
387387
being CheriBSD experimental userspace temporal memory safety (20240602).
388388
</li>
389+
<li><span>What to expect for the future.</span><br>
390+
LLVM support for full restrict has been merged, but
391+
<a href="https://www.reddit.com/r/rust/comments/1ft619r/llvm_rfc_improvements_to_capture_tracking/">
392+
it has design and quality problems</a>,
393+
so it looks like the C++ code base of LLVM prevents faster iterations
394+
and/or more fundamental changes, since the feature is in
395+
development for now ca. 5 years (since 2019).<br>
396+
Semantic implications are not communicated and neither formalized, so the future path remains unclear.
397+
This is reflected by <a href="https://github.com/rust-lang/rust/issues/107975">long-lasting miscompilation not getting fixed</a>.
398+
</li>
389399
</ol>
390400
</li>
391401
<li> <a id="pointer_construction_practice"><b>Pointer construction</b> in <b>practice</b></a>.

0 commit comments

Comments
 (0)