File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,11 @@ This library is an experiment and not intended for use. See the
10
10
1 . Memory safety should be the default. You don't pay (in bugs and CVEs) for
11
11
premature optimization you didn't need.
12
12
* Leaving this path should require more typing, and a clear signal what is
13
- happening. We will use either a naming convention, or a marker argument
14
- type, to do so in place of [ a language keyword] (
13
+ happening. We will use [ a naming convention of "unchecked"] (
14
+ https://github.com/chromium/subspace/blob/9d0ae908aa8a98d11f78e0315470be64b97a0dbe/mem/nonnull.h#L31 ),
15
+ and [ a marker argument type of ` UnsafeFnMarker ` ] (
16
+ https://github.com/chromium/subspace/blob/main/marker/unsafe.h ),
17
+ to do so in place of [ a language keyword] (
15
18
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/unsafe ).
16
19
1 . KISS Principle
17
20
* "most systems work best if they are kept simple rather than made
You can’t perform that action at this time.
0 commit comments