This repository deep dives Go interface values, what they are, how they work, and when storing a value in a Go interface allocates memory on the heap.
Q suffix for instructions like MOVQ and LEAQ mean?CALL actually calling?CALL instruction in ARM assembly?hack directory and the files inside of it?Q suffix for instructions like MOVQ and LEAQ mean?Please refer to this answer from the assembly section in the appendix.
CALL actually calling?Please refer to this answer from the assembly section in the appendix.
CALL instruction in ARM assembly?Please refer to this answer from the assembly section in the appendix.
hack directory and the files inside of it?The hack directory is a convention I picked up from working on Kubernetes and projects related to Kuberentes. The directory contains scripts useful to the project, but not a core piece of the project itself. For example:
hack/asm2md.py: parses the output of go tool compile -S -wb=false ./tests/mem/*.go and produces a markdown tableb2md.py: parses the output of go test -v -count 1 -benchtime 1000x -bench BenchmarkMem -run Mem -benchmem ./tests/mem and produces a markdown tablegen.py: generates ./tests/mem/bench_test.go and ./tests/mem/types_test.go$ claude mcp add go-interface-values \
-- python -m otcore.mcp_server <graph>