Xmchx's Blog
Life

2025-4-20 周记 0x00c

Share

Snake Rust WASM

Clone了一个Tsoding的项目,原来用C写的,这里我用Rust,感觉动画实现有点牛,一些数学知识学到不少。有些不必要的功能没有实现。
GitHub - Ysoding/snake-rust-wasm: Snake written in Rust and compilable to WebAssembly
核心特点是与平台无关,只要提供一个接口就行。

Read

How to Store Dotfiles - A Bare Git Repository | Atlassian Git Tutorial

里面介绍git写的也很好。

# 如何发现一个20岁时就值得投资的人

Virtualization with KVM

Complex systems tend to produce more copies of themselves, and computers are no exception to this self-referential behavior. Let’s see how virtualization and emulation work on the OS and machine levels.

JSLinuxVirtiokvm-ioctlsBook of crosvmKVM/ARM

Structured data encoding

Schema-based binary formats, and their associated languages, for specifying and serializing structured data. Design tradeoffs for RPCs, data archiving, OLAP, and embedded.

Protocol BuffersCap’n ProtorkyvApache ArrowCornflakes

Cap’n Proto有点牛逼,零开销,直接操作内存。

感觉有了AI,直接问AI了,总结啥的,日后有用到再看细节。