3 ms·
> - How is the performance? I'm guessing not great. Looks like a simple bytecode interpreter using interface virtual dispatch on the instructions (!). > - Is
by munificent 12y ago
> - How is the performance?
I'm guessing not great. Looks like a simple bytecode interpreter using interface virtual dispatch on the instructions (!).
> - Is a GC implemented separately or is the Go one directly used (awesome!)?
As far as I can tell, it just uses the native Go GC, which is smart.
- andrewchambers 12y agoNot smart, obvious.
- guipsp 12y agoWhich is also smart.
- millstone 12y agoJava supports exotic reference types like weak references. These require close integration with the GC, and Go doesn't support them, so Go's GC can't be used to implement them.
- needusername 12y agoAnd JNI local and global refs and heap walking via JVMTI and …