Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

telefork

> 编程语言
Open source

Like fork() but teleports the forked process to a different computer!

610 stars0 likes1 views
WebsiteGitHub

About

Like fork() but teleports the forked process to a different computer!

telefork

Check out the blog post I wrote about this project!

Basically it's like the fork() syscall except it can fork a process onto a different computer. It does this using a bunch of ptrace magic to serialize the memory mappings of the process, stream them over a pipe and recreate them on the other end along with the registers and some other process state.

How it works

Read the code in src/lib.rs!. I specifically wrote it all in one file with tons of comments in an order meant to read top to bottom. Hopefully it should be easy enough to understand what it's doing, provided some familiarity with systems programming concepts.

Examples

  • basic and load: Save and restore a process state to a file
  • teleserver and teleclient: Fork a process to a remote server
  • yoyo_client and yoyo_client_raw: Execute a closure on a remote server by teleforking there and back
  • smallpt: Use yoyo to run a path tracing render on a remote server from a local executable.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言