Why even cast it to an integer? Can't you directly use a pointer as an identifier?

Reply to this note

Please Login to reply.

Discussion

Because I want to send it through JSON across the wire!

😬

Lol does assigning uuids based on your computers memory allocation make sense to sync to another machine? Idk... Collisions, dereferenceing could fail. Is this a trick question?

I think UUIDs + a local LUT of pointers -> UUIDs is probably the best way to go.

That’s my take

Strongly typed language shenanigans, I suppose.