---
title: "X 归档 2023-04-09"
date: "2023-04-09"
tags:
  - x-archive
  - rust
  - frontend
---

<div class="x-arch-meta">7 条动态 · 图 3 · 视频 1</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1644875975992410112" id="xl-1644875975992410112-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1644875975992410112" id="xl-1644875975992410112-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">09:32</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1644875975992410112-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1644875975992410112-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/jarredsumner/status/1644875975992410112" 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">Particularly things using node streams</div>
    <div class="x-arch-text x-arch-trans">尤其是那些用到 node streams 的东西</div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1644979383936106497" id="xl-1644979383936106497-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1644979383936106497" id="xl-1644979383936106497-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/1937832118907793408/e2mSuX42_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/yjaaidi" target="_blank" rel="nofollow noopener" data-name="Younes Jaaidi" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1937832118907793408/e2mSuX42_bigger.jpg">@yjaaidi</a><span class="x-arch-time">16:23</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1644979383936106497-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1644979383936106497-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/yjaaidi/status/1644979383936106497" 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">💭 An interesting property when only rendering what is in the viewport is that we less components on smaller devices... which are generally less powerful<br /><br /><a href="https://marmicode.io/blog/angular-signals-and-custom-render-strategies" target="_blank" rel="noopener">https://marmicode.io/blog/angular-signals-and-custom-render-strategies</a></div>
    <div class="x-arch-text x-arch-trans">💭 只渲染视口内的内容有一个有趣的附带效果：在性能通常较弱的小设备上，我们渲染的组件更少……<br /><br /><a href="https://marmicode.io/blog/angular-signals-and-custom-render-strategies" target="_blank" rel="noopener">https://marmicode.io/blog/angular-signals-and-custom-render-strategies</a></div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2023-04/1644979383936106497-1.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2023-04/1644979383936106497-1.jpg" alt="@yjaaidi 的配图 1/1" loading="lazy" decoding="async" width="2048" height="735" /></a>
    </div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1645001886238384130" id="xl-1645001886238384130-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1645001886238384130" id="xl-1645001886238384130-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/1183559167086333953/fUOK2Eqi_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/v_language" target="_blank" rel="nofollow noopener" data-name="The V Programming Language" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1183559167086333953/fUOK2Eqi_bigger.jpg">@v_language</a><span class="x-arch-time">17:53</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1645001886238384130-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1645001886238384130-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/v_language/status/1645001886238384130" 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">V now has a new wasm module with a pure V implementation of the wasm bytecode module format!<br /><br />It provides a builder to generate wasm modules in memory, enabling users to create functions, opcodes, and use the entire wasm specification without relying on large deps like binaryen.</div>
    <div class="x-arch-text x-arch-trans">V 新增了一个 wasm 模块，用纯 V 实现了 wasm 字节码模块格式！<br /><br />它提供了一个 builder，可以在内存中生成 wasm 模块，让用户能够创建函数、opcode，并使用完整的 wasm 规范，而无需依赖 binaryen 这类庞大的依赖。</div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2026-10/1645001886238384130-1.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1645001886238384130-1.jpg" alt="@v_language 的配图 1/1" loading="lazy" decoding="async" width="1144" height="658" /></a>
    </div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1645004125778608129" id="xl-1645004125778608129-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1645004125778608129" id="xl-1645004125778608129-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/1853481766146719745/VY-xvV0c_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/GabrielVergnaud" target="_blank" rel="nofollow noopener" data-name="Gabriel Vergnaud" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1853481766146719745/VY-xvV0c_bigger.jpg">@GabrielVergnaud</a><span class="x-arch-time">18:02</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1645004125778608129-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1645004125778608129-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/GabrielVergnaud/status/1645004125778608129" 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">Who would have thought type-level computer vision would ever be a thing? lol<br /><br />👀👇</div>
    <div class="x-arch-text x-arch-trans">谁能想到类型层面的计算机视觉也能成真？哈哈<br /><br />👀👇</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2023-04/1645004125778608129-poster.jpg" src="/cdn-media/x/2026-10/1645004125778608129-video.mp4" width="1280" height="720" data-duration="43" aria-label="@GabrielVergnaud 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1645004129545117696" id="xl-1645004129545117696-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1645004129545117696" id="xl-1645004129545117696-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/1853481766146719745/VY-xvV0c_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/GabrielVergnaud" target="_blank" rel="nofollow noopener" data-name="Gabriel Vergnaud" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1853481766146719745/VY-xvV0c_bigger.jpg">@GabrielVergnaud</a><span class="x-arch-time">18:02</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1645004129545117696-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1645004129545117696-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/GabrielVergnaud/status/1645004129545117696" 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">lilnasy (on GitHub) shared this on the hotscript discord this morning. Go give him a star 👇<br /><a href="https://github.com/lilnasy/see" target="_blank" rel="noopener">https://github.com/lilnasy/see</a></div>
    <div class="x-arch-text x-arch-trans">lilnasy（GitHub 上的开发者）今天早上在 hotscript 的 Discord 上分享了这个。去给他点个 star 吧 👇<br /><a href="https://github.com/lilnasy/see" target="_blank" rel="noopener">https://github.com/lilnasy/see</a></div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1645076662768537601" id="xl-1645076662768537601-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1645076662768537601" id="xl-1645076662768537601-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">22:50</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1645076662768537601-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1645076662768537601-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/jarredsumner/status/1645076662768537601" 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://github.com/tc39/proposal-import-attributes#import-attributes" target="_blank" rel="noopener">https://github.com/tc39/proposal-import-attributes#import-attributes</a></div>
    <div class="x-arch-text x-arch-trans"><a href="https://github.com/tc39/proposal-import-attributes#import-attributes" target="_blank" rel="noopener">https://github.com/tc39/proposal-import-attributes#import-attributes</a></div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1645084199404044299" id="xl-1645084199404044299-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1645084199404044299" id="xl-1645084199404044299-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/1777007964588498944/4ZSKA6d9_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/tomastrajan" target="_blank" rel="nofollow noopener" data-name="Tomas Trajan" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1777007964588498944/4ZSKA6d9_bigger.jpg">@tomastrajan</a><span class="x-arch-time">23:20</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1645084199404044299-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1645084199404044299-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/tomastrajan/status/1645084199404044299" 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">Epic new discovery for #Angular component styling!<br /><br />We've created #CSS only components as a part of custom component libraries in the past and this would open up new possibilities like the following! <a href="https://t.co/biGyLJ3DeZ" target="_blank" rel="noopener">https://t.co/biGyLJ3DeZ</a></div>
    <div class="x-arch-text x-arch-trans">#Angular 组件样式的重磅新发现！<br /><br />我们过去在自定义组件库里做过纯 #CSS 组件，而这次的新特性会打开像下面这样的新可能！ <a href="https://t.co/biGyLJ3DeZ" target="_blank" rel="noopener">https://t.co/biGyLJ3DeZ</a></div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2026-10/1645084199404044299-1.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1645084199404044299-1.jpg" alt="@tomastrajan 的配图 1/1" loading="lazy" decoding="async" width="1302" height="984" /></a>
    </div>
  </div>
</div>
