awslabs / llrt

LLRT (Low Latency Runtime) is an experimental, lightweight JavaScript runtime designed to address the growing demand for fast and efficient Serverless applications.
Apache License 2.0
7.76k stars 342 forks source link

[WinterCG] Does not support EventTarget #262

Closed shirakaba closed 5 days ago

shirakaba commented 3 months ago

It appears that LLRT implements events, but not EventTarget. Unsure whether it feels out-of-scope for a server runtime, but I've always thought it's a nice API.

I'm working on a standalone library for adding the Node.js core implementation of EventTarget to any JS engine, if it'd be of any interest. It is, however, written in JS rather than Rust.

richarddavison commented 3 months ago

Hi @shirakaba. Yes, we're planning to support EventTarget but we ideally want to do this in rust for performance reasons :)