Cam McHenry

287 posts

Cam McHenry banner
Cam McHenry

Cam McHenry

@cammchenry

Software engineer @github • core team member https://t.co/EVvYmmTXSc • opinions are all mine • married to @miranda_auhl • ✝️ • he/him https://t.co/QFkQwwdcyu

State College, PA Katılım Mart 2010
233 Takip Edilen224 Takipçiler
Cam McHenry
Cam McHenry@cammchenry·
@iansan5653 same! apparently all I had to do to cameo in a keynote is go on parental leave
Cam McHenry tweet media
English
0
0
1
15
Cam McHenry retweetledi
Boshen
Boshen@boshen_c·
We also teach how to profile with detailed instructions. @cammchenry just added a section on how to get CPU cache misses with Mac instruments. oxc.rs/docs/contribut…
English
0
10
45
4K
Cam McHenry retweetledi
Ryan Leckey
Ryan Leckey@mehcode·
Oxlint is the future. 🏇 From 18.83 seconds to 0.63 seconds. 68k SLOC. 🧙 True magic. Thank you @boshen_c and team. #RustLang
English
1
7
44
11.4K
Cam McHenry
Cam McHenry@cammchenry·
@boshen_c Really excited for folks to try this one out! I would love to hear about real-world improvements from this if anyone tries it on their codebase 👀
English
1
0
6
267
Boshen
Boshen@boshen_c·
Small file optimization: linting the vscode repo is 1.33x faster than the previous version, by @cammchenry Source: #issuecomment-2427882223" target="_blank" rel="nofollow noopener">github.com/oxc-project/ox…
Boshen tweet media
English
1
1
48
3.1K
Cam McHenry
Cam McHenry@cammchenry·
This optimization gets better with more rules and plugins: linting the VS Code repository on my M1 laptop with ALL plugins and 430 rules enabled is 1.45x faster and shaves off around 1 second of time. This pretty much best case scenario though: it's more typically 10-20% better.
Cam McHenry tweet media
Boshen@boshen_c

Small file optimization: linting the vscode repo is 1.33x faster than the previous version, by @cammchenry Source: #issuecomment-2427882223" target="_blank" rel="nofollow noopener">github.com/oxc-project/ox…

English
0
0
2
355
Cam McHenry
Cam McHenry@cammchenry·
@boshen_c I don't know why this code is so much slower in only one case 😭
English
0
0
0
55
Cam McHenry
Cam McHenry@cammchenry·
Oxlint is now up to 6% faster when linting the VS Code repository with the Jest plugin (and up to 4% faster with them disabled)
Cam McHenry tweet media
English
1
2
15
2.2K
Cam McHenry
Cam McHenry@cammchenry·
It also made it 26% slower for another file unfortunately, so I still need to look into why that is:
Cam McHenry tweet media
English
0
0
0
64
Cam McHenry
Cam McHenry@cammchenry·
It's amazing how cache locality can change performance. I updated some code in oxlint to use an iterator and only iterate once, versus three times, and it made the code up to 30-38% faster: github.com/oxc-project/ox…
Cam McHenry tweet media
English
1
0
7
787
Cam McHenry
Cam McHenry@cammchenry·
Copilot has been great for coding with one hand. I can hold my 4 week daughter with one hand, and I can type a few letters with my other hand and it usually saves me a ton of keystrokes.
English
1
1
4
360
Cam McHenry retweetledi
Boshen
Boshen@boshen_c·
Announcing alpha release for Oxc's JavaScript transformer. * Transform TypeScript & JSX to ESNext. * Built-in React Refresh. * TypeScript Isolated Declarations DTS Emit. * Faster, less memory and smaller package size than previous solutions. oxc.rs/blog/2024-09-2…
English
10
66
503
86.1K
Cam McHenry
Cam McHenry@cammchenry·
Also, memory safety aside, I would use Rust just for the ecosystem and tooling: cargo, regex, doctests, docs.rs, criterion, etc.
English
0
0
1
49
Cam McHenry
Cam McHenry@cammchenry·
Coming back to @rustlang after several years, and everything has improved so much. Things are faster, so many more APIs, and it feels easier to get things to compile.
English
1
0
2
105