Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for composite types #1

Open
MikeInnes opened this issue Mar 14, 2018 · 0 comments
Open

Support for composite types #1

MikeInnes opened this issue Mar 14, 2018 · 0 comments

Comments

@MikeInnes
Copy link
Owner

I think this needs to happen at the level of Julia's IR. i.e. if a local variable contains a Tuple{Float64,Float64}, lower that to two local variables. We'll also need to track for each function how Julia-level locals and arguments map to WASM-level ones.

As a starting point we'll need a more flexible mapping to/from WASM types. I'm thinking something like

wtype(Float64) = (f64,)
wtype(Complex128) = (f64,f64)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant