Replies: 17 comments 39 replies
-
crypto.getRandomValues() |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
structuredCloneSee #684 . |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
crypto webcrypto (crypto.subtle) stream |
Beta Was this translation helpful? Give feedback.
-
WinterCG would likely be useful for what to possibly add, especially Common Minimum API. |
Beta Was this translation helpful? Give feedback.
-
Node-API... |
Beta Was this translation helpful? Give feedback.
-
atob , btoa See #1178 |
Beta Was this translation helpful? Give feedback.
-
ReadableStream (and TextEncoder/TextDecoder)I need ReadableStream https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream and it seems there's no easy way to polyfill it with reasonable performance right now. It's needed in combination with TextEncoder and TextDecoder for react-native to be able to support streaming responses in fetch. @tmikov are any of these APIs likely to get implemented in hermes at all? or anytime soon? They are supported in literally every other JS engine, browser or not. Hermes and react-native get continuously harder to use as more time goes by with missing APIs that are available everywhere else. Whether or not those APIs are part of the ECMAScript spec doen't make much practical difference when they're available and effectively standard everywhere. |
Beta Was this translation helpful? Give feedback.
-
TextDecoder |
Beta Was this translation helpful? Give feedback.
-
crypto.randomUUID()https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID |
Beta Was this translation helpful? Give feedback.
-
e.g.to be able to have built-in gzip support https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API |
Beta Was this translation helpful? Give feedback.
-
Read standard input into an |
Beta Was this translation helpful? Give feedback.
-
socket()posix socket access Pros:
Cons
|
Beta Was this translation helpful? Give feedback.
-
This is intended to be a discussion and collection of non-ECMAScript APIs that have been requested by the community for implementation in Hermes. While the position of the Hermes team has been that we can't afford to keep adding such "extended" APIs to the core of Hermes, we acknowledge that this is a real problem, since such requests have been made more than once and have remained more or less unaddressed.
The usual solution of "find an NPM" for the missing functionality is not satisfactory, because:
A good solution would at the very least have to overcome the following challenges:
Before we can start figuring out what a practical solution might be, we also need to understand which APIs need to be present.
Please comment with ideas or APIs that you would want to see out of the box.
Beta Was this translation helpful? Give feedback.
All reactions