Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I Built a Self-Hosting Language, a DB Engine and a Microkernel — Entirely on My Phone

Описание и применение

Разработан полностью самодостаточный язык программирования, язык запросов, движок БД, игровой движок и микрокернел, все это создано и развернуто исключительно на Android‑телефоне с использованием Termux и текстового редактора.

Задача

Developing and shipping fully functional systems— a programming language, query language, DB engine, game engine, and microkernel—without a laptop or IDE, relying solely on an Android phone.

Результат

Successfully shipped five self-hosted systems entirely from an Android phone, demonstrating that complex language and engine development can be achieved without traditional desktop tooling.

Рабочий процесс

  • Set up Termux and a text editor on Android
  • Implemented SahajCore compiler pipeline (tokenizer, parser, interpreter, bytecode compiler, VM, C/WAT transpilers)
  • Bootstrapped interpreter written in SahajCore via Python-hosted interpreter
  • Rewrote recursive Fibonacci demo iteratively to avoid Python stack overflow
  • Added C and WASM backends (clang, wat2wasm)
  • Built SahajDB with WAL, hash index, commit flush
  • Iterated rapidly on phone, testing with real programs
  • Released systems via GitHub and pip packages

Доказательства

No laptop. No IDE. Just Termux and a text editor.

Источник

The interpreter is written in SahajCore itself. The bootstrap chain: Python-hosted interpreter → runs selfhost.sahaj (interpreter written in SahajCore) → runs target.sahaj (user program)

Источник

SahajDB: A tiny relational engine with Write-Ahead Log (WAL) for durability, Hash index on primary key, commit() flushes to disk and clears the WAL

Источник

  • Дата записи: 2026-09-08T06:08:10.182Z