4 ms·
Wow thanks! I appreciate the encouragement. The architecture has settled, and I'm slogging through all the features now, so that helps. Yeah Python wasn't th
by chubot 9y ago
Wow thanks! I appreciate the encouragement. The architecture has settled, and I'm slogging through all the features now, so that helps.
Yeah Python wasn't the original plan, but it helped me focus on correctness. I was able to iteratively reverse engineer bash and other shells, while keeping the code relatively clean.
I had hoped to rewrite it in native code, but it's a huge amount of effort, so the first release will be Python.
Existence and correctness are both higher priorities than performance :)
I disguised Python by bundling a slice of the Python interpreter, which will allow me to rewrite it over time without user-visible packaging/deployment changes. I'm also able to fork the Python language because I have the "OPy" compiler.
One thing that should make it faster is using integer offsets everywhere instead of dictionary lookups, and that should be possible without much code change. It is written in a fairly "static" style, although with some important metaprogramming.
EDIT: I also hope to resume blogging more regularly once the code is released. I have a big pile of ideas/notes. But getting it out there in any primitive form is the most important thing right now.