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

<div class="x-arch-meta">4 条动态 · 图 1 · 视频 0</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1303428846843170816" id="xl-1303428846843170816-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1303428846843170816" id="xl-1303428846843170816-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:23</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1303428846843170816-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1303428846843170816-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/argyleink/status/1303428846843170816" 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'm excited for CSS to help distribute AVIF images! Here's some demo code that follows current spec drafts:<br />- if in data saver / lite mode<br />- match first format supported<br />- match first resolution supported<br />- make that image the background<br /><br />image-set() spec <a href="https://drafts.csswg.org/css-images-4/#image-set-notation" target="_blank" rel="noopener">https://drafts.csswg.org/css-images-4/#image-set-notation</a> <a href="https://t.co/mAcol5JOOp" target="_blank" rel="noopener">https://t.co/mAcol5JOOp</a></div>
    <div class="x-arch-text x-arch-trans">很高兴 CSS 能帮助分发 AVIF 图像！下面是一段遵循当前规范草案的演示代码：<br />- 如果处于省流量 / 轻量模式<br />- 匹配第一个受支持的格式<br />- 匹配第一个受支持的分辨率<br />- 把那张图设为背景<br /><br />image-set() 规范  <a href="https://t.co/mAcol5JOOp" target="_blank" rel="noopener">https://t.co/mAcol5JOOp</a></div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2026-10/1303428846843170816-1.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1303428846843170816-1.jpg" alt="@argyleink 的配图 1/1" loading="lazy" decoding="async" width="1248" height="772" /></a>
    </div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1303474659086667777" id="xl-1303474659086667777-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1303474659086667777" id="xl-1303474659086667777-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/1195586913442230272/_Bw3XNqR_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/HenrikJoreteg" target="_blank" rel="nofollow noopener" data-name="Henrik Joreteg" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1195586913442230272/_Bw3XNqR_bigger.jpg">@HenrikJoreteg</a><span class="x-arch-time">07:25</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1303474659086667777-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1303474659086667777-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/HenrikJoreteg/status/1303474659086667777" 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">Want to run on https locally, without a bunch of fuss?<br /><br />This is your ticket, so nice!<br /><br />Five stars 😂 would install again... ⭐⭐⭐⭐⭐ <br /><br /><a href="https://www.npmjs.com/package/devcert" target="_blank" rel="noopener">https://www.npmjs.com/package/devcert</a></div>
    <div class="x-arch-text x-arch-trans">想在本地跑 https，又不想折腾一堆东西？<br /><br />这就是你的票，太舒服了！<br /><br />五星好评 😂 还会再装…… ⭐⭐⭐⭐⭐ <br /><br /><a href="https://www.npmjs.com/package/devcert" target="_blank" rel="noopener">https://www.npmjs.com/package/devcert</a></div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1303575359913295872" id="xl-1303575359913295872-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1303575359913295872" id="xl-1303575359913295872-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/467581434434453504/iFzELOBn_bigger.jpeg" 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/rauschma" target="_blank" rel="nofollow noopener" data-name="Axel Rauschmayer (also on 🦣)" data-avatar="https://twimg.tweb.xin/twimg/profile_images/467581434434453504/iFzELOBn_bigger.jpeg">@rauschma</a><span class="x-arch-time">14:05</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1303575359913295872-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1303575359913295872-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/rauschma/status/1303575359913295872" 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">The proposed WebAssembly “NativeIO API” for low-level storage looks interesting. Can be used to implement various storage systems, incl. databases.<br /><a href="https://github.com/fivedots/nativeio-explainer" target="_blank" rel="noopener">https://github.com/fivedots/nativeio-explainer</a></div>
    <div class="x-arch-text x-arch-trans">提议中的用于底层存储的 WebAssembly “NativeIO API” 看起来很有意思。可以用来实现各种存储系统，包括数据库。<br /><a href="https://github.com/fivedots/nativeio-explainer" target="_blank" rel="noopener">https://github.com/fivedots/nativeio-explainer</a></div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1303723829261459457" id="xl-1303723829261459457-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1303723829261459457" id="xl-1303723829261459457-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">23:55</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1303723829261459457-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1303723829261459457-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/AugmentCoding/status/1303723829261459457" 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 WebAssembly changes software distribution <a href="https://desiatov.com/why-webassembly" target="_blank" rel="noopener">https://desiatov.com/why-webassembly</a> - a fantastic blog post that explains why WebAssembly came into existence.</div>
    <div class="x-arch-text x-arch-trans">WebAssembly 如何改变软件的分发方式 <a href="https://desiatov.com/why-webassembly" target="_blank" rel="noopener">https://desiatov.com/why-webassembly</a> - 一篇精彩博文，解释了 WebAssembly 为什么会诞生。</div>
  </div>
</div>
