Skip to content

Could we compile stylo/servo into web assembly easily? #28070

Answered by jdm
shiqimei asked this question in Q&A
Discussion options

You must be logged in to vote

The native dependencies like SpiderMonkey would cause problems. Similarly, all the code that currently depends on GL bindings like the WebGL implementation would interefere, and the networking code. In short, anything that is platform-specific in some way would likely need to be adjusted or rewritten to accomodate the new target. Also, it's not clear to me how easily threads translate to wasm right now, and Servo uses many threads. It would not be an easy project.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by jdm
Comment options

You must be logged in to vote
2 replies
@shiqimei
Comment options

@shiqimei
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants