Proposal: deprecate JavaScriptCore as a supported Android runtime
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 18/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- android, cpp, javascript
- 领域
- ci-cd, mobile-dev
调研方向
Start by locating where the bundled Android JavaScriptCore package and its build switches are defined, plus the Android entries in the CI matrix; issue #2101 is the concrete case that motivated this. The proposal asks for a benchmark comparison of packaged V8 (JIT and JITless) on a low-memory arm64 device, so read the existing Android build and test setup before proposing numbers. "Done" here means a decision plus a documented migration path and notice period, not a code change.
由索引模型根据 Issue 内容生成。
描述
Could we deprecate the bundled Android JavaScriptCore runtime, with a migration window before removing the Android build and CI jobs? Apple system JavaScriptCore is outside the scope of this proposal.
The original mobile trade-off has changed: V8 supports JITless execution and has memory and GC optimizations for low-memory devices. That gives Android embedders alternatives worth testing; it doesn't establish that one runtime wins on every app.
One concrete maintenance cost came up testing transferable ArrayBuffers in dedicated workers (#2101). On a physical first-generation Oculus Quest, the Android JSC package lacks the detach operation we need for sender-side ownership transfer. Copying the bytes without detaching would change observable JS behavior. On the same headset the packaged JIT-enabled V8 ran the worker suite. Android JSC is a bundled dependency here, unlike Apple's OS-provided framework.
Suggested decision process:
- Ask Android JSC users what constrains migration (ABI, policy, package size, memory budget, or features). Keep CI running during deprecation.
- Compare packaged V8 in normal and JITless configurations on a low-memory arm64 device: cold start, APK size, steady and peak PSS, GC pauses, Worker startup and ArrayBuffer transfer. Check required WebAssembly and Intl features separately; JITless is not a drop-in promise for either.
- Document a supported migration path and notice period. Remove only the Android JSC package, build switches and CI matrix entries after that period; retain Apple JSC and independent support for other Android engines.
Would maintainers and current Android JSC users support this direction? Are there workloads that should be in the comparison before deciding?
- 主要语言
- C++
- 星标
- 931
- 派生
- 169
- 平均合并
- 2 天 17 小时
- 30 天内合并 PR
- 66
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
BabylonJS/BabylonNative 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
BabylonJS/BabylonNative#2138 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
BabylonJS/BabylonNative#2042 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
BabylonJS/BabylonNative#2052 ·
维护者通常 1 天内回复
-
testing
难度 4/5 3-5 天 新手友好度 45/100
BabylonJS/BabylonNative#2136 ·
维护者通常 1 天内回复
-
Support useNDCHalfZRange (half-range NDC depth) so Babylon.js half-range depth visual tests can run未关闭
难度 4/5 3-5 天 新手友好度 48/100
BabylonJS/BabylonNative#2134 ·
维护者通常 1 天内回复
查看 BabylonJS/BabylonNative 的全部 Issue