---
title: "X 归档 2022-12-23"
date: "2022-12-23"
tags:
  - x-archive
  - rust
  - media
---

<div class="x-arch-meta">7 条动态 · 图 0 · 视频 4</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1605968696618483715" id="xl-1605968696618483715-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1605968696618483715" id="xl-1605968696618483715-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/1975800516664836096/1CEeS2fi_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/AugmentCoding" target="_blank" rel="nofollow noopener" data-name="Augmented Coding Weekly" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1975800516664836096/1CEeS2fi_bigger.jpg">@AugmentCoding</a><span class="x-arch-time">00:49</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1605968696618483715-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1605968696618483715-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/AugmentCoding/status/1605968696618483715" 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">How we used WebAssembly to annihilate 80,000 lines of legacy code <a href="https://ziglang.org/news/goodbye-cpp/" target="_blank" rel="noopener">https://ziglang.org/news/goodbye-cpp/</a></div>
    <div class="x-arch-text x-arch-trans">我们如何用 WebAssembly 全歼 8 万行遗留代码 <a href="https://ziglang.org/news/goodbye-cpp/" target="_blank" rel="noopener">https://ziglang.org/news/goodbye-cpp/</a></div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1605989807938641920" id="xl-1605989807938641920-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1605989807938641920" id="xl-1605989807938641920-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/1465780299380502537/pptBYF44_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/stefanjudis" target="_blank" rel="nofollow noopener" data-name="Stefan Judis" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1465780299380502537/pptBYF44_bigger.jpg">@stefanjudis</a><span class="x-arch-time">02:13</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1605989807938641920-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1605989807938641920-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/stefanjudis/status/1605989807938641920" 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">Today I learned there are viewport units that consider writing mode (`vi` / `vb`). 🤯<br /><br /><a href="https://www.stefanjudis.com/today-i-learned/viewport-units-can-consider-the-writing-mode/" target="_blank" rel="noopener">https://www.stefanjudis.com/today-i-learned/viewport-units-can-consider-the-writing-mode/</a><br /><br />Video alt: example component showing how vi / vb affect an element's sizing.</div>
    <div class="x-arch-text x-arch-trans">今天学到了：原来还有会考虑书写模式的视口单位（`vi` / `vb`）。🤯<br /><br /><a href="https://www.stefanjudis.com/today-i-learned/viewport-units-can-consider-the-writing-mode/" target="_blank" rel="noopener">https://www.stefanjudis.com/today-i-learned/viewport-units-can-consider-the-writing-mode/</a><br /><br />视频说明：示例组件展示 vi / vb 如何影响元素的尺寸。</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2022-12/1605989807938641920-poster.jpg" src="/cdn-media/x/2026-10/1605989807938641920-video.mp4" width="748" height="720" data-duration="27" aria-label="@stefanjudis 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1606043358446485504" id="xl-1606043358446485504-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1606043358446485504" id="xl-1606043358446485504-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/1923813473240203264/owJG92AC_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/steventey" target="_blank" rel="nofollow noopener" data-name="Steven Tey" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1923813473240203264/owJG92AC_bigger.jpg">@steventey</a><span class="x-arch-time">05:45</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1606043358446485504-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1606043358446485504-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/steventey/status/1606043358446485504" 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">I was today years old when I learned that you can take a screenshot of any website and find similar images via @Google Lens 🤯</div>
    <div class="x-arch-text x-arch-trans">我今天才知道，原来可以对任意网站截图，再通过 @Google Lens 找相似图片 🤯</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2022-12/1606043358446485504-poster.jpg" src="/cdn-media/x/2026-10/1606043358446485504-video.mp4" width="1066" height="720" data-duration="13" aria-label="@steventey 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1606163655527059458" id="xl-1606163655527059458-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1606163655527059458" id="xl-1606163655527059458-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/1342417825483300864/Vz4ChOFG_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/jarredsumner" target="_blank" rel="nofollow noopener" data-name="Jarred Sumner" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1342417825483300864/Vz4ChOFG_bigger.jpg">@jarredsumner</a><span class="x-arch-time">13:43</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1606163655527059458-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1606163655527059458-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/jarredsumner/status/1606163655527059458" 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">Introducing bunx<br /><br />auto-install &amp; run an executable from npm<br /><br />100x faster than npx<br /><br />left: &quot;bunx esbuild --version&quot; (1k runs)<br />right: &quot;npx esbuild --version&quot; (1k runs)</div>
    <div class="x-arch-text x-arch-trans">隆重介绍 bunx<br /><br />自动安装并运行 npm 上的可执行文件<br /><br />比 npx 快 100 倍<br /><br />左边：&quot;bunx esbuild --version&quot;（运行 1 千次）<br />右边：&quot;npx esbuild --version&quot;（运行 1 千次）</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2022-12/1606163655527059458-poster.jpg" src="/cdn-media/x/2026-10/1606163655527059458-video.mp4" width="1280" height="720" data-duration="10" aria-label="@jarredsumner 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1606174149055254529" id="xl-1606174149055254529-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1606174149055254529" id="xl-1606174149055254529-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/1087570379667853313/EKd7ug9y_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/cometkim" target="_blank" rel="nofollow noopener" data-name="hyeseong.kim" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1087570379667853313/EKd7ug9y_bigger.jpg">@cometkim</a><span class="x-arch-time">14:25</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1606174149055254529-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1606174149055254529-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/cometkim/status/1606174149055254529" 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">@kdy1dev `{}` means &quot;non-nullable any&quot; in TypeScript, not object</div>
    <div class="x-arch-text x-arch-trans">@kdy1dev `{}` 在 TypeScript 里的意思是“不可为 null 的 any”，而不是 object</div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1606196308053594112" id="xl-1606196308053594112-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1606196308053594112" id="xl-1606196308053594112-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/1465780299380502537/pptBYF44_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-posted" 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="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" /><path d="m15 5 4 4" /></svg></span><a class="x-arch-author" href="https://x.com/stefanjudis" target="_blank" rel="nofollow noopener" data-name="Stefan Judis" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1465780299380502537/pptBYF44_bigger.jpg">@stefanjudis</a><span class="x-arch-time">15:53</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1606196308053594112-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1606196308053594112-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/stefanjudis/status/1606196308053594112" 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">Today I learned there are viewport units that consider writing mode (`vi` / `vb`). 🤯<br /><br /><a href="https://www.stefanjudis.com/today-i-learned/viewport-units-can-consider-the-writing-mode/" target="_blank" rel="noopener">https://www.stefanjudis.com/today-i-learned/viewport-units-can-consider-the-writing-mode/</a><br /><br />Video alt: example component showing how vi / vb affect an element's sizing.</div>
    <div class="x-arch-text x-arch-trans">今天学到了：原来还有会考虑书写模式的视口单位（`vi` / `vb`）。🤯<br /><br /><a href="https://www.stefanjudis.com/today-i-learned/viewport-units-can-consider-the-writing-mode/" target="_blank" rel="noopener">https://www.stefanjudis.com/today-i-learned/viewport-units-can-consider-the-writing-mode/</a><br /><br />视频说明：示例组件展示 vi / vb 如何影响元素的尺寸。</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2022-12/1606196308053594112-poster.jpg" src="/cdn-media/x/2022-12/1606196308053594112-video.mp4" width="748" height="720" data-duration="27" aria-label="@stefanjudis 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1606199281123065856" id="xl-1606199281123065856-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1606199281123065856" id="xl-1606199281123065856-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/1975800516664836096/1CEeS2fi_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-posted" 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="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" /><path d="m15 5 4 4" /></svg></span><a class="x-arch-author" href="https://x.com/AugmentCoding" target="_blank" rel="nofollow noopener" data-name="Augmented Coding Weekly" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1975800516664836096/1CEeS2fi_bigger.jpg">@AugmentCoding</a><span class="x-arch-time">16:05</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1606199281123065856-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1606199281123065856-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/AugmentCoding/status/1606199281123065856" 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">How we used WebAssembly to annihilate 80,000 lines of legacy code <a href="https://ziglang.org/news/goodbye-cpp/" target="_blank" rel="noopener">https://ziglang.org/news/goodbye-cpp/</a></div>
    <div class="x-arch-text x-arch-trans">我们如何用 WebAssembly 全歼 8 万行遗留代码 <a href="https://ziglang.org/news/goodbye-cpp/" target="_blank" rel="noopener">https://ziglang.org/news/goodbye-cpp/</a></div>
  </div>
</div>
