Devlog #1 — TriCore
Started working on TriCore today.
The idea behind it is pretty simple: almost every computer uses binary (0s and 1s), so I wanted to see what happens when you start exploring ternary instead, where numbers are represented using 0, 1, and 2.
Today was mostly about getting the foundation in place.
So far I’ve built:
- A decimal → ternary converter
- A ternary → decimal converter
- A binary vs ternary comparison tool
The comparison tool ended up being more interesting than I expected. While testing different numbers, I noticed that ternary representations can sometimes use fewer digits than binary ones.
For example:
64
Binary = 1000000
Ternary = 2101
Seeing that made me want to dig deeper into how ternary systems actually work and why people have researched them in the past.
I also spent some time cleaning up the repository and writing documentation so the project doesn’t immediately become a mess as I add more features.
Next, I want to look into:
- Balanced ternary
- Ternary arithmetic
- Logic gates
- Interactive simulations
Right now TriCore is pretty small, but the goal is to slowly turn it into a toolkit for experimenting with ternary computing concepts rather than just a collection of conversion scripts.
We’ll see where it goes.