-
@n1ckfg yeah that's reasonable. theyre both abstractions (a pointer is usually not an actual physical address because of virtual memory), one provided by the OS and one provided by the programming language. a javascript object reference is not meaningful outside of a running js VM.
-
@n1ckfg an important distinction when thinking about addresses vs opaque references is that you can do math on the former and not the latter. you can ask for the "next" address since pointers are just integers, but the "next" object in a language is generally not a meaningful thing.