Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Added a WASM demo. #31

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Added a WASM demo. #31

wants to merge 1 commit into from

Conversation

dragostis
Copy link
Contributor

@dragostis dragostis commented Dec 23, 2022

Currently a draft because:

  • it only works on Chrome
  • it has poor performance on M1 caused by a bug in browsers (fixed in Chrome 112+ & Firefox 114+)
  • it renders incorrectly on Safari
  • it's missing build/run instructions

@dragostis dragostis force-pushed the wasm branch 5 times, most recently from 7b6fb14 to 5dddc28 Compare December 27, 2022 08:17
@yisibl
Copy link

yisibl commented May 16, 2023

it has poor performance on M1 caused by a bug in browsers

It looks like this was fixed in Chrome 112, can you try it?

@dragostis
Copy link
Contributor Author

@yisibl, it's fixed on Chrome 112+ and Firefox 114+. I updated the issue. There's still an issue on Safari though.

@dragostis dragostis force-pushed the wasm branch 2 times, most recently from f7d22e2 to bc7e40c Compare May 16, 2023 14:38
@dragostis
Copy link
Contributor Author

The issue on Safari seems to be caused by a discrepancy in the wasm128 SIMD implementation. The "visualize partial updates" button also seems to be broken.

@yisibl
Copy link

yisibl commented May 18, 2023

Hi @dragostis, can you add an example of rendering a static SVG in Wasm?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants