Hi, I'm Riya.
I work as a Platform Engineer at Dinii Inc.
As a V8 contributor, I mainly work on speeding up Array.prototype builtins.
I also help run conferences as a TSKaigi staff member, write articles on Zenn, and speak at meetups and conferences.
I work on performance improvements and bug fixes for V8 builtins.
The background and benchmark results of each optimization are written up on Zenn (in Japanese).
| Target | Change | Result | Article |
|---|---|---|---|
Array.prototype.flat |
Added a Torque fast path | Up to ~5x faster | Zenn |
Array.prototype.flat |
Added bulk copy to the fast path | A further ~5x faster | Zenn |
Array.prototype.copyWithin |
Added a Torque fast path | Up to ~450x faster | Zenn |
Array.prototype.fill |
Skipped per-element stores for Smi and double values | Up to ~7x faster | Zenn |
Array.prototype.lastIndexOf |
Specialized by ElementsKind | Up to ~26000x faster | Zenn |
Beyond performance work, my changes include fixes for Intl.DateTimeFormat and Temporal, and support for spread arguments in direct eval.
All of my changes are listed in the V8 commit history.
| Repository | Description |
|---|---|
| vscode-torque-fork | VS Code extension for V8 Torque. Runs a Torque compiler written in Rust as WebAssembly to provide go to definition, completion, diagnostics, and formatting |
| v8-performance-viewer | Runs the same benchmarks on multiple V8 versions and visualizes the speed difference on the web |
| v8-deep-dive | A single-page technical guide to V8 internals, memory management, Torque, arrays, and Array.prototype.flat |
| Repository | Description | Package |
|---|---|---|
| UMT | A dependency-free collection of useful functions. The TypeScript implementation is the source of truth, with ports for Python, Rust, and WebAssembly | |
| agrb | Interactive CLI to safely rebase a branch onto another, using either cherry-pick or git rebase |
|
| agbd | Interactive CLI to inspect and safely delete unnecessary Git branches | |
| chtr | Converts HTML strings into React elements | |
| mojiyose | A tiny, dependency-free library that converts between Japanese legacy encodings such as Shift_JIS and UTF-8 | |
| happy-cracking | A CTF toolkit written in Rust with 70+ commands | |
| links | Links to my accounts | Web |
All slides are available at amemiya_riya_slide_data. The talks are in Japanese.
I write articles in Japanese on Zenn.
The drafts are managed in amemiya_riya_zenn_data.
Articles about V8 optimizations are listed in V8 Contributions above.
- 最近のHTMLを改めてちゃんと学んでみた
- 最近のCSSを改めてちゃんと学んでみた
- え?まだgit checkoutしてるの?
- TryHackMeでHackerになった話
- git rebaseが難しすぎたので、自動化CLI作った
- V8に初めてパッチを出すための手引き
My area of expertise is web frontend, especially TypeScript and React.
| Area | Technologies |
|---|---|
| Languages | |
| Frontend | |
| Backend | |
| Databases and ORM (not my strongest area) | |
| Infrastructure | |
| Testing | |
| Dev Tools | |
| Editors and Design | |
| OS |
| Certification | |
|---|---|
| JDLA Deep Learning for GENERAL (2023#4) | ![]() |
| Python 3 Certified Practical Engineer | Passed |
| TryHackMe |
