A developer shares their vision for UVM, a minimalistic custom virtual machine designed to be a sandboxed, cross-platform software distribution system. The goal is to combine the convenience of package managers like apt/brew with mobile-style capability-based sandboxing and true cross-platform portability. UVM uses a simple instruction set targeting x86-64, arm64, and RISC-V, exposes only low-level APIs (no FFI), and packages programs as single self-contained files. The author compares UVM to existing solutions (Docker, AppImage, Flatpak, JVM, Wasm, browsers) and explains why none fully solve the combination of portability, sandboxing, and ease of use. A working prototype exists with sound, graphics, and networking APIs, and Doom has been compiled to run on it via a Clang backend. Next steps include switching to a register-based interpreter, implementing a JIT compiler, and designing the permission model. The post solicits community feedback and contributors.
Nguồn: https://pointersgonewild.com/2026-07-14-sandboxed-cross-platform-software-distribution. 8sync News chỉ tóm tắt và dẫn link; bản quyền nội dung thuộc tác giả và nguồn gốc.
Đọc tin ở đây, luyện code, học theo lộ trình và luyện IELTS trên các sản phẩm anh em — tất cả kết nối với nhau trong hệ sinh thái 8 Sync Dev.
Cổng chính của hệ sinh thái: giới thiệu sản phẩm, blog và bảng giá trọn bộ.
Khám pháHọc theo lộ trình với video, quiz chấm tự động, certificate và mentor đang làm nghề.
Xem khóa họcLuyện thuật toán chấm tự động 7 ngôn ngữ, chạy code ngay trên trình duyệt.
A developer revived their custom stack-based bytecode VM (UVM) and built a Clang/LLVM IR backend for it using AI assistance. After Claude Opus wrote an LLVM IR parser in Rust in ~20 minutes, a working compiler was completed in days. The author then ported Doom to run on UVM using Claude Code in about an hour, optimizing it from ~27 FPS to ~86 FPS through palette lookup tables and improved frame buffer upsampling. The project is open source, and future plans include refactoring UVM to use a register-based instruction set for better performance.
AI cho doanh nghiệp B2B: chat đa kênh AI phản hồi, gom lead tiềm năng, phân loại khách hàng.
Sắp ra mắtDeveloper Yeo Kheng Meng built a Swift development environment that targets the Apple II platform, covering the original 1977 model through the IIe. Since the Apple II runs a 1 MHz 6502 CPU, the approach compiles Swift to bytecode executed by a virtual machine running on the 6502. The setup requires a 48 KB RAM upgrade but otherwise targets stock hardware. Claude Code and GPT 4.5 Codex assisted in piecing the project together.