AI isn't "increasing efficiency" if other people end up having to parse, fact check and correct your work.
Posts by Luke Edwards
Oh no
new framework :)
Ah gotcha. The latter. I’m looking to make a new builder/renderer. Basically a stand-in for storybook/html or storybook/preact
To a working end? Wdym
Trying to write a custom Storybook renderer.
Anyone have any starters/pointers?
Equal parts Bond and Bond villain 👤
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
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...
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.)
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
Monomorphism and variable reuse were the keys. Once that happens then a recursive function helps a bit too
Going straight to top of the current leaderboard is a good move 👍
It’s v cool but also well known that anything would be a massive performance improvement over the existing/angular signals
Thanks ☺️ I have an argv parser that probably ~700b and 10m op/s but purposefully doesn’t support all the normal features… ~1.5ops is good enough 😅
Then perhaps bun for you? Not sure as this isn’t an issue for me. I run into fetch failed every time I try to use Node since 18
At that point it’s easier to use something else.
undici was perhaps the final dagger that had me leave Node (where I can help it)
Deno ftw
I wish Node didn’t embed a pure JS polyfill and call it a day
error: TypeError: fetch failed
at node:internal/deps/undici/undici:13178:13
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at runNextTicks (node:internal/process/task_queues:64:3)
at process.processImmediate (node:internal/timers:454:9)
Writing a new database client was easier than (still) trying to get its transitive `require` and `module` usage to transpile and/or polyfill correctly
If anyone knows this fix I'd be happy to delete my client:
ReferenceError: module is not defined
clsx baked directly into svelte 🎄
😂😂😂
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...
is GCP Postgres (Cloud SQL) supported? I'm guessing it would be since RDS is
Not sure that I caused much of anything 😅 to be clear the benchmarking didn’t include Node cuz it’s still WIP there
Plus HMR Engineering is its own role
I’ll wait for it to stabilize a bit but it’s worth the effort. Current project isn’t using any js runtime & don’t wanna add
Thanks, figured :) thought id ask since it took a while to get set up last night haha
Was looking to embed rolldown into a rust app directly
/cc @boshen.github.io
are @rolldown.rs crates purposefully not published?