oracle / graaljs

A ECMAScript 2023 compliant JavaScript implementation built on GraalVM. With polyglot language interoperability support. Running Node.js applications!
Universal Permissive License v1.0
1.7k stars 185 forks source link

Provide the WinterCG minimum common API #823

Open bakkot opened 1 month ago

bakkot commented 1 month 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 1 month 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.