Riya Amemiya

@riya-amemiya

V8 Contributor / Platform Engineer at Dinii Inc.

Commit activity

4 commits in the last year

longest streak 2 days

190 / 400 XP210 XP to maintainer
Riya Amemiya

X LinkedIn Zenn connpass Slides Links Sponsor

wakatime

日本語 | English

👋 About

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.

⚙️ V8 Contributions

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.

V8 Tools

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

📦 My OSS

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 npm
agrb Interactive CLI to safely rebase a branch onto another, using either cherry-pick or git rebase npm
agbd Interactive CLI to inspect and safely delete unnecessary Git branches npm
chtr Converts HTML strings into React elements npm
mojiyose A tiny, dependency-free library that converts between Japanese legacy encodings such as Shift_JIS and UTF-8 npm
happy-cracking A CTF toolkit written in Rust with 70+ commands crates.io
links Links to my accounts Web

🎤 Talks

All slides are available at amemiya_riya_slide_data. The talks are in Japanese.

Topic Title
V8 V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
V8 そのJavaScript、V8が泣いてます。V8の気持ちを理解して書くパフォーマンス最適化
V8 JavaScriptのNumberは1つじゃない?V8内部の型システムを覗く
V8 V8のTorqueを語りたい
V8 V8コントリビュート超入門
JavaScript 知ってた?JavaScriptの"正しさ"を検証するテストが5万以上もあること(Test262)
JavaScript Temporal 最高!でも改めて「日付」について調べたら人類の負債すぎる件
TypeScript IsAny はなぜ any だけを見抜けるのか
HTML 「え?!それ今ではHTMLだけでできるの!?」驚きの進化を遂げたモダンHTML
CSS 「え?!それ今ではCSSだけでできるの!?」驚きの進化を遂げたモダンCSS

✍️ Writing

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.

🛠️ Tech Stack

My area of expertise is web frontend, especially TypeScript and React.

Area Technologies
Languages Languages
Frontend Frontend
Backend Backend
Databases and ORM (not my strongest area) Databases and ORM
Infrastructure Infrastructure
Testing Tests
Dev Tools Tools
Editors and Design Editors and Design
OS OS

🎓 Certifications

Certification
JDLA Deep Learning for GENERAL (2023#4) JDLA Deep Learning for GENERAL
Python 3 Certified Practical Engineer Passed
TryHackMe TryHackMe

📊 GitHub Stats

Profile details Top languages by commit GitHub stats WakaTime stats WakaTime stats
Contribution calendar

Metrics

riya-amemiya/README.md on GitHub