Skip to content
This repository was archived by the owner on Jun 16, 2020. It is now read-only.
This repository was archived by the owner on Jun 16, 2020. It is now read-only.

Propose to phase 4 #32

Closed
Closed

Description

@Ms2ger

Entry requirements:

  • Two or more Web VMs implement the feature.
    • SpiderMonkey and V8 implement.
  • At least one toolchain implements the feature.
  • The formalization and the reference interpreter are usually updated (though these two can be done as part of step 3 at the Working Group chair's discretion).
  • Community Group has reached consensus in support of the feature.

Activity

  1. pinned this issue on Mar 24, 2020
  2. kripken commented on Apr 2, 2020

    @kripken
    Member

    For toolchain support in emscripten specifically we'll need to stop "legalizing" i64s into pairs of i32s, and handle the receiving of bigints in the JS support code. I hope to look into that soon.

  3. xtuc commented on Apr 11, 2020

    @xtuc
    Collaborator
  4. CryZe commented on Apr 11, 2020

    @CryZe

    wasm-bindgen allows the transformation of Rust's u64 and i64 to JS' BigInt https://github.com/rustwasm/wasm-bindgen/pull/188/files.

    That's more of a workaround though, rather than implementing the proposal. So just like emscripten, it would need to be rewritten.

  5. xtuc commented on Apr 11, 2020

    @xtuc
    Collaborator

    @CryZe you are right, I misread the PR. wasm-bindgen also lowers them

  6. kripken commented on Apr 11, 2020

    @kripken
    Member

    The emscripten work for BigInt has landed: emscripten-core/emscripten#10860

    That uses BigInts on wasm imports and exports of i64s, so it changes the FFI between wasm and JS. (So far we don't use BigInt64Array as that isn't on the FFI boundary, and the benefit to us isn't clear). Tested with v8, everything looks good.

  7. Ms2ger commented on May 12, 2020

    @Ms2ger
    CollaboratorAuthor

    CG approved in the 2020-05-12 meeting.

  8. unpinned this issue on May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions