forked from jakogut/tinyvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
21 lines (16 loc) · 1.12 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
TinyVM is a virtual machine where the goal is having a small footprint.
Low memory usage, a small amount of code, and a small binary. This
virtual machine has been branched into several other projects, including
FastVM and SimpleVM, where performance and simplicity are the main goals
respectively.
TinyVM and all of its branches have differing goals, but they're each designed
to execute the same code. FastVM may have better performance than TinyVM and SimpleVM,
but it may also use more memory, more complex code, and take longer to compile. TinyVM
may be smaller, and have a lighter footprint than the other branches, but it doesn't have
the speed or simplicity of the other two. TVM code is made to be portable across these
virtual machines, but there are tradeoffs to the VM you use to execute your code.
Building can be accomplished on UNIX-like systems with make and GCC.
There are no external dependencies, save the C standard library.
Building can be accomplished using "make," or "make rebuild".
To build a debug version, add "DEBUG=yes" after "make". To build a binary with
profiling enabled, add "PROFILE=yes" after "make".