Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JS] Implement Float16Array #33561

Open
8 tasks done
Tracked by #544
dipikabh opened this issue May 12, 2024 · 6 comments
Open
8 tasks done
Tracked by #544

[JS] Implement Float16Array #33561

dipikabh opened this issue May 12, 2024 · 6 comments
Assignees
Labels

Comments

@dipikabh
Copy link
Contributor

dipikabh commented May 12, 2024

Acceptance criteria

  • The listed features are documented sufficiently on MDN
  • BCD is updated
  • Interactive example and data repos are updated if appropriate
  • The content has been reviewed as needed

For folks helping with Firefox related documentation

  • Set bugs to dev-doc-complete
  • Add entry to Firefox release notes for enabled/preview features
  • Add/remove entry to Firefox experimental features page for preference/released features

Related Gecko bugs

Bug 1833647: Implement Float16Array

Features to document

From "Intent to prototype"

  • Summary: Float16Array is a new typed array analogous to existing typed arrays like Float32Array. Float16 is widely used for GPU computation in applications where speed and memory use are more important than precision; having Float16Array in JavaScript will facilitate passing data to the GPU.
  • Specification: https://github.com/tc39/proposal-float16array
  • Preference: javascript.options.experimental.float16array

Other

  • Check content open issues to see if any pertain to the subject matter. If there are any that can be closed because of the work, do so. If there are any that can be fixed relatively quickly because of the knowledge from completing this issue and you have time, feel free to go ahead and fix them.
@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label May 12, 2024
@dipikabh dipikabh added Content:JS JavaScript docs Firefox 127 and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels May 12, 2024
@Josh-Cena
Copy link
Member

I'll handle the docs part

@hamishwillee
Copy link
Collaborator

Thanks @Josh-Cena - when you're done cross link here please.

@hamishwillee
Copy link
Collaborator

hamishwillee commented May 20, 2024

Status:

Note, this is behind a pref that defaults to false. However some of the code in https://bugzilla.mozilla.org/show_bug.cgi?id=1833647 seems conditional on nightly, so I suspect at least the dataview stuff requires preview.

@hamishwillee
Copy link
Collaborator

@Josh-Cena Have you got a timeline/PR for the interactive examples part of this?

@Josh-Cena
Copy link
Member

I'm sorry, traveling for the past weeks. I will send a PR for the interactive example soon (this week). We would at least need BCD to be merged too though.

@hamishwillee
Copy link
Collaborator

Thanks. BCD merged yesterday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Review
Development

No branches or pull requests

3 participants