Advertisement · 728 × 90

Posts by Sam Zhou

Preview
Introducing Pyrefly: A new type checker and IDE experience for Python Today we are announcing an alpha version of Pyrefly, an open source Python type checker and IDE extension crafted in Rust. Pyrefly is a static typechecker that analyzes Python code to ensure type c…

Got my first mention on the engineering blog. My proudest contributions are parallel recheck and IDE services, and indexing based global find references.

engineering.fb.com/2025/05/15/d...

10 months ago 1 0 0 0
Preview
SamChou19815/packages/vscode-intentionally-slow-extension at main · SamChou19815/SamChou19815 A monorepo of Sam's smaller projects. Contribute to SamChou19815/SamChou19815 development by creating an account on GitHub.

It's the third time at work where I find that another slow VSCode extension is slowing things down for a fast language extension. I will write more in detail about this later, but there is the quick test results with an intentionally slow extension:
github.com/SamChou19815...

1 year ago 1 0 0 0

To have actual good DX, Rust probably needs to be forked to have GC and make the common case of sharing structs better, but I couldn't stop imagine a much better world where we have **fearless** concurrent mode + auto memo.

1 year ago 0 0 0 0

e.g. normal props and ref props need to be separate, so mutating props (maybe even access ref in render) will be impossible.

1 year ago 0 0 1 0

What will React look like if it's in Rust? A lot of APIs will be different and heavily bend by the borrow checker, but at the same time an entire class of react-rule violations will be impossible by construction.

1 year ago 1 0 1 0