Self-contained Executable Programs with Deno Compile
Deno compile is a flexible tool that turns a JavaScript or TypeScript program into a portable, streamlined binary for any OS. Here's how it works.
今日新增 30 篇 · 共 2,704 篇 · 来自 79 个博客
Deno compile is a flexible tool that turns a JavaScript or TypeScript program into a portable, streamlined binary for any OS. Here's how it works.
AI 摘要The article reflects on ten years of AWS Lambda, prompted by Werner Vogels sharing the annotated original PRFAQ that launched the serverless computing era. It dives into key engineering decisions and lessons, such as launching with only Node.js for its easy dependency packaging, the organic customer demand that drove Go support and official custom runtimes, and the redesign of the in-memory worker manager into a persistent, cross-AZ system to improve median latency. It also describes how the team solved noisy-neighbor problems in shared queues using a combination of stochastic fairness queuing and best-of-k placement, an approach since adopted across other AWS systems.
Using an object-relational mapping (ORM) database can make working with persistent data simpler. Here's how to use a popular ORM, Drizzle, with Deno.
Deno’s new package manager, added in v2.0, is fast, flexible, and supports Node and package.json. Here’s how it works.
AI 摘要This weekly Clojure Deref roundup highlights the wide range of talks from the Conj 2024 conference, featuring speakers like Rich Hickey, Tim Ewald, Carin Meier, and Alex Miller covering topics from immutable values to AI integration and game development. It also rounds up recent community blog posts on topics such as idiomatic error handling, open source funding updates from Clojurists Together, and developer OSS progress reports. Finally, it lists numerous new library and tool releases, including neanderthal 0.50.0, pg2 0.1.20, basilisp 0.3.0, pedestal 0.7.2, and squint 0.8.123.
AI 摘要The article proposes MinPin, a variation of boats' UnpinCell proposal that aims to integrate Pin into the Rust language in a minimally disruptive and fully backwards-compatible way. Unlike Overwrite, MinPin does not attempt to make Pin and &mut work together nicely. However, it leaves the door open to adding Overwrite in the future and helps clarify the positives and negatives that Overwrite would bring.
Rearranging JavaScriptCore types to match V8 code's assumptions
AI 摘要This tutorial provides a friendly introduction to container queries, explaining that despite landing in browsers a couple of years ago, they haven't seen widespread adoption because they are trickier to understand than media queries. The article aims to break down how container queries work so developers can start using them in their own work.
Growthbook's JavaScript SDK, which enables easy AB testing and personalization, is now available on JSR.
AI 摘要The author argues that named tuples should only be used when updating an existing API that already returns a plain tuple, not when designing new APIs. Although named tuples are quick to define, they double the API surface by requiring support and testing for both index-based and attribute-based access, while also exposing unwanted tuple behaviors like slicing and iteration. Instead, alternatives such as dataclasses, TypedDict, or types.SimpleNamespace should be preferred, prioritizing readability and ergonomics over brevity.
Fixes 64 bugs (addressing 62 👍). `Bun.randomUUIDv7`, reduced memory usage for long-running processes, `napi_type_tag_object` and `napi_check_object_type_tag`, redacted secrets from config logs, `ReadableStream` and HTTP/1.1 spec fixes, seve
AI 摘要This month's Svelte roundup celebrates the release of Svelte 5 and the launch of SvelteHack 2024, a hackathon with submissions due January 9, both announced at Svelte Summit. It highlights recent compiler improvements—such as snippets filling slots and getContext() being allowed in $derived runes—alongside updates to SvelteKit, the CLI's new add-on system, and a Svelte 5 migration command in the editor extension. The post also features community-built apps, learning resources, and a collection of new libraries and tools for Svelte developers.
AI 摘要This is the October 31, 2024 edition of Clojure Deref, a weekly news roundup for the Clojure ecosystem covering podcasts, videos, blog posts, and articles from the community. Highlights include content about Basilisp (Clojure on the Python VM), Clojure/Conj 2024, and a new book series announcement. The issue also lists numerous new library releases and tools, including telemere, nippy, sente, uix, calva, and several data science and web development libraries.
Learn how to build a server-rendered website with Astro and Deno.
Someone asked me this and here's my answer.
AI 摘要This article introduces AI Flame Graphs, a new Intel tool that extends the author's CPU flame graph visualization concept to AI accelerators and GPUs, showing hardware instruction profiles alongside the full CPU software stack in a single low-overhead view. The first version is available as a preview in the Intel Tiber AI Cloud for the Intel Data Center GPU Max Series, built on EU stall profiling and eBPF, with the goal of becoming a daily developer tool that could significantly reduce AI compute costs. The author also explains why AI profiling is far harder than CPU profiling—accelerator programs may not exist in the file system or even main memory—and describes his small team's year-long effort to make the tool easy, production-safe, and widely adoptable.
AI 摘要The author argues that the newly proposed UnpinCell wrapper type, which converts a pinned mutable reference into a plain mutable reference, could solve the biggest outstanding problem with Rust generators: the Iterator interface does not permit self-referential values. Because Pin was designed as a backward-compatible, opt-in contract, pre-existing traits like Iterator—which takes a plain mutable reference rather than a pinned one—cannot be implemented by self-referential types. As a result, generators cannot support self-referential values the way async functions do, unless the Iterator interface adopts pinned references.
Fixes 8 bugs. Fixes JSX symbol collisions with imports, fixes a `bun install` slowdown, skips optional dependency, fixes optional dependency postinstall failures, and fixes an assertion failure in the CSS parser.
AI 摘要The Svelte team has released sv, a new unified CLI for creating, enhancing, and upgrading Svelte projects, merging the previous create-svelte and community-led svelte-add tools into a single package. It offers built-in add-ons for things like Tailwind, formatting, linting, testing, databases, and auth, and consolidates previously separate tools such as svelte-migrate under commands like sv migrate svelte-5. Community-contributed add-ons are planned for the future, and users can try it now with npx sv create or npx sv add.