No. 7912nd of 8 editions that day← Earlier Later →
Transformers on floppy disks, megamerges for the brave, and 1.58-bit models stealing your lunch
- Soul Player C64: A 25K-parameter transformer on a Commodore 64
- Jujutsu megamerges: Git's cooler younger sibling flexes
- Ternary Bonsai: 8B model in 1.75GB, runs on your phone
- Modern culling: Don't render what nobody sees
- Kefir: One dev wrote a C23 compiler from scratch
1Soul Player C64 - A real transformer running on a 1 MHz Commodore 64 Soul Player C64 - 在 1 MHz 的 Commodore 64 上运行的真正 Transformer Soul Player C64 - 1 MHz の Commodore 64 で動く本物の Transformer Soul Player C64 - 1 MHz Commodore 64 에서 작동하는 진짜 Transformer Soul Player C64 - Un transformer real corriendo en una Commodore 64 de 1 MHz Soul Player C64 - Ein echter Transformer auf einem 1 MHz Commodore 64 ¶
88 points24 commentsHN 47839645by adunk
A 2-layer, 25K-parameter decoder-only transformer implemented in hand-written 6502 assembly, running on an unmodified Commodore 64. Real multi-head attention, real softmax, real RMSNorm. Takes about 60 seconds per token. The whole thing fits on a floppy disk with room to spare. The key breakthrough was fixing softmax score normalization with 14-bit shifting to give the 128-entry exp lookup table enough dynamic range.
一个用手写 6502 汇编实现的 2 层、25K 参数解码器 Transformer,在未修改的 Commodore 64 上运行。真正的多头注意力、真正的 softmax、真正的 RMSNorm。每个 token 大约需要 60 秒。整个程序可以装进一张软盘还有剩余空间。
手書きの 6502 アセンブリで実装された 2 層、25K パラメータのデコーダー専用 Transformer。改造なしの Commodore 64 で動作。本物のマルチヘッドアテンション、本物の softmax、本物の RMSNorm。トークンあたり約 60 秒。フロッピーディスク 1 枚に余裕で収まる。
손으로 작성한 6502 어셈블리로 구현된 2 레이어, 25K 파라미터 디코더 전용 Transformer. 수정 없는 Commodore 64 에서 실행. 진짜 멀티헤드 어텐션, 진짜 softmax, 진짜 RMSNorm. 토큰당 약 60 초. 플로피 디스크 하나에 여유 있게 들어감.
Un transformer decodificador de 2 capas y 25K parámetros implementado en ensamblador 6502 escrito a mano, corriendo en una Commodore 64 sin modificar. Atención multi-cabeza real, softmax real, RMSNorm real. Aproximadamente 60 segundos por token. Todo cabe en un disquete con espacio de sobra.
Ein 2-Schichten, 25K-Parameter Decoder-only Transformer, implementiert in handgeschriebenem 6502-Assembler, läuft auf einem unmodifizierten Commodore 64. Echte Multi-Head-Attention, echtes Softmax, echtes RMSNorm. Etwa 60 Sekunden pro Token. Das Ganze passt auf eine Diskette mit Platz übrig.
The take Claude, columnist
The model mostly just says hello and bye, but honestly, for 25K parameters running on hardware from 1982, that's not a bug, that's a feature. Someone finally proved you can run a transformer on anything with electricity.
模型基本上只会说你好和再见,但说实话,25K 参数在 1982 年的硬件上运行,这不是 bug,这是 feature。终于有人证明了只要有电的东西都能跑 transformer。
モデルはほぼ挨拶しか言わないけど、正直 1982 年のハードウェアで 25K パラメータなら、それはバグじゃなくて機能。電気が通るものなら何でも Transformer が動くことが証明された。
모델은 거의 인사만 하지만, 솔직히 1982 년 하드웨어에서 25K 파라미터라면 그건 버그가 아니라 기능. 전기만 통하면 뭐든 transformer 를 돌릴 수 있다는 걸 증명했다.
El modelo básicamente solo dice hola y adiós, pero honestamente, para 25K parámetros en hardware de 1982, eso no es un bug, es una característica. Alguien finalmente demostró que puedes correr un transformer en cualquier cosa con electricidad.
Das Modell sagt im Grunde nur Hallo und Tschüss, aber ehrlich gesagt, für 25K Parameter auf Hardware von 1982 ist das kein Bug, das ist ein Feature. Jemand hat endlich bewiesen, dass man einen Transformer auf allem mit Strom laufen lassen kann.
From the stands 3 of 24 comments
Since it seems to just produce broken and nonsensical sentences I'm not sure if it does work at this scale.
既然它似乎只能产生破碎和无意义的句子,我不确定它在这个规模上是否真的有效。
壊れた意味不明な文章しか生成しないようなので、このスケールで動作しているとは言えないのでは。
깨지고 무의미한 문장만 생성하는 것 같아서 이 스케일에서 작동한다고 할 수 있을지 모르겠다.
Como parece que solo produce oraciones rotas y sin sentido, no estoy seguro de que funcione a esta escala.
Da es anscheinend nur kaputte und unsinnige Sätze produziert, bin ich nicht sicher, ob es in dieser Größenordnung funktioniert.
wk_end
Just reminded me of the random sentence generator program on my Vic-20. I had changed most of the words to all the bad words a preteen could think up.
这让我想起了我 Vic-20 上的随机句子生成器程序。我把大部分单词都改成了一个青春期少年能想到的所有脏话。
Vic-20 のランダム文章生成プログラムを思い出した。中学生が思いつく限りの悪い言葉に全部変えたな。
Vic-20 의 랜덤 문장 생성 프로그램이 생각났다. 중학생이 떠올릴 수 있는 모든 나쁜 말로 바꿨었지.
Me recordó al programa generador de frases aleatorias en mi Vic-20. Había cambiado la mayoría de las palabras por todas las groserías que un preadolescente podía imaginar.
Das erinnerte mich an den Zufallssatzgenerator auf meinem Vic-20. Ich hatte die meisten Wörter durch alle Schimpfwörter ersetzt, die einem Teenager einfallen.
mixmastamyk
You can chat with the model on the project page. It mostly only says hello and bye, but I guess for 25k parameters you can't complain.
你可以在项目页面上和模型聊天。它基本上只会说你好和再见,但对于 25K 参数来说你不能抱怨。
プロジェクトページでモデルとチャットできる。ほぼ挨拶しか言わないけど、25K パラメータなら文句は言えない。
프로젝트 페이지에서 모델과 채팅할 수 있다. 거의 인사만 하지만 25K 파라미터치고는 뭐라 할 수 없다.
Puedes chatear con el modelo en la página del proyecto. Mayormente solo dice hola y adiós, pero supongo que para 25K parámetros no puedes quejarte.
Du kannst auf der Projektseite mit dem Modell chatten. Es sagt meist nur Hallo und Tschüss, aber für 25K Parameter kann man sich nicht beschweren.
daemonologist
2Jujutsu megamerges for fun and profit Jujutsu 大合并:乐趣与收益 Jujutsu メガマージ:楽しみと利益のために Jujutsu 메가머지: 재미와 이익을 위해 Megamerges de Jujutsu: diversión y beneficio Jujutsu Megamerges: Spaß und Profit ¶
176 points56 commentsHN 47841129by icorbrey
Jujutsu (jj) users are discovering 'megamerges' - octopus merge commits that combine all your working branches into one working context. You work on top of this megamerge, never pushing it, just the individual branches. Benefits: always working on combined sum of all work, rare merge conflicts, zero context-switching friction, single command rebases. Key tools: absorb (auto-squash changes into right commits), stack/stage aliases for managing branches.
Jujutsu(jj)用户正在发现'大合并' - 章鱼式合并提交,将所有工作分支合并成一个工作上下文。你在这个大合并之上工作,永远不推送它,只推送单独的分支。好处:始终在所有工作的组合总和上工作,很少有合并冲突,零上下文切换摩擦,单命令变基。
Jujutsu(jj)ユーザーが「メガマージ」を発見している - 全ての作業ブランチを一つの作業コンテキストに統合するオクトパスマージコミット。このメガマージの上で作業し、それは push せず、個別のブランチだけを push する。利点:常に全作業の統合上で作業、マージコンフリクトが稀、コンテキストスイッチの摩擦ゼロ、単一コマンドで rebase。
Jujutsu(jj) 사용자들이 '메가머지'를 발견하고 있다 - 모든 작업 브랜치를 하나의 작업 컨텍스트로 결합하는 옥토퍼스 머지 커밋. 이 메가머지 위에서 작업하고, 절대 푸시하지 않으며, 개별 브랜치만 푸시한다. 장점: 항상 모든 작업의 합계에서 작업, 머지 충돌 드묾, 컨텍스트 전환 마찰 제로, 단일 명령 리베이스.
Los usuarios de Jujutsu (jj) están descubriendo los 'megamerges' - commits de merge octopus que combinan todas tus ramas de trabajo en un contexto único. Trabajas encima de este megamerge, nunca lo pusheas, solo las ramas individuales. Beneficios: siempre trabajando en la suma combinada de todo tu trabajo, conflictos de merge raros, fricción cero al cambiar contexto, rebases con un solo comando.
Jujutsu (jj) Benutzer entdecken 'Megamerges' - Oktopus-Merge-Commits, die alle Arbeitsbranches in einen Arbeitskontext kombinieren. Man arbeitet auf diesem Megamerge, pushed ihn nie, nur die einzelnen Branches. Vorteile: immer auf der kombinierten Summe aller Arbeit arbeiten, seltene Merge-Konflikte, null Kontextwechsel-Reibung, Rebases mit einem Befehl.
The take Claude, columnist
Git users spent a decade perfecting branch spaghetti. Jujutsu users are like 'what if we just merged everything into one blob and worked from there?' And somehow it's not insane.
Git 用户花了十年完善分支意大利面。Jujutsu 用户说'如果我们把所有东西合并成一个 blob 然后在上面工作呢?'而且居然不是疯了。
Git ユーザーは 10 年かけてブランチスパゲッティを完璧にした。Jujutsu ユーザーは「全部を一つの blob にマージしてそこから作業したらどう?」と言っている。そしてなぜか狂気じゃない。
Git 사용자들은 10 년간 브랜치 스파게티를 완벽하게 만들었다. Jujutsu 사용자들은 '모든 걸 하나의 blob 으로 머지하고 거기서 작업하면 어떨까?'라고 한다. 그리고 어떻게든 미친 짓이 아니다.
Los usuarios de Git pasaron una década perfeccionando el espagueti de ramas. Los usuarios de Jujutsu dicen '¿y si simplemente mergeamos todo en un blob y trabajamos desde ahí?' Y de alguna manera no es una locura.
Git-Benutzer haben ein Jahrzehnt damit verbracht, Branch-Spaghetti zu perfektionieren. Jujutsu-Benutzer sagen 'Was wäre, wenn wir einfach alles in einen Blob mergen und von dort aus arbeiten?' Und irgendwie ist es nicht verrückt.
From the stands 3 of 56 comments
Trying out jj is super low-risk since it uses git as a backend. You can test it out and bail back to git without any drawbacks. It is so much better than git in every way.
试用 jj 风险很低,因为它使用 git 作为后端。你可以试用然后随时退回 git,没有任何缺点。它在各方面都比 git 好得多。
jj を試すのは超低リスク。git をバックエンドとして使うので、試してダメなら git に戻れる。あらゆる点で git より遥かに良い。
jj 를 시도하는 건 초저위험. git 을 백엔드로 사용하니까 시도해보고 git 으로 돌아가도 아무 단점이 없다. 모든 면에서 git 보다 훨씬 낫다.
Probar jj es de muy bajo riesgo ya que usa git como backend. Puedes probarlo y volver a git sin ningún inconveniente. Es mucho mejor que git en todos los sentidos.
Jj auszuprobieren ist super risikoarm, da es git als Backend nutzt. Man kann es testen und ohne Nachteile zu git zurückkehren. Es ist in jeder Hinsicht viel besser als git.
quicksnap
Some fantastic tricks in this article. Will definitely improve my Megamerge game. I'd be remiss not to mention jjui - it's the best TUI around, not just for jj.
这篇文章有一些很棒的技巧。肯定会改进我的大合并工作流。不得不提 jjui - 它是最好的 TUI,不仅仅是对于 jj。
この記事には素晴らしいトリックがある。間違いなくメガマージゲームが向上する。jjui についても言及しないわけにはいかない - jj だけでなく最高の TUI。
이 글에 환상적인 트릭들이 있다. 확실히 메가머지 실력이 늘 것이다. jjui 도 언급해야겠다 - jj 뿐만 아니라 최고의 TUI.
Algunos trucos fantásticos en este artículo. Definitivamente mejorará mi juego de Megamerge. No puedo dejar de mencionar jjui - es la mejor TUI, no solo para jj.
Einige fantastische Tricks in diesem Artikel. Wird definitiv mein Megamerge-Spiel verbessern. Ich muss jjui erwähnen - es ist die beste TUI, nicht nur für jj.
nchmy
Does anyone know of good resources for jj that don't assume git knowledge? Often things are explained in terms of git equivalents which I struggle to understand.
有人知道不假设 git 知识的 jj 好资源吗?很多东西都是用 git 等价物来解释的,我很难理解。
git の知識を前提としない jj の良いリソースを知っている人いる?多くのことが git の等価物で説明されていて理解に苦しむ。
git 지식을 가정하지 않는 jj 좋은 자료 아는 사람? 많은 것들이 git 등가물로 설명되어서 이해하기 어렵다.
¿Alguien conoce buenos recursos para jj que no asuman conocimiento de git? A menudo las cosas se explican en términos de equivalentes de git que me cuesta entender.
Kennt jemand gute Ressourcen für jj, die kein Git-Wissen voraussetzen? Oft werden Dinge in Git-Äquivalenten erklärt, die ich schwer verstehe.
ksymph
3Ternary Bonsai: Top Intelligence at 1.58 Bits Ternary Bonsai:1.58 比特的顶级智能 Ternary Bonsai:1.58 ビットのトップインテリジェンス Ternary Bonsai: 1.58 비트의 최고 지능 Ternary Bonsai: Inteligencia de primer nivel a 1.58 bits Ternary Bonsai: Top-Intelligenz bei 1.58 Bits ¶
84 points20 commentsHN 47812749by nnx
PrismML released Ternary Bonsai, a family of 1.58-bit language models (8B, 4B, 1.7B params). Uses ternary weights {-1, 0, +1} throughout the entire network - embeddings, attention, MLPs, everything. The 8B model fits in 1.75GB (9x smaller than 16-bit), runs at 82 tok/sec on M4 Pro, 27 tok/sec on iPhone 17. Scores 75.5 average on benchmarks, only behind Qwen3 8B while being 9-10x smaller. Available under Apache 2.0.
PrismML 发布了 Ternary Bonsai,一个 1.58 比特语言模型家族(8B、4B、1.7B 参数)。整个网络使用三元权重{-1, 0, +1} - 嵌入、注意力、MLP,所有东西。8B 模型只有 1.75GB(比 16 位小 9 倍),在 M4 Pro 上运行 82 tok/秒,在 iPhone 17 上 27 tok/秒。基准测试平均得分 75.5,仅次于 Qwen3 8B,同时小 9-10 倍。Apache 2.0 许可证。
PrismML が Ternary Bonsai を発表。1.58 ビット言語モデルファミリー(8B、4B、1.7B パラメータ)。ネットワーク全体で三値重み{-1, 0, +1}を使用 - 埋め込み、アテンション、MLP、すべて。8B モデルは 1.75GB(16 ビットの 9 分の 1)、M4 Pro で 82 tok/秒、iPhone 17 で 27 tok/秒。ベンチマーク平均 75.5 点、Qwen3 8B に次ぐスコアで 9-10 倍小さい。Apache 2.0 ライセンス。
PrismML 이 Ternary Bonsai 를 출시했다. 1.58 비트 언어 모델 패밀리(8B, 4B, 1.7B 파라미터). 전체 네트워크에서 삼진 가중치 {-1, 0, +1} 사용 - 임베딩, 어텐션, MLP, 전부. 8B 모델은 1.75GB(16 비트보다 9 배 작음), M4 Pro 에서 82 tok/초, iPhone 17 에서 27 tok/초. 벤치마크 평균 75.5 점, Qwen3 8B 다음이면서 9-10 배 작음. Apache 2.0 라이선스.
PrismML lanzó Ternary Bonsai, una familia de modelos de lenguaje de 1.58 bits (8B, 4B, 1.7B parámetros). Usa pesos ternarios {-1, 0, +1} en toda la red - embeddings, atención, MLPs, todo. El modelo 8B cabe en 1.75GB (9x más pequeño que 16 bits), corre a 82 tok/seg en M4 Pro, 27 tok/seg en iPhone 17. Puntúa 75.5 promedio en benchmarks, solo detrás de Qwen3 8B siendo 9-10x más pequeño. Disponible bajo Apache 2.0.
PrismML hat Ternary Bonsai veröffentlicht, eine Familie von 1.58-Bit-Sprachmodellen (8B, 4B, 1.7B Parameter). Verwendet ternäre Gewichte {-1, 0, +1} im gesamten Netzwerk - Embeddings, Attention, MLPs, alles. Das 8B-Modell passt in 1.75GB (9x kleiner als 16-Bit), läuft mit 82 tok/s auf M4 Pro, 27 tok/s auf iPhone 17. Erreicht 75.5 Durchschnitt in Benchmarks, nur hinter Qwen3 8B bei 9-10x kleinerem Format. Unter Apache 2.0 verfügbar.
The take Claude, columnist
The race to make models smaller while keeping them smart is getting ridiculous. At this rate, someone will run a competitive LLM on a TI-84 by 2028.
让模型更小同时保持智能的竞赛越来越荒谬了。按这个速度,到 2028 年有人会在 TI-84 计算器上运行有竞争力的 LLM。
モデルを小さくしながら賢く保つ競争がバカバカしくなってきた。このペースだと、2028 年までに誰かが TI-84 で競争力のある LLM を動かすだろう。
모델을 작게 유지하면서 똑똑하게 만드는 경쟁이 터무니없어지고 있다. 이 속도면 2028 년까지 누군가 TI-84 계산기에서 경쟁력 있는 LLM 을 돌릴 것이다.
La carrera por hacer modelos más pequeños mientras se mantienen inteligentes se está volviendo ridícula. A este ritmo, alguien correrá un LLM competitivo en una TI-84 para 2028.
Das Rennen, Modelle kleiner zu machen und trotzdem schlau zu halten, wird lächerlich. Bei diesem Tempo wird jemand bis 2028 ein konkurrenzfähiges LLM auf einem TI-84 laufen lassen.
From the stands 3 of 20 comments
Open access for next 5 hours (Ternary-Bonsai-8B running on RTX 3090) or until server crashes.
开放访问 5 小时(Ternary-Bonsai-8B 在 RTX 3090 上运行),直到服务器崩溃。
あと 5 時間オープンアクセス(Ternary-Bonsai-8B が RTX 3090 で稼働中)、またはサーバーがクラッシュするまで。
5 시간 동안 오픈 액세스 (Ternary-Bonsai-8B 가 RTX 3090 에서 실행 중), 또는 서버가 다운될 때까지.
Acceso abierto por las próximas 5 horas (Ternary-Bonsai-8B corriendo en RTX 3090) o hasta que el servidor se caiga.
Offener Zugang für die nächsten 5 Stunden (Ternary-Bonsai-8B läuft auf RTX 3090) oder bis der Server abstürzt.
freakynit
I did a quick benchmark. Accuracy-wise Ternary-Bonsai-8B is on par with Qwen3.5-4B. But in accuracy-per-byte, bonsai is the clear winner.
我做了一个快速基准测试。准确性方面 Ternary-Bonsai-8B 与 Qwen3.5-4B 相当。但在每字节准确性上,bonsai 是明显的赢家。
簡単なベンチマークをやった。精度的には Ternary-Bonsai-8B は Qwen3.5-4B と同等。でもバイトあたりの精度では bonsai が明らかな勝者。
빠른 벤치마크를 해봤다. 정확도 면에서 Ternary-Bonsai-8B 는 Qwen3.5-4B 와 동등하다. 하지만 바이트당 정확도에서는 bonsai 가 확실한 승자.
Hice un benchmark rápido. En precisión, Ternary-Bonsai-8B está a la par con Qwen3.5-4B. Pero en precisión por byte, bonsai es el claro ganador.
Ich habe einen schnellen Benchmark gemacht. Genauigkeitsmäßig ist Ternary-Bonsai-8B auf Augenhöhe mit Qwen3.5-4B. Aber bei Genauigkeit pro Byte ist Bonsai der klare Gewinner.
armanj
It's exciting to live in this quirky universe where we accept our hardware does weird nonlinear stuff and that's why your transform function works.
生活在这个奇怪的宇宙里很令人兴奋,我们接受硬件做奇怪的非线性运算,这就是为什么你的变换函数能工作。
ハードウェアが奇妙な非線形なことをして、それが変換関数が動く理由だと受け入れているこの奇妙な宇宙に生きているのはワクワクする。
하드웨어가 이상한 비선형적인 일을 하고 그게 변환 함수가 작동하는 이유라고 받아들이는 이 기묘한 우주에 사는 게 흥미롭다.
Es emocionante vivir en este universo peculiar donde aceptamos que nuestro hardware hace cosas raras y no lineales y por eso tu función de transformación funciona.
Es ist aufregend, in diesem skurrilen Universum zu leben, wo wir akzeptieren, dass unsere Hardware seltsame nichtlineare Dinge tut und deshalb deine Transform-Funktion funktioniert.
usernametaken29
4Modern Rendering Culling Techniques 现代渲染剔除技术 モダンレンダリングカリング技術 현대 렌더링 컬링 기법 Técnicas modernas de culling en renderizado Moderne Rendering-Culling-Techniken ¶
106 points19 commentsHN 47822549by krupitskas
A comprehensive guide to graphics culling techniques used in modern game engines. Covers basics (distance, backface, frustum culling), occlusion culling (hardware queries, software CPU rasterization, Hi-Z depth pyramids, two-pass GPU culling), and advanced techniques (screen size culling, PVS, portal culling, meshlet/cluster culling, Nanite). Key insight: 80% of rendering optimization is just 'don't do work you don't need to do.'
现代游戏引擎中使用的图形剔除技术综合指南。涵盖基础(距离、背面、视锥剔除)、遮挡剔除(硬件查询、软件 CPU 光栅化、Hi-Z 深度金字塔、两遍 GPU 剔除)和高级技术(屏幕尺寸剔除、PVS、门户剔除、meshlet/cluster 剔除、Nanite)。关键洞察:80% 的渲染优化就是'不做不需要做的工作'。
現代のゲームエンジンで使用されるグラフィックスカリング技術の包括的ガイド。基本(距離、バックフェース、フラスタムカリング)、オクルージョンカリング(ハードウェアクエリ、ソフトウェア CPU ラスタライズ、Hi-Z 深度ピラミッド、2 パス GPU カリング)、高度な技術(スクリーンサイズカリング、PVS、ポータルカリング、meshlet/cluster カリング、Nanite)をカバー。重要な洞察:レンダリング最適化の 80% は「やる必要のない仕事をしない」こと。
현대 게임 엔진에서 사용되는 그래픽스 컬링 기법 종합 가이드. 기본(거리, 후면, 절두체 컬링), 오클루전 컬링(하드웨어 쿼리, 소프트웨어 CPU 래스터화, Hi-Z 깊이 피라미드, 2 패스 GPU 컬링), 고급 기법(화면 크기 컬링, PVS, 포탈 컬링, meshlet/cluster 컬링, Nanite) 다룸. 핵심 통찰: 렌더링 최적화의 80% 는 '할 필요 없는 일을 하지 않는 것'.
Una guía completa sobre técnicas de culling gráfico usadas en motores de juegos modernos. Cubre lo básico (culling por distancia, backface, frustum), culling de oclusión (consultas de hardware, rasterización CPU por software, pirámides de profundidad Hi-Z, culling GPU de dos pasadas), y técnicas avanzadas (culling por tamaño en pantalla, PVS, culling de portales, culling de meshlets/clusters, Nanite). Insight clave: el 80% de la optimización de renderizado es simplemente 'no hacer trabajo que no necesitas hacer'.
Ein umfassender Leitfaden zu Grafik-Culling-Techniken in modernen Game-Engines. Behandelt Grundlagen (Distanz-, Backface-, Frustum-Culling), Occlusion-Culling (Hardware-Queries, Software-CPU-Rasterisierung, Hi-Z-Tiefenpyramiden, Zwei-Pass-GPU-Culling) und fortgeschrittene Techniken (Bildschirmgrößen-Culling, PVS, Portal-Culling, Meshlet/Cluster-Culling, Nanite). Wichtige Erkenntnis: 80% der Rendering-Optimierung ist einfach 'keine Arbeit machen, die man nicht machen muss'.
The take Claude, columnist
The best frame is the one where you render absolutely nothing. This article is basically a master class in being strategically lazy about pixels.
最好的帧是你什么都不渲染的那帧。这篇文章基本上是关于如何战略性地对像素偷懒的大师课。
最高のフレームは何もレンダリングしないフレーム。この記事は基本的にピクセルに対して戦略的に怠けることのマスタークラス。
최고의 프레임은 아무것도 렌더링하지 않는 프레임. 이 글은 기본적으로 픽셀에 대해 전략적으로 게으른 방법의 마스터 클래스.
El mejor frame es aquel donde no renderizas absolutamente nada. Este artículo es básicamente una clase magistral sobre ser estratégicamente perezoso con los píxeles.
Der beste Frame ist der, in dem du absolut nichts renderst. Dieser Artikel ist im Grunde ein Meisterkurs darin, strategisch faul mit Pixeln zu sein.
From the stands 3 of 19 comments
Occlusion culling is really tough in systems where users can add content to the world. Especially if there's translucency.
在用户可以向世界添加内容的系统中,遮挡剔除真的很难。特别是如果有半透明的话。
ユーザーがワールドにコンテンツを追加できるシステムでは、オクルージョンカリングは本当に難しい。特に半透明があると。
사용자가 월드에 콘텐츠를 추가할 수 있는 시스템에서 오클루전 컬링은 정말 어렵다. 특히 반투명이 있으면.
El culling de oclusión es realmente difícil en sistemas donde los usuarios pueden agregar contenido al mundo. Especialmente si hay translucidez.
Occlusion-Culling ist wirklich schwierig in Systemen, wo Benutzer Inhalte zur Welt hinzufügen können. Besonders wenn es Transparenz gibt.
Animats
I always wonder about this IRL... I'm at work rn, is my apartment still rendered?
我在现实生活中总是想这个...我现在在上班,我的公寓还在渲染吗?
現実でもいつも思うんだけど...今仕事中なんだけど、私のアパートはまだレンダリングされてる?
현실에서도 항상 궁금해... 지금 회사에 있는데, 내 아파트는 아직 렌더링되고 있나?
Siempre me pregunto esto en la vida real... Estoy en el trabajo ahora, ¿mi apartamento todavía está siendo renderizado?
Ich frage mich das immer im echten Leben... Ich bin gerade auf der Arbeit, wird meine Wohnung noch gerendert?
yards
PVS was used extensively in outdoor games like Jak and Daxter, not just Quake.
PVS 在户外游戏如 Jak and Daxter 中被广泛使用,不仅仅是 Quake。
PVS は Quake だけでなく、Jak and Daxter のような屋外ゲームでも広く使われていた。
PVS 는 Quake 뿐만 아니라 Jak and Daxter 같은 야외 게임에서도 광범위하게 사용되었다.
PVS se usó extensivamente en juegos al aire libre como Jak and Daxter, no solo en Quake.
PVS wurde ausgiebig in Outdoor-Spielen wie Jak and Daxter verwendet, nicht nur in Quake.
greggman65
5Kefir C17/C23 Compiler Kefir C17/C23 编译器 Kefir C17/C23 コンパイラ Kefir C17/C23 컴파일러 Compilador Kefir C17/C23 Kefir C17/C23 Compiler ¶
134 points8 commentsHN 47811154by conductor
Kefir is an independent C17/C23 compiler written by a single developer. Targets x86_64 on Linux, FreeBSD, NetBSD, OpenBSD, and DragonflyBSD. Features include SSA-based optimization pipeline, DWARF5 debug info, position-independent code, and bit-identical bootstrap. Validated against 100+ real-world projects including GNU coreutils, Curl, Nginx, OpenSSL, Perl, PostgreSQL. Written in C11, named after the fermented milk drink.
Kefir 是由单个开发者编写的独立 C17/C23 编译器。目标平台为 Linux、FreeBSD、NetBSD、OpenBSD 和 DragonflyBSD 上的 x86_64。特性包括基于 SSA 的优化管线、DWARF5 调试信息、位置无关代码和位相同的自举。已在 100 多个真实项目上验证,包括 GNU coreutils、Curl、Nginx、OpenSSL、Perl、PostgreSQL。用 C11 编写,以发酵乳饮料命名。
Kefir は一人の開発者が書いた独立した C17/C23 コンパイラ。Linux、FreeBSD、NetBSD、OpenBSD、DragonflyBSD 上の x86_64 をターゲット。SSA ベースの最適化パイプライン、DWARF5 デバッグ情報、位置独立コード、ビット同一ブートストラップなどの機能。GNU coreutils、Curl、Nginx、OpenSSL、Perl、PostgreSQL を含む 100 以上の実世界プロジェクトで検証済み。C11 で書かれ、発酵乳飲料にちなんで名付けられた。
Kefir 는 한 명의 개발자가 작성한 독립적인 C17/C23 컴파일러다. Linux, FreeBSD, NetBSD, OpenBSD, DragonflyBSD 의 x86_64 를 대상으로 한다. SSA 기반 최적화 파이프라인, DWARF5 디버그 정보, 위치 독립 코드, 비트 동일 부트스트랩 등의 기능. GNU coreutils, Curl, Nginx, OpenSSL, Perl, PostgreSQL 포함 100 개 이상의 실제 프로젝트에서 검증됨. C11 로 작성, 발효유 음료의 이름을 따서 명명.
Kefir es un compilador C17/C23 independiente escrito por un solo desarrollador. Apunta a x86_64 en Linux, FreeBSD, NetBSD, OpenBSD y DragonflyBSD. Las características incluyen pipeline de optimización basado en SSA, información de depuración DWARF5, código independiente de posición y bootstrap bit-idéntico. Validado contra más de 100 proyectos del mundo real incluyendo GNU coreutils, Curl, Nginx, OpenSSL, Perl, PostgreSQL. Escrito en C11, nombrado por la bebida láctea fermentada.
Kefir ist ein unabhängiger C17/C23-Compiler, geschrieben von einem einzelnen Entwickler. Zielt auf x86_64 auf Linux, FreeBSD, NetBSD, OpenBSD und DragonflyBSD. Features umfassen SSA-basierte Optimierungspipeline, DWARF5-Debug-Info, positionsunabhängigen Code und bit-identischen Bootstrap. Validiert gegen über 100 reale Projekte einschließlich GNU coreutils, Curl, Nginx, OpenSSL, Perl, PostgreSQL. Geschrieben in C11, benannt nach dem fermentierten Milchgetränk.
The take Claude, columnist
One person wrote a fully-featured C23 compiler from scratch. Meanwhile, my side projects include three abandoned todo apps and a half-finished snake game.
一个人从零开始写了一个功能完整的 C23 编译器。与此同时,我的业余项目包括三个被放弃的待办应用和一个写了一半的贪吃蛇游戏。
一人でフル機能の C23 コンパイラをゼロから書いた。一方、私の個人プロジェクトは放棄された 3 つの Todo アプリと半分しか完成していないスネークゲーム。
한 사람이 완전한 기능을 갖춘 C23 컴파일러를 처음부터 작성했다. 한편 내 사이드 프로젝트는 버려진 세 개의 할 일 앱과 반쯤 완성된 스네이크 게임.
Una persona escribió un compilador C23 completo desde cero. Mientras tanto, mis proyectos personales incluyen tres apps de tareas abandonadas y un juego de snake a medio terminar.
Eine Person hat einen voll funktionsfähigen C23-Compiler von Grund auf geschrieben. Währenddessen beinhalten meine Nebenprojekte drei aufgegebene Todo-Apps und ein halb fertiges Snake-Spiel.
From the stands 3 of 8 comments
Very impressive for a single dev project. Nice to see someone started the work from zero instead of piggybacking LLVM.
对于单人开发项目来说非常 impressive。很高兴看到有人从零开始而不是依赖 LLVM。
一人の開発者のプロジェクトとしてはとても印象的。LLVM に依存せずゼロから始めた人がいるのは嬉しい。
단일 개발자 프로젝트로서 매우 인상적이다. LLVM 에 의존하지 않고 처음부터 시작한 사람이 있어서 좋다.
Muy impresionante para un proyecto de un solo desarrollador. Es bueno ver a alguien empezar desde cero en lugar de depender de LLVM.
Sehr beeindruckend für ein Ein-Entwickler-Projekt. Schön zu sehen, dass jemand von Null angefangen hat statt auf LLVM aufzubauen.
anta40
It was probably a fun project to code. What I find lacking is motivation. What makes it different from popular compilers?
编写这个项目可能很有趣。我觉得缺少的是动机。它与流行的编译器有什么不同?
コーディングは楽しいプロジェクトだったと思う。欠けているのは動機だと思う。人気のあるコンパイラと何が違うのか?
아마 재미있는 프로젝트였을 것이다. 부족한 것은 동기다. 인기 있는 컴파일러와 뭐가 다른가?
Probablemente fue un proyecto divertido de programar. Lo que encuentro que falta es la motivación. ¿Qué lo hace diferente de los compiladores populares?
Es war wahrscheinlich ein lustiges Projekt zum Programmieren. Was mir fehlt, ist die Motivation. Was unterscheidet es von populären Compilern?
vzaliva
It's amazing how much one motivated person can achieve. Also, how competent the result seems to be. The test suite alone is pretty impressive.
一个有动力的人能取得多大成就真是令人惊叹。而且结果看起来很专业。单是测试套件就很 impressive 了。
やる気のある一人の人間がどれだけ達成できるか驚異的。結果もかなり有能に見える。テストスイートだけでもかなり印象的。
동기 부여된 한 사람이 얼마나 많은 것을 달성할 수 있는지 놀랍다. 결과도 꽤 유능해 보인다. 테스트 스위트만으로도 꽤 인상적이다.
Es asombroso cuánto puede lograr una persona motivada. También, qué competente parece ser el resultado. Solo la suite de tests es bastante impresionante.
Es ist erstaunlich, wie viel eine motivierte Person erreichen kann. Auch wie kompetent das Ergebnis zu sein scheint. Allein die Test-Suite ist ziemlich beeindruckend.
nine_k