diff options
Diffstat (limited to '')
| -rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -67,6 +67,11 @@ In `03_threads` we build a more complicated example based on | |||
| 67 | example, the web server has to be configured to provide the correct | 67 | example, the web server has to be configured to provide the correct |
| 68 | `Cross-Origin-*` headers, see `03_threads/run-server.sh` for details. | 68 | `Cross-Origin-*` headers, see `03_threads/run-server.sh` for details. |
| 69 | 69 | ||
| 70 | There is also a piece of code meant to run this more complicated library | ||
| 71 | function natively (`native.c`). It can be used, for example, to compare | ||
| 72 | the performance of native code vs WASM running in Node.js. You can | ||
| 73 | build it with `./build-native.sh` and run it with `./build/native`. | ||
| 74 | |||
| 70 | ## 4. Don't block the main thread | 75 | ## 4. Don't block the main thread |
| 71 | 76 | ||
| 72 | In `04_no_block` we avoid our calculations blocking the main browser | 77 | In `04_no_block` we avoid our calculations blocking the main browser |
