Skip to content

Support for trigonometric functions #1503

Open
@JeromeDesfieux

Description

@JeromeDesfieux

From my understanding, WebAssembly does not provide built in functions for trigonometry.
And as a consequence, the performance of such functions when porting from C++ (with Emscripten using musl implementation) are very bad. JavaScript is very much better.

That would be extremely nice if such functions can be builtin in WebAssembly. One of application domain of WebAssembly is running 3D/Graphics apps in near native C++ performance which is using a lot of trigonometry.

Please see emscripten-core/emscripten#19284 for more details and measures.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions