Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Switch back to 64-bit type in Jason and Client API #116

Open
alexlapa opened this issue Jul 1, 2020 · 0 comments
Open

Switch back to 64-bit type in Jason and Client API #116

alexlapa opened this issue Jul 1, 2020 · 0 comments
Labels
enhancement Improvement of existing features or bugfix k::api Related to API (application interface) tracking Tracks implementation of something waiting: materials There is a need for additional actions/info outside the issue/PR to continue its solving.

Comments

@alexlapa
Copy link
Collaborator

alexlapa commented Jul 1, 2020

Related to #115

Problem to solve

Jason uses wasm-bindgen to interop with JS, and exposing 64 bit types to JS will make wasm-bindgen to use BigInt64Array / BigUint64Array in its JS glue, which is not implemented or was implemented too recently in some UA's.

Proposal

Есть смысл вернуть u64 и не переживать по этому поводу, когда с поддержкой BigInt64Array и BigUint64Array все будет получше.

Как обстоят дела с поддержкой сейчас:

  1. Chrome - поддержку добавили в 66, у нас по другим причинам минимальная версия - 72. Хром не проблема.
  2. Firefox - поддержку добавили в 68, мы, мы можем в более ранние версии, но не суть, так как пользователи, согласно статистике, уже массово пообновлялись. Firefox не проблема.
  3. Сафари - поддержки нет и, судя по всему, не предвидится. Багрепорт тут.

Ждем апдейта сафари + достаточного утаревания нерабочих версий.

@alexlapa alexlapa added enhancement Improvement of existing features or bugfix k::api Related to API (application interface) tracking Tracks implementation of something waiting: materials There is a need for additional actions/info outside the issue/PR to continue its solving. labels Jul 1, 2020
@alexlapa alexlapa self-assigned this Jul 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Improvement of existing features or bugfix k::api Related to API (application interface) tracking Tracks implementation of something waiting: materials There is a need for additional actions/info outside the issue/PR to continue its solving.
Projects
None yet
Development

No branches or pull requests

1 participant