Upgrade to Pro — share decks privately, control downloads, hide ads and more …

libsyncrpcってなに?

Avatar for uhyo uhyo
June 06, 2025

 libsyncrpcってなに?

2025-06-06 TSKaigi 2025事後勉強会 —— まだまだ型りたい

Avatar for uhyo

uhyo

June 06, 2025
Tweet

More Decks by uhyo

Other Decks in Technology

Transcript

  1. その中に気になる記述が…… Because so much TypeScript API usage today is synchronous,

    we wanted to make it possible to communicate with this process in a synchronous way. Node.js unfortunately doesn’t provide an easy way to communicate synchronously with a child process, so we developed a native Node.js module in Rust (which should make lots of people happy) called libsyncrpc. 4
  2. その中に気になる記述が…… Because so much TypeScript API usage today is synchronous,

    we wanted to make it possible to communicate with this process in a synchronous way. Node.js unfortunately doesn’t provide an easy way to communicate synchronously with a child process, so we developed a native Node.js module in Rust (which should make lots of people happy) called libsyncrpc. 5
  3. パフォーマンス libsyncrpcを用いたAPI呼び出しのパフォーマンス はどうか? What we've found is fairly promising -

    while IPC overhead is not entirely negligible, it is small enough. What is the API story for this new codebase? https://github.com/microsoft/typescript-go/discussions/455 9