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

[Question] Rocket Simple Hello World with wascc (wasm) #1474

Closed
david6983 opened this issue Nov 11, 2020 · 2 comments
Closed

[Question] Rocket Simple Hello World with wascc (wasm) #1474

david6983 opened this issue Nov 11, 2020 · 2 comments
Labels
question A question (converts to discussion)

Comments

@david6983
Copy link

I would like to know if the library is working with wasm usingwascc. My goal is to krustlet at the end.

Thanks by advance

@SergioBenitez SergioBenitez added the question A question (converts to discussion) label Nov 11, 2020
@jebrosen
Copy link
Collaborator

How were you thinking of putting these all together? I am not familiar with waSCC or krustlet, so I might misunderstand the question.

It looks like like there might be a few different ways to use waSCC, either alongside or instead of Rocket. The main example uses waSCC's HTTP server though, and I don't really know how difficult it would be to switch that part out for a Rocket-based server.

I have doubts that Rocket can run inside Krustlet without some pretty big changes. It looks like Rocket would have to compile to WASM in order to use it in krustlet, but WASM in rust doesn't seem to support the direct network connectivity that Rocket uses from std (and, in 0.5 once it's released, the tokio runtime - see also tokio-rs/tokio#1597).

@david6983
Copy link
Author

Ok thank you for your response I just wanted to ask if it was possible and I understand what you mean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question A question (converts to discussion)
Projects
None yet
Development

No branches or pull requests

3 participants