Jeffrey Wilcke

Results 8 comments of Jeffrey Wilcke

I have a program that requires cgo and I was wondering if there is any (planned) progress on this issue?

@dvyukov I guess I'm just looking for the easy way out ;-) I'll see if I can stub them away

A couple of things you should know about the VM: - VM is stack based (http://markfaction.wordpress.com/2012/07/15/stack-based-vs-register-based-virtual-machine-architecture-and-the-dalvik-vm/) - VM stack has a theoretical infinite size - Words in memory are 256...

I found some other, old notes I had about this "feature" https://gist.github.com/obscuren/107d18ac9a1b6e7ea05c

On a side note, I did not add static Lua library. If you do not have access to an Apple Silicon machine I can supply a static lib

Thats's odd. I wasn't able to build. Will look in to it (it was complaining about x64 symbols for an ARM binary)

This was 2016… I honestly can’t remember. Are you using this for anything in specific? Do you require a functioning stack?

No, push and pop only support 32bits. See https://github.com/obscuren/tinyvm?tab=readme-ov-file#instruction-encoding