Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
Others
5y ago
0 comments
Save
Share
I worked on one as an undergrad:
https://github.com/gwsystems/aWsm
Full AoT compilation, C programs run within 10% of native
0 comments
4 comments · 2 top-level
top
newest
oldest
heavyset_go
5y ago
· 1 in thread
10% difference from native, or 10% of native performance?
Others
OP
5y ago
10% worse performance. Not 10x worse :D
moonchild
5y ago
· 1 in thread
Since it compiles using llvm, what's the reason for the discrepancy?
Lost information about e.g. aliasing?
Others
OP
5y ago
Bounds checking, dynamic dispatch is more expensive, wasm semantics have no undefined behavior to exploit for optimizations. And there is bloat in the process. I’m sure losing information effects things as well
j
/
k
navigate · click thread line to collapse