You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tristan Hume 2ec53fe128 Update readme 3 years ago
examples Janky vDSO support hack 3 years ago
src Many many comments 3 years ago
.gitignore Path tracer demo 3 years ago
Cargo.toml Path tracer demo 3 years ago
Dockerfile Add tmux to Dockerfile for kicks 3 years ago Update readme 3 years ago Get rust-analyzer working inside Docker 3 years ago LSP setup script 3 years ago


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/!. 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.


  • 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.