Rui Carmo 在他的 Tao of Mac 资源中添加了一个 Smalltalk 页面,列出了各种语言实现并附有说明。第一个条目是 Samaltak,这是一个 Smalltalk 系统,拥有自己的开发工具、由 GPU 绘制的用户界面,以及由运行时而非操作系统调度的绿色线程。其虚拟机是用 Smalltalk 的一个子集编写的,该子集会被转译为 C 语言,并且它可以运行在 macOS 和 Linux 上。
Rui Carmo has added a Smalltalk page to his Tao of Mac resources. It lists implementations of the language with notes on each one.
The first entry is Samaltak. It’s a Smalltalk system with its own development tools. The user interface is drawn by the GPU. It uses green threads. That means the language runtime schedules them, not the operating system.
Samaltak’s virtual machine is written in a subset of Smalltalk. That code is translated to C. Samaltak runs on macOS and Linux.
继续阅读全文
为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。
AI 摘要A beginner's Hackster demonstration shows that pressing a switch lights an LED instantly because the electric field propagates through the wire at nearly the speed of light, causing electrons all along the circuit to move at once. Individual electrons, however, drift very slowly—often less than a millimeter per second—as they collide with atoms and zig-zag toward the positive terminal. The article compares the wire to a conveyor belt already full of electrons, so the ones beside the LED enter it as soon as the belt starts moving.
AI 摘要InfoWorld has highlighted eight programming books that remain must-reads, several of which are available free online. The list spans topics from building interpreters and learning Python to network programming, C, Git, and Lisp macros, and includes classics such as The Mythical Man-Month and Charles Petzold's Code.
AI 摘要Maddie D. Reese has released shard on GitHub, a set of scripts that pool compute and memory across Macs and Windows PCs to run large GGUF models locally with llama.cpp RPC, with one machine coordinating while the others serve as workers. Machines connect via a gigabit switch with Cat6 cables and fixed addresses, with the model stored on the coordinator and workers receiving tensors when the model loads. In a demonstration, the setup answered 2 + 2 in 11 minutes and 51 seconds, and the code is MIT licensed.
AI 摘要This guide explains how to wire a Mini Analog Joystick to the Adafruit Arcade Bonnet for Raspberry Pi. Arcade buttons connect to the bonnet using quick connect wires, making it easier to assemble a retro arcade controller or cabinet. The full guide is available in Adafruit's learn system.
AI 摘要A newly discovered spider species from Thailand, Cryptothele dorotabo, is the first of its ground-dwelling genus recorded in the country, identified through Micro-CT scanning of specimens collected during a 2018 survey. The tiny spider, whose females measure about 0.3 inches, coats itself in a thick layer of mud or soil debris, a behavior researchers are still trying to understand. The species was named after the Dorotabo, a one-eyed ghost from Japanese folklore said to be the spirit of a neglected rice field farmer who rises from the mud at night.