OJ Kwon (@_ojkwon) profile picture

Coffe in, bug out

Joined April 2015
Photo by OJ Kwon (@_ojkwon)Photo by OJ Kwon (@_ojkwon)Photo by OJ Kwon (@_ojkwon)Photo by OJ Kwon (@_ojkwon)Photo by OJ Kwon (@_ojkwon)Photo by OJ Kwon (@_ojkwon)Photo by OJ Kwon (@_ojkwon)Photo by OJ Kwon (@_ojkwon)Photo by OJ Kwon (@_ojkwon)Photo by OJ Kwon (@_ojkwon)
Rstest is one the few (or only?) test framework integrates swc's istanbul coverage instrumentation plugin instead of re-transpiling with babel+istanbul.
Rstest v0.4.0 ships with code coverage support 🚀
3
16
2,574
Omg it's the day
Y’all there are observables in your browser right now. if you are in a chromium based browser, that is up-to-date, open your console and type the word “Observable”
1
1
7
1,952
Highly recommend @rspack_dev if your codes are based on legacy webpack and would like to migrate seamlessly. Completed my work's replacement - prod ~1000% faster, HMR avg > 300% and up to 1000%. The bigger thing is we had 0 regressions, configuration migration was seamless.
1
4
20
2,519
Feeling surreal this is really happening.
🚨🚨🚨 It's happening!! If you'd like to know why RxJS 8 development halted about a year ago, this is why. Future versions of RxJS will align with and use native observables! The journey to standardization (in different venues) has gone on for 10 years. There's a lot more to do now, but this is huge.
2
193
👏🏻 to @rspack_dev team for the work to support seamless webpack migration + performance boost. Launched dev beta for the internal app with rapack 1.1 and HMR gots more than 2x faster at minimum. (If anyone asks why no Turbopack, this isn't next.js app)
1
11
969
Dust off swc-plugin-coverage-instrument (npmjs.com/package/swc-plugin…), published a new version. This pkg prpvides instanbuljs-compatible coverage with @swc_rs . The latest version have a new `unstableExclude` option to allow glob pattern to exclude certain file from instrumentation.
2
3
539
Published a new version of woodpile (npmjs.com/package/woodpile), @swc_rs ast visitor in javascript. Fixed ast mutation, now `visit` returns mutated ast as js object.
4
9
1,565
Wrapping up my journey at Vercel and trying to go back to writing some more Typescript-y things. Still love Rust and hope to get back to some SWC work too.
3
348
Got the port of VS code's Blanché to @zeddotdev , if anyone want to minimal monochrome editor experience: gist.github.com/kwonoj/96abc…
2
6
1
49
9,593
In the mood of side project but afraid of not able to build working poc until long weekend
1
1
663
Having a reliable, isolated repro to bug report is one of the greatest way to help OSS maintainer for the OSS you use / like. Also, it'll help you as well as maintainers are likely can pick up the issue easier / faster.
1
1
6
1,123
Today's mood
2
579
This is the first time I tried to use node.js's built in test runner, not a bad out of the box experience. I'd use other runners still for the complicated setups, but for the small things this would be useful. Not able to use @wallabyjs is one bad thing.
1
512
Releasing woodpile, a utility library for @swc_rs to walk its AST in JavaScript. A thin layer to SWC's internal rust visitor so can have the same behavior as it. Useful for quick traverse, or duck-type poc Wasm plugin. github.com/kwonoj/woodpile
5
14
45
7,794
Do you know @swc_rs have an existing JS api for its ecma parser? Have you used over other parsers like acorn, babel-parser? If you choose other parser instead, any reasons?
44%Didn't know parser exists
22%Yes, used / will use it
33%No, didn't work for me
9 votes • Final results
1
304
Turbopack gets @swc_rs wasm plugin support: github.com/vercel/next.js/re… This took longer than I expected and some small glitches, but core features are working.
3
1
12
1,556
A proof of concept demo plugin for @swc_rs that compile-time evaluates some codes: github.com/kwonoj/swc-plugin… turns "const x = preeval`1+1`;" to "const x = 2;", backed by @boa_engine . This is nowhere close to prod though - a dirty demo swc plugin can potentially embed js engine.
1
3
10
1,636
Sort of my "endgame" setup with @kinesisergo for a while, debating trackball setup though. I chose Durock Smokey L7 Ultralight Linear via @UpgradeKB , and highly satisfied with it - I enjoyed the usual lightweight cherry red, silver and this one is so far my favorite.
2
3
376
connortumbleson.com/2022/11/… The things I learned are also similar. Adding new features is *very expensive* for long-term project support: I get a question 'This is a small feature, why it's not in core?' bit frequently.
1
1
10
But in reality, it only accounts for the immediate work to enable those features: Widen api surface, maintaining semver compatilibity, bugfixes, docs, and if it needs to be discontinued an effort for the migration paths. These are N years-taking effort project need to carry over.
1
Typical holiday mood - An idea for a side hobby project - Spending a couple of days for the fancy CI, repo setup - Exhausted enough to put things into a drawer ☝️ right now
3