Arenas Sometimes you just really need an arena. Sometimes for performance reasons, other times for lifetime-related reasons. In their most basic forms, they're just a vec with some extra guarantees. However, it's those extra guarantees that matter. I've found myself looking for the right kind of arena too many times, so here's an overview of literally everything there is. I think, let me know if I
「物語を探しに」第15回「マイジャパン症候群」をお届けします。第14回「小浜へ」はこちら 「izakaya」こそが「本物の」英語 英語圏の国々から日本に渡ってきて、しばらく住み続けている人と英語で話すと、アメリカやイギリスでは聞くことのない言葉が会話に出てくる。多くは日本語から借りた単語だ。たとえば日本語の「コンビニ」は英語の「convenience store」に由来するのだが、日本に暮らしている英語話者がローソンやファミリーマートのことを「convenience store」と呼ぶところを見たことがない。日本語ができようができまいが、みんな自然に「conbini」と言っている。短くて言いやすい。それに、似たようなビジネスとはいえ、「convenience store」が呼び起こす、アメリカの田舎の交差点にガソリンスタンドと併設されている小汚い場所のイメージと、「conbini」という、
Patterns for Memory Efficient DOM Manipulation with Modern Vanilla JavaScript July 29, 2024 I’ll discuss best practices to avoid excess memory usage when managing updating the DOM to make your apps blazingly fast™️. DOM: Document Object Model – A Brief OverviewWhen you render HTML, the live view of those rendered elements in the browser is called the DOM. This is what you’ll see in your developer
Debuggers serve as invaluable tools that empower developers to halt code execution and thoroughly analyze its behavior at any given moment. By utilizing a debugger, developers can efficiently identify and resolve issues within their code, making it an indispensable part of their toolkit. Chromium's dev tools debugger Debuggers are equally valuable tools for reverse-engineers, especially when deali
Fine-Grained Reactivity in Svelte 5 August 14, 2024 We’ve been looking at the up and coming Svelte 5. We looked at basic features like state, props, and side effects. Then we looked at Snippets, which is a lightweight feature Svelte added for re-using bits of HTML within (for now) a single component. In this post, we’ll take a close look at Svelte’s new fine-grained reactivity. What is fine-graine
One of my favorite game jams is the legendary Js13kGames competition, where participants have one month to make a web browser game that fits in a 13 kilobyte zip file. To put that into perspective, a floppy disk from the before times could hold 1.44 MB, enough to fit over 100 JS13K games! In 2021 the contest celebrated its 10th annual event. The theme was “Space” and there were an impressive 223 g
HTML Web Components Can Have a Little Shadow DOM, As A Treat Aug 5, 2024 By Scott Jehl Well, I swore myself off blogging until I get this course launched and sure enough, here I am again. But a little idea about HTML Web Components has been squatting in my brain for a little while and I needed a place to put it. There's been a lot of great writing about HTML Web Components in the past year, and as
A tiny state manager for React, React Native, Preact, Vue, Svelte, Solid, Lit, Angular, and vanilla JS. It uses many atomic stores and direct manipulation. Small. Between 286 and 818 bytes (minified and brotlied). Zero dependencies. It uses Size Limit to control size. Fast. With small atomic and derived stores, you do not need to call the selector function for all components on every store change.
#include <iostream> #include <vector> #include "./generated.h" // Rust values are available in the `::rust` namespace from their absolute path // in Rust template <typename T> using Vec = rust::std::vec::Vec<T>; template <typename T> using Option = rust::std::option::Option<T>; template <typename T> using BoxDyn = rust::Box<rust::Dyn<T>>; // You can implement Rust traits for your classes template
Single-page applications, or SPAs, are defined by a core feature: dynamically rewriting their content as the user interacts with the site, instead of the default method of loading entirely new pages from the server. While SPAs have been able to bring you this feature via the History API (or in limited cases, by adjusting the site's #hash part), it's a clunky API developed long-before SPAs were the
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く