Thank you for your explanations.
Having an efficient store/load of pointers over an Object would be very
handy indeed, in the meantime I'm using the storage space of a
HeapNumber object to store my pointers as you suggested some time ago (I
didn't check that a Foreign was related to an External before asking).
I suppose that hacking a new "Opaque" type that behaves like a
HeapNumber object from the GC perspective but without any of the number
methods should be doable and very useful for embedders. The whole idea,
after all, is to have an opaque pointer (from a V8 perspective) inside
JS, so I don't need any "services" from V8, just store it and please
don't consider it a pointer that should be handled in any way.
Cheers!
pablo.