---
title: "X 归档 2025-01-16"
date: "2025-01-16"
tags:
  - x-archive
  - rust
  - frontend
---

<div class="x-arch-meta">3 条动态 · 图 0 · 视频 3</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1879559752767922480" id="xl-1879559752767922480-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1879559752767922480" id="xl-1879559752767922480-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1656958884958056448/fsg3kdnN_bigger.png" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/shr_id" target="_blank" rel="nofollow noopener" data-name="saharan / さはら" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1656958884958056448/fsg3kdnN_bigger.png">@shr_id</a><span class="x-arch-time">00:02</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1879559752767922480-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1879559752767922480-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/shr_id/status/1879559752767922480" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig"><a href="https://oimo.io/works/water/" target="_blank" rel="noopener">https://oimo.io/works/water/</a><br />So I updated &quot;Water&quot; !<br />The sim is running in a single CPU thread.<br /><br />It should work faster now, rendering optimized &amp; WebAssembly SIMD support!<br />But seems like the speedup with wasm is only limited because of the heavily scattered memory access pattern 😇</div>
    <div class="x-arch-text x-arch-trans"><br />我更新了「Water」！<br />这个模拟跑在单个 CPU 线程上。<br /><br />现在应该更快了：渲染经过优化，还支持 WebAssembly SIMD！<br />不过 wasm 带来的加速似乎有限，因为内存访问模式太分散了 😇</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2025-01/1879559752767922480-poster.jpg" src="/cdn-media/x/2026-10/1879559752767922480-video.mp4" width="1034" height="720" data-duration="22" aria-label="@shr_id 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1879577158575956055" id="xl-1879577158575956055-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1879577158575956055" id="xl-1879577158575956055-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1891456588759662592/eVekOVTj_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/baptistebriel" target="_blank" rel="nofollow noopener" data-name="Baptiste Briel" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1891456588759662592/eVekOVTj_bigger.jpg">@baptistebriel</a><span class="x-arch-time">01:11</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1879577158575956055-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1879577158575956055-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/baptistebriel/status/1879577158575956055" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">Obsessed with the scrolling grid animation on the new @ingamana site—absolute 🔥!<br /><br />→ <a href="https://www.ingamana.com" target="_blank" rel="noopener">https://www.ingamana.com</a></div>
    <div class="x-arch-text x-arch-trans">被 @ingamana 新站的滚动网格动画迷住了——绝对的 🔥！<br /><br />→</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2025-01/1879577158575956055-poster.jpg" src="/cdn-media/x/2026-10/1879577158575956055-video.mp4" width="1252" height="720" data-duration="15" aria-label="@baptistebriel 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1879624942075183246" id="xl-1879624942075183246-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1879624942075183246" id="xl-1879624942075183246-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1980437845383770112/dBmUaNRh_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/argyleink" target="_blank" rel="nofollow noopener" data-name="Adam Argyle" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1980437845383770112/dBmUaNRh_bigger.jpg">@argyleink</a><span class="x-arch-time">04:21</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1879624942075183246-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1879624942075183246-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/argyleink/status/1879624942075183246" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">#CSS scroll-state() container queries<br />in Chrome 133!<br /><br />@container scroll-state(stuck: top) {<br />…<br />}<br /><br />Read all about snapped, stuck and scrollable in this post:<br /><a href="https://developer.chrome.com/blog/css-scroll-state-queries" target="_blank" rel="noopener">https://developer.chrome.com/blog/css-scroll-state-queries</a><br /><br />↪ <a href="https://nerdy.dev/scroll-state-container-queries" target="_blank" rel="noopener">https://nerdy.dev/scroll-state-container-queries</a></div>
    <div class="x-arch-text x-arch-trans">#CSS scroll-state() 容器查询<br />登陆 Chrome 133！<br /><br />@container scroll-state(stuck: top) {<br />…<br />}<br /><br />snap、stuck 和 scrollable 的全部细节都在这篇文章里：<br /><a href="https://developer.chrome.com/blog/css-scroll-state-queries" target="_blank" rel="noopener">https://developer.chrome.com/blog/css-scroll-state-queries</a><br /><br />↪ <a href="https://nerdy.dev/scroll-state-container-queries" target="_blank" rel="noopener">https://nerdy.dev/scroll-state-container-queries</a></div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2025-01/1879624942075183246-poster.jpg" src="/cdn-media/x/2026-10/1879624942075183246-video.mp4" width="1280" height="720" data-duration="10" aria-label="@argyleink 的视频"></video>
  </div>
</div>
