编程 · 最新文章
今日新增 30 篇 · 共 2,704 篇 · 来自 79 个博客
Web Components are not Framework Components — and That’s Okay
AI 摘要The author responds to recent criticism of Web Components by framework authors, arguing the controversy stems from conflating two distinct use cases: generalizable elements that extend HTML, where Web Components excel thanks to interoperability, and project-specific reactive templating, where frameworks remain superior due to better authoring ergonomics. While Web Components are still far from being a good compile target for frameworks, they don't need to be—their real value lies in reducing duplicated framework-specific reimplementations of common UI elements. The author concludes that frameworks and Web Components are complementary rather than competing, urging the community to stop pitting them against each other and to keep improving the platform's low-level foundations.
How Bun supports V8 APIs without using V8 (part 1)
Bun is built on JavaScriptCore, not V8. Here's how we're implementing V8's C++ API on top of it.
The Zig Website Has Been Re-engineered
Making overwrite opt-in #crazyideas
AI 摘要The article proposes making overwriting opt-in in Rust, arguing it could eliminate many inter-method borrow conflicts without view types and make pinning easier than the pinned places proposal, without needing pinned fields or a pinned keyword. The catch is that this would require changing Rust's fundamental assumption that any mutable reference can always overwrite its underlying value, a change that would be tricky but not impossible to introduce across editions.
ktls now under the rustls org
AI 摘要The author announces that ktls and ktls-sys, a pair of crates they began developing about two years ago to expose Kernel TLS offload to Rust, are now part of the rustls organization. kTLS enables the kernel—and consequently any supporting network interface—to handle encryption and framing for the entirety of a TLS connection. However, the initial TLS handshake still must be performed by a userland TLS implementation.
How I Built My Blog
I recently launched a brand new version of this blog, and in this post, I share how it’s built! We’ll examine the tech stack and see how all of the pieces fit together, as well as dig into some of the details to see how they work. Keep read
Announcing Stable V8 Bindings for Rust
Rusty V8, a library that provides high-quality, zero-overhead Rust bindings to V8, is finally stable. Here's how to use it.
Tagged Union Subsets with Comptime in Zig
HYTRADBOI 2025
Bun v1.1.29
AI 摘要Bun v1.1.29 fixes 21 bugs (addressing 22 reported issues), including problems with axios request proxying, bundling imported .wasm files, a `bun build` regression from v1.1.28, a snapshot regression in `bun test`, and argument validation in `Bun.build` plugins. The release also adds N-API support in compiled C and faster typed arrays in `bun:ffi` via the 'buffer' type.
Deno 2.0 Release Candidate
This release candidate, a near-final look at Deno 2, includes the addition of Node's process global, better dependency management, and various API stabilizations, and more.
Compile and run C in JavaScript
Bun now supports compiling and running C from JavaScript to make using systems libraries easier.
Bun v1.1.28
This release fixes 40 bugs (addressing 51 👍). Compile & run C from JavaScript. 30x faster path.resolve. Named pipes on Windows. Several Node.js compatibility improvements and bugfixes.
Making the Web more Awesome — for everyone
AI 摘要The author announces that after a decade at MIT and recently completing their PhD, they are starting a new role as Product Lead at Font Awesome, where they will improve product design and usability—with a focus on Web Awesome, an upcoming product that aims to revolutionize how web UIs are built using web components and CSS. They are drawn to the company's open-source-friendly, profitable, fully remote, and healthy work culture, noting that the role was practically molded around their skills, interests, and ADHD-driven need for passionate work. They also plan to write a series of upcoming blog posts about their journey, including leaving academia and writing their thesis with web technologies instead of LaTeX.
Migrating from AWS to Self-Hosting
Radiant: A beautiful new marketing site template
Over the past couple of months we’ve been working away at a new SaaS template called Radiant and it’s out now as part of Tailwind UI.
Conditionally Disabling Code with Comptime in Zig
Hiatus
All of my budgeted blogwriting time is going to Logic for Programmers. Should be back early 2025. (I’m still writing the weekly newsletter.)
Secure, efficient private npm registries with Cloudsmith and Deno
Deno can use private npm registries with Cloudsmith, which offers additional security features, analytics into module usage, and more. Here’s how to do it.