Mac本地LLM推理的内存优化方案
oMLX 是专为 Mac 设计的 LLM 推理工具,通过连续批处理和分层 KV 缓存(热内存+冷 SSD)实现模型常驻内存、按需自动切换。对需要本地运行大模型做实际编码的开发者,解决了反复加载模型和上下文丢失的痛点。
作者详细记录了如何将 Windows XP 经典游戏 Space Cadet Pinball 逆向移植到 Linux 的全过程,涉及 x86 汇编逆向、32/64 位兼容和音频系统适配。对想了解 Windows 遗留软件移植或复古游戏引擎逆向的工程师有实操参考价值。
这篇文章的真正价值不在游戏本身,而在作者选择了一条比 Wine 更硬核的路径——直接逆向原版二进制并手写兼容层,而不是依赖 Wine 的现成实现。这反映了复古软件 preservation 社区的一个分歧:Wine 追求通用兼容但越来越重,而针对性逆向能得到更轻量、更可维护的单应用移植。
如果你在做遗留系统迁移或闭源软件长期维护,这种"针对单一应用做最小兼容层"的思路比全量虚拟化更经济。作者提到的 escrow 协议细节也值得关注,这是软件考古中常被忽视的版权灰色地带实操。
核心争论:Space Cadet Pinball 是否值得怀旧,以及物理弹珠台是否可行
Sooner or later I'll split the game from data so the second part will be easier, allowing custom flatpaks to extend data. The flatpak has received updates especially for keeping an up-to-date runtime but the upstream game, however, has not and Flathub will only show appstream data for the update. Yo
Cool! I checked out the GitHub: https://github.com/k4zmu2a/SpaceCadetPinball It's been ported to a whole bunch of consoles. There's also a browser version! https://pinball.alula.me/ Also, turns out Space Cadet Pinball is part of a bigger Maxis game I never heard of
And the version from Full Tilt is a significantly enhanced version of the game. It has multiball, where the Windows bundled version doesn't.