Typst Makes Big Strides
Typst is a document preparation system that has recently made significant advancements in its development. It aims to provide an alternative to LaTeX with a focus on simplicity and modern features. (lwn.net)
This explains a portable "Not Conio But Compatible" adapter that draws a roguelike on Atari ST by emitting VT52 escape sequences to the TOS console via GEMDOS instead of poking screen memory. It details the VT52 command set used (clear/home, cursor positioning with ESC Y plus row+32/col+32, foreground/background colour with ESC b/ESC c, cursor control, clear-to-end-of-line), and shows using Cconout for output and Cnecin/Cconis for input. The write path maps symbolic glyph IDs to ASCII characters, moves the cursor, sets colour, and prints the glyph with a handful of Cconout calls. Keyboard handling inspects the high-word scan code for arrow keys and ASCII for letters, WASD, space, return and escape. Palette handling is addressed via XBIOS Setcolor to force a black background and white text on init, and restore defaults on shutdown.
Technical rationale and trade-offs are explained: direct screen writes are possible but inconvenient because ST screens are bitmaps with model-dependent bitplane layouts and boot-time screen addresses (Logbase), so VT52 lets the OS handle fonts and bitplane arithmetic. Performance is slower than raw blitting but fast enough for a turn-based roguelike even on non-blitter 520 STs; timing uses Vsync and randomness uses XBIOS RNG seeded into a small xorshift. The adapter is implemented in plat_atarist.c, complements an Amiga adapter, and enables porting the retro-C game to any vbcc target with a console; a ready-to-run EmuTOS preset is provided for quick testing in-browser.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.
Typst is a document preparation system that has recently made significant advancements in its development. It aims to provide an alternative to LaTeX with a focus on simplicity and modern features. (lwn.net)
Jevmem is an automatic project memory tool designed for Claude Code, built on the Jev platform. It aims to enhance code management and recall for developers working with Claude Code. (github.com)
Go 1.26 and 1.27 introduced experimental APIs for SIMD operations across multiple architectures, enabling faster data processing. These APIs replace the previous need for assembly code, improving performance in tasks like cryptography and AI. (go.dev)
Agentic CUDA Kernel Optimizer is an open-source project aimed at improving GPU kernel performance. It automates optimization processes to enhance efficiency in CUDA programming. (github.com)
Topcoat is a comprehensive full-stack Rust framework designed to simplify building web applications with features like views, components, mailers, and an ORM. It aims to make Rust development as productive and enjoyable as Ruby on Rails, especially for AI-driven server applications. (tokio.rs)
Jev Code Reviewer is an open-source tool designed to assist developers in reviewing code quality and security. It integrates with GitHub workflows to streamline the code review process. (github.com)
Today's best Hacker News stories, summarized and screenshotted, one email a day.