Ivan Krasilnikov

Results 8 issues of Ivan Krasilnikov

I'm trying to use libgranite from python via gir bindings and running into a couple of issues with them. First, .gir file that's produced during the build is missing a...

arraybuffer-base64 proposal introduces 4 new typed array methods (setFromBase64, setFromHex, toBase64, toHex) that break equality check in this test. Fixes #1996

The test uses a wrong combining sequence and fails on all modern Unicode 17 enabled engines. Canonical sequence for "ballet dancer: medium skin tone" is U+1F9D1 U+1F3FD U+200D U+1FA70. https://unicode.org/emoji/charts/full-emoji-modifiers.html...

`"BYTES_PER_ELEMENT,constructor"` check at [data-es6.js:7604](https://github.com/compat-table/compat-table/blob/gh-pages/data-es6.js#L7604) is broken for many recent engines (v8, jsc, spidermonkey, libjs, escargot, xs and kiesel among what I tested), because there are new methods being introduced: `setFromBase64,setFromHex,toBase64,toHex`...

Help wanted

Some JavaScript engines don't implement roped strings (e.g. QuickJS-NG) and thus repeated string concatenation here leads to quadratic runtime. Happened to [yt-dlp](https://github.com/yt-dlp/ejs/) - see https://github.com/bellard/quickjs/issues/445

I tried running boa f6601a049c322044b07825613f6768e82c0fca58 on a sample of YouTube's JavaScript challenge code obtained via yt-dlp and got panic "must be declarative environment" at core/engine/src/vm/opcode/define/mod.rs:82 **To Reproduce** yt-dlp.js: https://gist.github.com/ivankra/a950b2c37db48c66fe5dceb0acd8d874 ```...

bug

I'd like to suggest to implement tail-call dispatch in QuickJS. [Quick demo](https://godbolt.org/z/TPozdErM5) of what it is. This got recently done to [CPython](https://github.com/python/cpython/issues/128563) with great success, +5-10% performance. I've slapped together...

Running with --hostType=d8, evalScript keeps appending --expose-gc flag over and over again: https://github.com/tc39/eshost/blob/1614fb19e60c58b540c7523b8483b26820bf2a08/lib/agents/d8.js#L21 This should guarded like with node https://github.com/tc39/eshost/blob/1614fb19e60c58b540c7523b8483b26820bf2a08/lib/agents/node.js#L66