DEV Community


Discussion on: Who's looking for open source contributors? (September 17 edition)

btaskaya profile image
Batuhan Osman Taşkaya

Great Project 👏👏 I love CPU/Memory abstraction applications like VM's (i worked on YerliMilliVM for Kebablang. It process bytecode formed instrucationa that generated by KebabLang. Abstracts Memory, CPU and registers.

2 things may be improved:

  • Coding Style & Repository Structre
  • Docstrings instead of one line descriptions.

And forget Python 2 support. No one cares py2, it sucks.

thomasthespacefox profile image
Thomas Leathers

firstly: its doing more than abstracting CPU and memory. its abstracting the very binary logic of the computer its running on. So naturally the code is going to get a bit on the complicated end of things. It has a full development toolchain, including 2 compilers, all custom built.

secondly: that codebase IS in alpha, and the repository structure is due to SBTCVM being designed as a self-contained, multiplatform package. The codebase is actually far better technically than its predecessor. using a modular design, with frontend code compartmentalized for easier development of additional frontends.

Thats not even mentioning the fact that the CPU is clocked at 6.5Khz. that might not seem like much, but that means the CPU parser is running 6500 times a second.

thirdly: python 2 support is staying until at least its EOL in 2020. That's my decision, and I'm sticking with it.

as for the coding style. I'm honestly more concerned with the modularity, maintainability, and speed of it, rather than how it looks.

still Gen2 is a massive improvement. Gen 1, as it was based on the first prototype, was much worse:

Thread Thread
btaskaya profile image