AI 摘要This October 2023 update covers the latest in the Svelte ecosystem, including a preview of Svelte 5's Runes for simpler reactive variable management, the Svelte 4.2.1 release with HTML, CSS, and sourcemap fixes, and SvelteKit 1.25.0's new catch-all handler for +server.js. It also highlights community events like Svelte Summit Fall and the Threlte hackathon, showcases apps and sites built with Svelte, and rounds up tutorials, videos, and new libraries and tools.
AI 摘要The article discusses how Rust helps developers build reliable programs by surfacing things they should pay attention to, such as error handling via Result, though the importance of certain concerns—like memory allocation—varies by application. It frames Rust's design philosophy as erring on the side of making developers attend to more things while keeping them manageable. The author then introduces a speculative idea of improving on this by allowing programs to declare a "profile" that tailors what they need to pay attention to.
AI 摘要This article explores extending the Polonius-style formulation of the original borrow checker to be flow-sensitive. The author argues this approach achieves the original Polonius goals, overcomes its shortcomings, and is more amenable to efficient implementation. However, the author still wonders whether there is room for further improvement.
AI 摘要The author had been preparing a talk on inclusive mentoring across differences with a friend at Amazon, but it was canceled after they contracted COVID-19. The talk's central themes about empathy—what it is, what it isn't, and how to practice it—have stayed with them ever since. As a result, they now notice empathy appearing frequently in the open source community.
AI 摘要This blog post describes lqd's work on Polonius, specifically a PR that reimplements the traditional Rust borrow checker in a more Polonius-like style. The team is addressing the last performance issues and considering replacing the existing borrow checker with this new implementation, which would be effectively a no-op from the user's perspective, including performance-wise. The author plans follow-up posts exploring how to extend the analysis to be more precise while remaining efficient.
AI 摘要The State of HTML 2023 survey, the most ambitious Devographics survey to date, is now open for three weeks, with responses submitted by October 1st carrying extra weight because preliminary data will inform Interop 2024 proposals. Results are used by browser vendors and standards groups to prioritize features, and participants receive a personalized point-based score and ranking compared to other developers. The survey is translated into over 30 languages, includes JS APIs closely tied to HTML, and allows account holders to edit their responses throughout the survey period.
AI 摘要The article argues that writers should always have a specific audience in mind—whether a particular person, a group, or even their past or future self—in order to communicate more effectively and with empathy. The author offers a checklist of questions to guide writing, such as who the reader is, what they already know, what misconceptions they have, what the writer wants them to do, and what value they get from reading. He notes that while this doesn't capture everything about good writing, ineffective writing almost always lacks clear answers to one or more of these questions.
AI 摘要The article announces runes, a new opt-in feature in Svelte 5 that provides universal, fine-grained reactivity through function-like symbols such as $state, $derived, and $effect, replacing older mechanisms like top-level let, export let, the $: label, and stores. Runes work beyond .svelte components in .svelte.js/.svelte.ts modules and are powered internally by signals, making Svelte 5 significantly faster while simplifying its mental model. Svelte 5 has no release date yet, but a preview site with an interactive playground is available for feedback.
I want to wrap up my consideration of the idea of adding new auto traits to Rust with some notes from a conversation I had with Ariel Ben-Yehuda. You can read these two previous posts for context: Changing the rules of Rust Follow up to “Ch
AI 摘要Following the author's earlier plans to improve the blog, Luna Razzaghipour ported the site to Hugo, cleaning up the layout while preserving URLs. The author expresses gratitude for this work and asks readers to report any broken links or issues via the babysteps GitHub repository.
AI 摘要Rust follows a 'release train' model with a new release every six weeks, embodying the principle of 'stability without stagnation' and making releases routine rather than stressful events. Despite this, the author observes that stabilizing features in Rust—especially important ones—remains a stressful process in practice. The blog post explores theories on why this happens and proposes tweaks to processes and habits to reduce that stress.
One of the most commonly-misunderstood operators is Modulo (%). In this tutorial, we'll unpack exactly what this little bugger does, and learn how it can help us solve practical problems. Keep reading.
AI 摘要The author follows up on a previous post about introducing a new auto trait via Rust's edition mechanism, which would require the compiler to build an 'unbreakable firewall' preventing !Leak types from the new edition from interacting with old-edition code that assumes all values can be leaked. Despite optimistic responses from readers, the author notes this is very difficult to achieve. An example provided by Ariel Ben-Yehuda demonstrates that the problem is even harder to solve than one might expect.