asopi tech
asopi techIndie Developer

Posts tagged#Nim

View
Part 5: Toward Physically Correct Video — World-Model Integration and the Era of AI-Made Training Data
AI
GenAI

Part 5: Toward Physically Correct Video — World-Model Integration and the Era of AI-Made Training Data

Plain video generation tends to produce footage that "looks natural but is physically wrong": objects vanish, gravity is ignored, and the results of actions aren't consistent. Part 5 (the finale) shows, with minimal code, how to embed a world model into video generation and put physical constraints into the loss to make "physically consistent video" — and paints the future of building training data wholesale with AI and simulation. Part 5 of a 5-part series.

Rust Is Not a Silver Bullet — Language Parsers Belong in Nim or Roc
DEV
Dev Notes

Rust Is Not a Silver Bullet — Language Parsers Belong in Nim or Roc

The myth that 'Rust can do anything' collapses the moment you try to scale a recursive AST. For SQL parsers — massive tagged unions, deep recursion — Rust's type system breaks down in both compile time and maintainability. A 3-language benchmark porting the same parser to Nim and Roc shows exactly why Rust is structurally the wrong tool, with runnable code.

Following a Nim ref object Through C Pointers and Reference Counting

How do ref object parameters, nil checks, field access, and return values appear in generated C? This experiment checks Nim 2.2.10 with ORC.

Calling Nim Functions Through a Public C API

Does a function name in generated C make it callable from C? This experiment checks the public header, symbols, and runtime initialization.

Resolving Nim int and float to Concrete C Types

What C types do NI and NF actually denote? This Nim 2.2.10 experiment follows their definitions and the debug arithmetic they select.

Turning a Site into a Desktop App with nimino-pack

Hand nimino-pack a URL and that site becomes an app that opens in its own window. A walkthrough of Nimino, our Nim WebView app foundation, from a local build to a shipped installer.

Deep Insights into Nim Syntax — How Similar Is It to Pascal, Python, and Haskell?

A 38-topic analysis of Nim syntax — declarations, the type system, expression orientation, generics, distinct types, macros, and compile-time execution — comparing how closely each construct resembles the styles of Pascal, Python, C-family, and functional languages, with a primer on block syntax design and the off-side rule.

Getting Started with Nim: Tauri-like Nimino and Zed-like Nimculus

A quick introduction to Nim, and an announcement of two desktop products I started in Nim — Nimino, a Tauri-like lightweight WebView app framework, and Nimculus, a Zed-like GPU-native code editor.

Part 5: Toward Physically Correct Video — World-Model Integration and the Era of AI-Made Training Data

Plain video generation tends to produce footage that "looks natural but is physically wrong": objects vanish, gravity is ignored, and the results of actions aren't consistent. Part 5 (the finale) shows, with minimal code, how to embed a world model into video generation and put physical constraints into the loss to make "physically consistent video" — and paints the future of building training data wholesale with AI and simulation. Part 5 of a 5-part series.

Rust Is Not a Silver Bullet — Language Parsers Belong in Nim or Roc

The myth that 'Rust can do anything' collapses the moment you try to scale a recursive AST. For SQL parsers — massive tagged unions, deep recursion — Rust's type system breaks down in both compile time and maintainability. A 3-language benchmark porting the same parser to Nim and Roc shows exactly why Rust is structurally the wrong tool, with runnable code.

Getting Started with Nim: A Multi-Paradigm Language That Transpiles to C

A technical overview of Nim in 2026 — the stable 2.2 series, the upcoming 3.0 (Nimony) compiler rewrite, ORC memory management, C ABI interop, and its real-world performance as an SQL parser candidate for AlopexDB.