TriCore
- 1 Devlogs
- 2 Total hours
An interactive platform for learning ternary computing through binary-to-ternary conversion, arithmetic simulation, logic gates, and a mini CPU emulator.
An interactive platform for learning ternary computing through binary-to-ternary conversion, arithmetic simulation, logic gates, and a mini CPU emulator.
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:
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:
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.