Luke Edwards reposted
Luke Edwards
Luke Edwards reposted
Deno 2.3 is here: π± deno compile with FFI & Node native add-ons π¦ Local npm packages β deno fmt CSS/HTML/SQL in tagged templates π OTel event recording & tracing in distributed services and more β deno.com/blog/v2.3
Published empathic@1.1 π (benchmarks below) Many packages are eagerly joining the @e18e.dev effort but (understandably) have existing support restrictions to maintain & so can't make as much progress as they'd like. This release helps with that~! (cont.)
empathic@1.1 πΈAdds CommonJS support πΉAllows Node 14 engines No code changes or bloating were needed on my end πͺ **The entire package is still less than 2kB and still fast.** The benchmarks compare `empathic/` submodules to their counterparts across the ecosystem. More: github.com/lukeed/empat...
Released `hrana` -- a 1kB libsql/hrana client πΈruntime agnostic, works anywhere πΉtransaction and batch stmt support πΈCI includes a cron check for Hrana spec updates πΉdual JSR and npm publish, with provenance πΈstrictly typed π github.com/lukeed/hrana /cc @tur.so
clsx baked directly into svelte π
Day 24 β Svelte now handles `class` attributes with github.com/lukeed/clsx. Much more powerful than the `class:` directive, but since this is Svelte you still get dead code elimination of unused styles! π docs svelte.dev/docs/svelte/... π demo svelte.dev/playground/6...
Luke Edwards reposted
Replying to @evanyou.me
As a result, Rolldown is now the fastest possible bundler you can run in the browser. Here are the numbers when bundling a benchmark app with 2.5k modules: - esbuild: 22.19s - Vite (via Rollup): 4.52s - Rolldown: β‘οΈ613.43 ms Try it out yourself on StackBlitz: stackblitz.com/~/github.com...
Not strictly a 1:1 comparison... but still, I wish natives were optimized a bit more π This spread is the same anywhere URLPattern is supported; eg esbench.com/bench/67537b...
^ bsky.app/profile/luke... Iβm still figuring out bsky, sorry for threading noise
here's updated benchmark realistically, an app/router would *not* be doing `new URL` every time it's testing a match, but I added it here as regexparam's worst-case and to be apples-to-apples for full URL normalization. (same esbench link)
(cont) You're paying for all this. Either: 1. Bigger-than-needed VMs 2. More-than-needed Lamdas/Workers/etc 3. The rest of your app isn't doing enough to encroach resource limits All cuz the README wants to show 2M req/sec instead of ~200k btw lol, no FaaS does 20k/s from a single instance~! ππ
quasi-related tangent π bsky.app/profile/luke...
Not strictly a 1:1 comparison... but still, I wish natives were optimized a bit more π This spread is the same anywhere URLPattern is supported; eg esbench.com/bench/67537b...
Luke Edwards reposted
Luke Edwards reposted
Deno 2.1 is out ποΈ π©οΈ first class Wasm support π³οΈ Long Term Support branch βοΈ Improved dependency management and much more. deno.com/blog/v2.1
To help dev-twitter settle in, I made a quick little thing to help find your people here π€ It includes scripts to export your GitHub and/or Twitter follows to a file. And then in a localhost app, it allows you to automate searching & following of your social rolodex β¨ github.com/lukeed/blues...
You are up to date.