2 ms·
In Go, hashmap implementation is pretty low level. Even linker carries some parts of its implementation details.
by f311a 10mo ago
In Go, hashmap implementation is pretty low level. Even linker carries some parts of its implementation details.
- pdpi 10mo agoHuh, that's pretty cool. Do you happen to have any links pointing at any of that stuff?
- f311a 10mo agohttps://github.com/golang/go/blob/7ecb1f36acab7b48d77991d58d456a34074a2d0e/src/cmd/link/internal/ld/deadcode.go#L562 https://github.com/golang/go/blob/7ecb1f36acab7b48d77991d58d... Here linker relies on the current memory layout. Changing it requires updating linker code as well.