- Manehattan MAS hub
- https://holanet.xyz
-
Sasha Koshka is the name I go by online. E-mail me if you have questions about that or about my projects in general.
- Joined on
2022-08-07
Never mind that last comment. When there is no backend, tomo.Do simply does nothing. The application ought not to be running while there is no backend anyways. The simplicity gains from having it…
One thing I didn't consider is that any callback given in OnChange will run in the backend's event loop. Now, this is the Tomo application framework, but having a system running in another…
Perhaps it would be a good idea to alias:
type Unit = float64
And have everything use that. This way, if for some reason we want to use float32 instead, it will be a simpler…
For floats, we would need a custom point, rectangle, etc. because unlike fixed points, there is no package with them. However, we already have Inset, etc. so it's not that big of a deal.
Pros of fixed point math:
- Could be slightly faster (?)
- x/image/font uses it
- Might be more predictable
Pros of floating points:
- Way easier to do math
- Built into the language (no…