Replies: 5 comments 4 replies
-
There are apparently discussions about removing the restrictions for SharedArrayBuffer:
|
Beta Was this translation helpful? Give feedback.
-
related: whatwg/html#6364 |
Beta Was this translation helpful? Give feedback.
-
Does this correspond to what MapLibre JS and Cesium JS are doing with WebWorkers? If I recall correctly, the serialisation problem is the same in JS, therefore, I wouldn't worry too much about the performance penalty. The main difficulty is probably to come up with an understandable design. |
Beta Was this translation helpful? Give feedback.
-
I drafted a first idea: #79 |
Beta Was this translation helpful? Give feedback.
-
Seems like bevy has the same problem (obviously): bevyengine/bevy#4078 |
Beta Was this translation helpful? Give feedback.
-
maplibre-rs currently requires that the host site, which runs maplibre-rs needs to be "corss-origin isolated". This is a quite strict requirement: https://web.dev/coop-coep/
The reason for this requirement is the usage of
SharedArrayBuffer
. I see three possible solutions for this problem:SharedArrayBuffer
are lowered in the next 2 years.More Info: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/Planned_changes
Beta Was this translation helpful? Give feedback.
All reactions