Proposal: deprecate JavaScriptCore as a supported Android runtime
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 18/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- android, cpp, javascript
- Ambito
- ci-cd, mobile-dev
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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?
- Lingua principale
- C++
- Stelle
- 931
- Fork
- 169
- Merge medio
- 2g 17h
- PR unite (30g)
- 66
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di BabylonJS/BabylonNative
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
BabylonJS/BabylonNative#2138 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
BabylonJS/BabylonNative#2042 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
BabylonJS/BabylonNative#2052 ·
I maintainer di solito rispondono entro 1 giorno
-
testing
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
BabylonJS/BabylonNative#2136 ·
I maintainer di solito rispondono entro 1 giorno
-
Support useNDCHalfZRange (half-range NDC depth) so Babylon.js half-range depth visual tests can runAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
BabylonJS/BabylonNative#2134 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di BabylonJS/BabylonNative
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
simnJS/AnyPS5#735 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-format
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Niko1221/Strata#7719 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
-
area:tests kind:test
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno