Skip to content

Commit ba18a80

Browse files
committed
Iterate towards optimized
1 parent 69e5b05 commit ba18a80

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ defw GET(path_and_query: Input.Str, headers: Input.Str) :: {MediaType, Output.Ra
7777
defw POST(query: Input.Range, body: Input.Range) :: {MediaType, Output.Range}
7878
```
7979

80+
## Iterate towards optimized
81+
82+
1. Start with a simple implementation in WebAssembly, called the “prototype”.
83+
2. Derive contracts that specify behavior — e.g. for this input expect this output.
84+
3. Use a LLM to refactor: add SIMD, try different algorithms, port to a different language.
85+
4. Use fuzz A/B testing to compare the base prototype implementation to the optimized one.
86+
5. You are guaranteed that the optimized implementation has the same security as the base one.
87+
8088
## Testing
8189

8290
```sh

0 commit comments

Comments
 (0)