---
title: "X 归档 2024-02-23"
date: "2024-02-23"
tags:
  - x-archive
  - rust
  - frontend
  - database
---

<div class="x-arch-meta">2 条动态 · 图 1 · 视频 1</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1760734511132995604" id="xl-1760734511132995604-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1760734511132995604" id="xl-1760734511132995604-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/2049277094174367744/4N0ZgpLW_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/ElectricSQL" target="_blank" rel="nofollow noopener" data-name="Electric" data-avatar="https://twimg.tweb.xin/twimg/profile_images/2049277094174367744/4N0ZgpLW_bigger.png">@ElectricSQL</a><span class="x-arch-time">02:33</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1760734511132995604-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1760734511132995604-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/ElectricSQL/status/1760734511132995604" 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">Hey @jarredsumner &amp; @nikitabase, got it working!<br />PGlite, WASM Postgres running in the browser, Bun and Node. Only 3.7mb gzipped. 🤯<br />In-memory or persisted to the filesystem with Bun/Node and IndexedDB in the browser. 🚀<br /><a href="https://github.com/electric-sql/pglite" target="_blank" rel="noopener">https://github.com/electric-sql/pglite</a><br /><a href="https://x.com/jarredsumner/status/1751967157884432652" target="_blank" rel="noopener">https://x.com/jarredsumner/status/1751967157884432652</a></div>
    <div class="x-arch-text x-arch-trans">嘿 @jarredsumner 和 @nikitabase，我跑通了！<br />PGlite——运行在浏览器、Bun 和 Node 里的 WASM Postgres。gzip 后仅 3.7mb。🤯<br />在 Bun/Node 中可以存内存或持久化到文件系统，在浏览器里则用 IndexedDB。🚀<br /><a href="https://github.com/electric-sql/pglite" target="_blank" rel="noopener">https://github.com/electric-sql/pglite</a><br /><a href="https://x.com/jarredsumner/status/1751967157884432652" target="_blank" rel="noopener">https://x.com/jarredsumner/status/1751967157884432652</a></div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2026-10/1760734511132995604-1.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1760734511132995604-1.jpg" alt="@ElectricSQL 的配图 1/1" loading="lazy" decoding="async" width="1376" height="846" /></a>
    </div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1760758628347195601" id="xl-1760758628347195601-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1760758628347195601" id="xl-1760758628347195601-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/1515879237453946881/QO6ECtj4_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/realwasmedge" target="_blank" rel="nofollow noopener" data-name="wasmedge" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1515879237453946881/QO6ECtj4_bigger.jpg">@realwasmedge</a><span class="x-arch-time">04:09</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1760758628347195601-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1760758628347195601-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/realwasmedge/status/1760758628347195601" 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">Google’s brand-new open-source LLM, Gemma, is impressive. Even at 2b, a size that fits into IoT devices, it can write code. See below for Gemma 2b coding from a spec, &amp; generating json - all on a MacBook using WasmEdge. <br /><br />Run it on your own laptop: <a href="https://www.secondstate.io/articles/gemma-7b-it/" target="_blank" rel="noopener">https://www.secondstate.io/articles/gemma-7b-it/</a></div>
    <div class="x-arch-text x-arch-trans">Google 全新的开源 LLM——Gemma，令人印象深刻。即便是 2b 这种能塞进 IoT 设备的尺寸，它也能写代码。见下方 Gemma 2b 根据规格说明写代码并生成 json 的演示——全部是在 MacBook 上用 WasmEdge 跑的。 <br /><br />在你的笔记本上运行它：<a href="https://www.secondstate.io/articles/gemma-7b-it/" target="_blank" rel="noopener">https://www.secondstate.io/articles/gemma-7b-it/</a></div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2024-02/1760758628347195601-poster.jpg" src="/cdn-media/x/2026-10/1760758628347195601-video.mp4" width="1106" height="720" data-duration="57" aria-label="@realwasmedge 的视频"></video>
  </div>
</div>
