emscripten-core / emscripten-core/emscripten
Branch hinting status?
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Branch hinting proposal is standardized for WebAssembly, yet I see not a single mention of taking advantage of it when compiling code with Emscripten.
Can we use `[[likely]]`, `[[unlikely]]` attributes along with C++20 and are they going to be translated to WASM branch hints? If no, are there some Emscripten-specific attributes that do this? Does this require some compilation flags?
Contributor guide
Assessment
This issue has not been assessed yet.