chalang
chalang copied to clipboard
a language optimized for state channels on blockchains.
Currently, loading an integer always takes 5 bytes. one byte to warn the interpreter that the next 4 bytes encode an integer, and then those 4 bytes of integer. Looking...
Another thing we could consider doing is optimizing accessing of variables who's pointers are offset from a value in the r-stack. In a function, I use some contiguous available memory...
we have an opcode to check if things are equal, and it leaves those things on the stack. This is a good optimization for using ram while processing the smart...
consumes a binary from the top of the stack, runs it as chalang code. This would let us define new function at run time, enabling continuations passing style programming, and...