Sam Zhou's Avatar

Sam Zhou

@developersam.com

I work on undecidable problems

42
Followers
33
Following
5
Posts
27.10.2024
Joined
Posts Following

Latest posts by Sam Zhou @developersam.com

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

15.05.2025 19:46 ๐Ÿ‘ 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...

06.01.2025 02:17 ๐Ÿ‘ 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.

24.11.2024 04:31 ๐Ÿ‘ 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.

24.11.2024 04:31 ๐Ÿ‘ 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.

24.11.2024 04:31 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0