oracle / graaljs

GraalJS – A high-performance, ECMAScript compliant, and embeddable JavaScript runtime for Java
https://www.graalvm.org/javascript/
Universal Permissive License v1.0
1.82k stars 191 forks source link

Provide the WinterCG minimum common API #823

Open bakkot opened 5 months ago

bakkot commented 5 months ago

WinterCG is a group which aims to standardize common APIs for non-browser JS runtimes. It would be great if GraalJS could expose the minimum common API they define, or at least some reasonable subset thereof (it might make sense to exclude fetch and related APIs, for example).

sgammon commented 5 months ago

We are targeting WinterCG with Elide; we've authored many of the JS intrinsics needed. The project is open source and has MIT licensing. We would be happy to expose some of these intrinsics JVM side, in a Maven library, for anyone interested.