3 ms·
Every Java reference to an object can be a reference to the allocated Go object for that object. The Go objects are the Java objects with no extra indirection.
by karmakaze 3y ago
Every Java reference to an object can be a reference to the allocated Go object for that object. The Go objects are the Java objects with no extra indirection. The Go object would be bytes with each reference field being a struct with a pointer. There should be a low level use these bytes for 'allocating' this object.
- perbu 3y agoThanks. That makes a lot of sense and isn't as complicated as I thought it would be.