01:41
<DerekNonGeneric>
there was a dark mode too
04:10
<Widdershin>

Hi folks, had some good successes using the Web IDL standard to implement bindings between mruby and browser APIs. The @webref/idl package made this especially easy, thanks for providing that.

While generating bindings works well, it feels like there are some fairly severe issues with this approach for a dynamic language. My current generated bindings are 800kb, which is non-trivial for a webapp, especially on top of the mruby interpreter and emscripten runtime. This isn't too bad with caching but will still be a show-stopper for many users.

I was wondering if there's ever been any interest in providing a JavaScript API that can be used to load Web IDL bindings directly from the browser at runtime. This would allow dynamic languages to lazily bind to Web APIs as necessary, saving on the need to send and process all bindings upfront.

04:12
<Widdershin>
As it stands, I think I'll have to opt to create bindings for JavaScript objects at runtime based on reflection (or just depressing method_missing hacks), which is a shame since I do really like having classes generated with all the proper metadata.
07:32
<annevk>
Jeffrey Yasskin: TabAtkins mentioned he might do something about it, I don't have the bandwidth at the moment
15:37
<TabAtkins>
yes, it's on my plate, tho i'm rather busy this month
15:38
<TabAtkins>
but generally i want to adapt the current w3c layout to whatwg, plus darkmode
21:07
<smaug>
annevk: I was mumbling to krosylight how rarely I write spec prs and how I always need to go through all the documentation scattered in random places before writing the pr (well, first I need to always find the documentation). It would be really nice to have some step-by-step documentation for all the normal tooling around spec writing.
21:07
<smaug>
I wonder if you or Domenic had time to write something down.
21:14
<krosylight>
There are https://respec.org/docs/ and https://tabatkins.github.io/bikeshed/ but maybe it's not easy enough to find them