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

[GR-44402] Implement Explicit Resource Management #858

Open fniephaus opened 1 month ago

fniephaus commented 1 month ago

TL;DR

We plan to implement Explicit Resource Management in GraalJS.

Details

This proposal introduces syntax and semantics around explicit resource management, a feature similar to Java try-with-resources, C# using, and Python with syntax.