This repository was archived by the owner on Apr 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -9,19 +9,20 @@ This in turn implies the kinds of things that unsafe code can rely on.
9
9
10
10
We're still in the 'data gathering' stage of this effort. Therefore,
11
11
this repository currently consists of a series of examples scraped
12
- from various comment threads. These are broken into two categories:
12
+ from various comment threads. Each example is defined by a markdown
13
+ file based on ` template.md ` . These examples are broken into two
14
+ categories:
13
15
14
16
- ` litmus_tests ` -- bits of unsafe code that someone might write;
15
17
eventually, we may decide that some of these bits of unsafe code are
16
18
illegal and hence might trigger undefined behavior.
17
19
- ` optimizations ` -- transformations the compiler might want to
18
20
perform; eventually, we may decide that some of these bits of unsafe
19
21
code are illegal and hence the compiler could not do them.
20
-
22
+
21
23
Naturally these two things are in tension. That is, the more
22
24
optimizations the compiler can do, the fewer litmus tests will be
23
- legal. Eventually I would like to make a nice chart indicating which
25
+ legal. Eventually, it would be nice to have a chart indicating which
24
26
tests are in conflict with which optimizations.
25
27
26
- For each example, I include a markdown file
27
28
You can’t perform that action at this time.
0 commit comments