Very experimental WASM code generation by MST in contexts of Int and Real #158
No reviewers
Labels
No Label
bug
dependencies
discussion
documentation
duplicate
feature
good first issue
misc
performance
question
test
use case
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kscience/kmath#158
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/binaryen"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR enables WASM IR generation by MST. Produced expressions use native WASM instructions for
i32
(forkotlin.Int
) andf64
(forkotlin.Double
) types. In the context off64
,ExtendedField
operations are also supported (trigonometry, power, logarithm). Mathematical functions are taken from libm and precompiled for WASM.Theoretically, custom algebras codegen could be created, but in practice it is impossible:
F
Pull request closed