Elixir v1.17 released: set-theoretic data types, calendar durations, and Erlang/OTP 27 support
Elixir v1.17 released: set-theoretic data types, calendar durations, and Erlang/OTP 27 support.
今日新增 30 篇 · 共 2,704 篇 · 来自 79 个博客
Elixir v1.17 released: set-theoretic data types, calendar durations, and Erlang/OTP 27 support.
The Deno Standard Library is going to reach 1.0.0 shortly. We hope you try RC versions of the packages and give us feedback!
Fixes 97 bugs (addressing 211 👍). Reliability improvements to bun install, WebSocket server, fetch, worker_threads. worker_threads now supports eval. `URL.createObjectURL`, stack trace error location improvements, several `bun install` fixe
AI 摘要The article rebuts the popular claim that modern single machines are powerful enough to make distributed systems unnecessary, acknowledging the kernel of truth that today's hardware is extremely fast but arguing that scale is only a small part of why distributed systems matter. It highlights benefits single machines can't match—availability, durability, utilization, latency, specialization, isolation, and easier change management—and contends that simplicity is a property of entire systems (including people and processes), so single-machine designs often merely hide operational complexity. Finally, it notes that scale matters both technically and organizationally (e.g., avoiding coordination as teams grow), and that engineers should design for their business's actual needs and future risks rather than memes or strong opinions.
AI 摘要WebAssembly's JavaScript Promise Integration (JSPI) has a redesigned API shipping in Chrome M126 that removes explicit Suspender objects and WebAssembly.Function in favor of simpler constructs (WebAssembly.promising and WebAssembly.Suspending), and now only suspends when a JavaScript function actually returns a Promise. Emscripten users on version 3.1.61 or later need no code changes, while the old API will be removed after Chrome M128 (October 2024). Future work includes growable stacks to support millions of suspended coroutines and advancing JSPI through the W3C Wasm CG standardization process, where it is currently at phase 3.
The “Promises” API is a surprisingly tricky part of modern JavaScript. Without the right context, it doesn’t make much sense at all! In this tutorial, you’ll build an intuition for how Promises work by getting a deeper understanding of Java
AI 摘要The author proposes a four-part roadmap of changes to Rust's borrow checker, dubbed 'the borrow checker within,' intended to help Rust better support code patterns that fit its spirit but currently violate its rules. While the author feels comfortable with the designs, details still need to be scoped out, and a-mir-formality is considered an ideal place to do that work.
AI 摘要Bun v1.1.11 fixes 36 bugs, including a peer dependencies resolution issue in bun install, and introduces the ability for bun update to save dependency updates to package.json. The release also delivers 5x faster setTimeout throughput on Linux, improved Node.js compatibility across fs, zlib, timers, http, dgram, and module, along with event loop improvements on macOS and Windows reliability enhancements.
AI 摘要The June 2024 Svelte newsletter highlights the maintainers' progress on the Svelte 5 Release Candidate, including improvements like disallowing bind: on component exports in runes mode, enhancements to the migration tool, MathML support, the $state.is rune, and a new rootDir compiler option. It also features a community showcase of apps and sites built with Svelte, such as Onlook and Equimake, along with learning resources like podcasts, videos, and articles about Svelte 5 and SvelteKit. Finally, the newsletter lists useful libraries, tools, and components, such as Floating UI Svelte and svelte-infinite.
We just released a new version of prettier-plugin-tailwindcss which adds support for removing unnecessary whitespace and duplicate classes when sorting.
Deno 1.44 adds support for private npm registries, gRPC connections, improved Node.js compat with initial Next.js support, and significant performance improvements.
AI 摘要The article explains the technical implementation of Zig's new CLI progress bar, which adopts a modern philosophy where an application spawned with stderr as a terminal assumes full ownership of it and leverages all available terminal features. The design centers on a thread-safe, lock-free API using statically pre-allocated nodes with a free-list allocator, an update thread that serializes shared data on a timer, and inter-process communication via progress pipes that lets child processes report progress semantically so the terminal owner can aggregate and display it. Benchmarks show the new implementation has negligible performance overhead, and it even helped uncover a long-hidden bug in Zig's child process spawning code before being merged.
AI 摘要This article accompanies a talk given at DDD Europe 2024 about Empirical Software Engineering (ESE), the discipline of studying what actually works in software development through data collection, studies, and peer review rather than relying on instinct. It outlines the main research methods used—controlled trials, natural experiments, and observational studies—and provides extensive links to the papers and sources referenced in the talk. The piece concludes with findings related to Domain-Driven Design and answers to audience questions about what science can and cannot conclude about software practices.
AI 摘要The article explains the N+1 query problem, in which rendering a collection of records triggers an extra database query per record due to lazy loading of associations, and it surveys mitigation strategies such as ActiveRecord eager loading, Rails 6.1's strict loading, and Stripe's creative use of Ruby fibers to batch database intents. It then describes how the author adopted a two-phase load-and-render pattern in Go at their current company, which loads all required data in batched queries before rendering and has eliminated N+1s for two years. The pattern works well despite Go's inherent verbosity and lack of a good ORM.
Fixes 20 bugs. 2x faster uncached bun install on Windows. fetch() uses up to 2.8x less memory. Several bugfixes to bun install, sourcemaps, Windows reliability improvements and Node.js compatibility improvements
We just published the first major update to Catalyst since releasing the development preview, with two new application layouts, navbar and sidebar components, description lists, and more.
AI 摘要Bun v1.1.9 fixes 67 bugs, including issues with workspaces in bun install, sourcemaps in bun build, IPv6 and VPN connectivity, and Windows support for UNC paths, junctions, symlinks, and pnpm. The release also delivers performance improvements, such as faster fetch(), a new dns.prefetch() API, atob() becoming 8x faster, and toString('base64url') 5x faster. Additionally, it adds the expect().toBeReturned() matcher along with Node.js compatibility improvements and Bun Shell fixes.
Last week we hosted React Conf 2024, a two-day conference in Henderson, Nevada where 700+ attendees gathered in-person to discuss the latest in UI engineering. In this post, we'll summarize the talks and announcements from the event.