Rust에서 Pi 에이전트를 다시 구현했습니다: 10개 더 빠른 시작, 7개 더 적은 메모리

작성자

카테고리:

← 피드로
DEV Community · bigfish · 2026-10-01 개발(SW)

bigfish

I’ve been learning about the Pi agent and decided to rewrite it in Rust. Now that I’ve finished a lot of the work, I’d like to show how much faster Rust (rpi) is than TypeScript (Pi). Here are the results:

Metric rpi (Rust) Pi (TypeScript) Difference --version 17.5 ms 169.5 ms 9.7× faster Cold start 17.7 ms 189.5 ms 10.7× faster RSS when ready 12.0 MiB 91.5 MiB 7.6× smaller Install size 21.8 MiB ~385 MiB ~18× smaller

Rust is really cool!

Github:https://github.com/bigfish1913/pi-rust

Top comments (0)

Subscribe

Code of Conduct • Report abuse

For further actions, you may consider blocking this person and/or reporting abuse

원문에서 계속 ↗