Skip to content

Executable wasm files on Linux #91

New issue

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

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

Already on GitHub? # to your account

Closed
mgattozzi opened this issue Mar 17, 2018 · 7 comments
Closed

Executable wasm files on Linux #91

mgattozzi opened this issue Mar 17, 2018 · 7 comments

Comments

@mgattozzi
Copy link
Contributor

I managed to get wasm files as executables on Linux. I'll do a blog post and write up more about it later, but now it's possible so it would be interesting to see what we can do to explore this space even more.

@mgattozzi
Copy link
Contributor Author

@pepyakin I ended up using wasmi for this to invoke a binary file's "main" function. I've been trying to pass memory addresses such as strings across boundaries in order to print stuff out but that segfaults so all I can send back is numbers. I'm wondering if this is either a limitation of the interpreter or the environment? I'm not really sure but it would be cool if we could get println to actually work.

@pepyakin
Copy link
Member

@mgattozzi That sounds as something possible for me, so I think that I misunderstood you. Can you give me an example? Share the code?

@mgattozzi
Copy link
Contributor Author

@pepyakin I'm going to do a write up today and post the code with a more detailed explanation! I'll ping you when I have it done

@xtuc
Copy link
Member

xtuc commented Mar 17, 2018

I'm interested in this too, could you please post it here?

@mgattozzi
Copy link
Contributor Author

That is the plan! Mostly want to coordinate around this because there's some things that kind of tie into #16

@aidanhs
Copy link
Contributor

aidanhs commented May 28, 2018

https://github.com/cervus-v/cervus exists as well which seems related.

@ashleygwilliams
Copy link
Member

i'm not certain that this thread is the right place/way to track this. i think new wasm runtimes can be brought up in the News issue. currently a wasm runtime is not on this working group's roadmap. if/when it is, we'll find a place for this convo.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

5 participants