-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the TeaMachine wiki!
Naturally, you are going to wonder why TeaMachine does not build on the first try. It is because it needs the shardmap.so and shardmap.h from a subdirectory that is in a different git repository. This one:
https://github.com/danielbot/Shardmap
Just symlink your Shardmap directory to your Teamachine directory, and voila.
Let's share some ugly truth about TeaMachine: as it stands you cannot save your TeaMachine dictionary, reload it and expect it to work. This is because the direct jump labels will all be linked to different memory addresses and you will immediately jump off into oblivion. This means that for the moment, TeaMachine's state must be entirely rebuilt every program run, which would greatly devalue its usefulness as a general purpose scripting language if it were to stay that way. Which it won't. There is an elegant fix coming down the pipe, and do not let me bore your with the details right now. Just think about the problem and think, what would you do about it? Keep in mind that this big weakness is also a huge strength: direct threading is what gets that .7 nanosecond interpreter cycle time. That is indeed worth working through a few tricky issues to hang on to. I mean, if you experience that speed once it's not something you want to let go of easily!