KermanX
banner
kermanx.github.io
KermanX
@kermanx.github.io
TS/RS dev | @sli.dev team member | Undergraduate at USTC.edu.cn
May 25, 2025 at 4:22 PM
Bringing Rust syntax to the JavaScript world with
@bikari.top.

Rust syntax + JavaScript runtime = "Rust with GC" (wtf

github.com/kermanx/js.rs
github.com
February 23, 2025 at 8:29 AM
I recently tried to implement a TypeScript type inferrer in ~6k lines of Rust. Most of the hardest features are already supported, but there is still a lot of effort to make it usable - and then Oxlint can use the type information for linting.

Repo: github.com/KermanX/simp...
January 25, 2025 at 10:42 AM
What if giving tree-shaker the ability to infer TypeScript types - Then oxlint can have partial type information🤯
January 6, 2025 at 4:20 PM
Tree Shaker now supports object property mangling!

Most importantly, (unlike some optimizers), Tree Shaker's object property mangling doesn't require any extra assumptions about the input code.

Demo:
December 25, 2024 at 11:53 AM
Reposted by KermanX
Just found that vue-tsc v2.2.0 was out with TypeScript 5.7 support!

Thank you @johnsoncodehk.bsky.social @bikari.top for the hard work! 🥹

github.com/vuejs/langua...
github.com
December 24, 2024 at 6:12 AM
Today I officially found an instructor for the research project of tree-shaker. Having lots to learn to become a real PL guy.
GitHub - KermanX/tree-shaker: 🌳🪚 An experimental tree shaker for JS based on Oxc (WIP)
🌳🪚 An experimental tree shaker for JS based on Oxc (WIP) - KermanX/tree-shaker
github.com
December 23, 2024 at 12:45 PM
Reposted by KermanX
🚀 Slidev v0.50.0 is out!

This version is packed with so many updates, @kermanx.github.io and the team were truly on 🔥

📤 Export your slides right from your browser
⚡️ Vite 6 and Jiti 2
🆚 Improved VS Code ext
🌈 Dropped Prism.js, fully on @shiki.style
🐞 A lot of bug fixes

github.com/slidevjs/sli...
Release v0.50.0 · slidevjs/slidev
🚨 Breaking Changes Remove prism support  -  by @KermanX in #1700 (01b35) Allow to remove shortcuts  -  by @twitwi and @KermanX in #1922 (a47b8)    🚀 Features Support snapshoting overview  -  ...
github.com
December 18, 2024 at 10:23 AM
Reposted by KermanX
🐍 Hey Python Folks! @kermanx.github.io Just made the Python Runner for Slidev, which allows you to edit and execute actual Python snippets during your presentation!

Give it a try, and we are excited to hear your ways of using it!
github.com/KermanX/slid...
GitHub - KermanX/slidev-addon-python-runner: A Slidev addon for running Python code in your slides.
A Slidev addon for running Python code in your slides. - KermanX/slidev-addon-python-runner
github.com
December 2, 2024 at 12:01 AM
Why is it so hard to support the `@__PURE__` annotation in my tree-shaker🥲 For DCE, it is just "remove the call if the return value is unused". But for tree shaking, I can't think of a correct & performance-acceptable way to support it.
November 28, 2024 at 9:38 AM
Interesting 😇
November 24, 2024 at 1:13 PM
Reposted by KermanX
▶️🦋
November 5, 2024 at 2:17 PM