Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Dart SIMD use case.

未关闭
#5 11 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
dart, wasm

调研方向

先阅读 issue 文本和链接的 WebAssembly GC 讨论,以了解 Dart dart2wasm SIMD 扫描用例以及提议的多字节数组访问行为。未指定任何仓库文件或测试,也未定义完成标准;在开始实现之前,该 issue 需要一个具体提案或验收标准。

由索引模型根据 Issue 内容生成。

描述

Hello!

I just wanted to briefly share some use cases for this in the Dart world.

We are working on adding better SIMD support to the dart2wasm compiler in Dart.

One of the use cases we can't support right now is an efficient SIMD based scan.

To be able to efficiently scan through a byte stream (or a string to implement the memchr equivalent in Dart called indexOf) using SIMD we'd need to have the ability to reinterpret parts of the backing storage as appropriate types that allow us to cheaply treat a chunk of it as a SIMD type.

Here's some more Dart use cases from another perspective from @osa1 in https://github.com/WebAssembly/gc/issues/395#issuecomment-1630391803

An 8x unrolled SIMD based scan can achieve 120GB/s on a modern mac using NEON. It would be great if use cases like these could be opened up with this proposal. Experiments show that we are at least an order of magnitude away from being able to reach those numbers with wasm gc.

主要语言
WebAssembly
星标
4
派生
1
平均合并
16 小时 35 分钟
30 天内合并 PR
1

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

WebAssembly/multibyte-array-access 的其他 Issue

查看 WebAssembly/multibyte-array-access 的全部 Issue

相似的 Issue

更多 Compilers Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。