emscripten-core / emscripten-core/emscripten

Branch hinting status?

Open
#25,059 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.