Iโm building some pretty deep tech projects right now โ CPU + OS emulation, compilers, and low-level systems from scratch.
Not just using frameworksโฆ trying to actually understand how everything works under the hood.
If youโre into:
โข Systems programming
โข Emulators / compilers
โข Building complex projects from scratch
โข Breaking things to learn
Letโs connect ๐ค
Always up for discussions, collaborations, or just geeking out over tech.
Drop a reply or DM me โ would love to meet like-minded builders.
#BuildInPublic #SystemsProgramming #LowLevel #TechTwitter #IndieDev #Programmers
Built something Iโve wanted to attempt for a long time โ a programming language and tiny computing stack from scratch.
Over the past few weeks Iโve been building TitanLang / TitanOS, an educational systems project where Iโm exploring how much of a computer can be built from first principles.
So far Iโve implemented:
โ๏ธ CPU emulator in Python
- Registers (A, B, PC, SP, Zero Flag)
- Memory + stack model
- Fetchโdecodeโexecute cycle
- Function calls with CALL/RET
๐ง Custom instruction set + bytecode VM
- LOAD, ADD, SUB
- JMP / conditional jumps
- PUSH / POP
- Memory operations
- Bytecode execution on a virtual CPU
๐ง Two-pass assembler
- Labels and jumps
- Opcode generation
- Assembly โ bytecode translation
๐ป TitanLang compiler
Currently supports:
- Variables
- Arithmetic expressions
- While loops
- If / Else
- Functions
- Parameterized functions
Example:
fn add(x,y)
print x+y
end
call add 5 7
Compiles down through:
TitanLang โ Assembly โ Bytecode โ Virtual CPU execution
Also added a small CLI so programs can run with:
titan examples/add_function.titan
And one thing Iโm especially proud of:
I started documenting the whole thing as The TitanLang Book โ a textbook-style handbook covering computer architecture, assemblers, compilers, VMs, and the project internals.
Next up:
๐ Recursion
๐ More opcodes (MUL, comparisons)
๐ Parser/AST work
๐ Long-term goal: evolve toward a tiny experimental OS
This has been one of the most fun ways Iโve learned systems programming, compiler design, and computer architecture.
Would love feedback from people whoโve built languages, emulators, or toy OS projects.
#ProgrammingLanguages #Compilers #SystemsProgramming #ComputerArchitecture #Python #VirtualMachine #OpenSource #BuildInPublic #OperatingSystems #SoftwareEngineering
@yabsssai Just a tiny bootstrap test program: LOAD A=5, LOAD B=10, ADD them, PRINT result. My emulatorโs first successful computation was 15 โ small number, huge moment.
Day 2 of building TitanOS: an operating system in Python.
Built my first CPU emulator instruction cycle in python and got my machine to execute its first program.
Output: 15
Fetch. Decode. Execute.
We just booted it from scratch. ๐
#BuildInPublic#Python#OperatingSystems
Day 1 of building TitanOS: a tiny operating system in Python.
Starting with an 8-bit CPU emulator, then a kernel, shell, filesystem, and maybe even my own programming language.
Building a computer from scratch. ๐
Stay tuned..๐
#Python#BuildInPublic#OperatingSystems