31 ms·
"In Go object files and binaries, the full name of a symbol is the package path followed by a period and the symbol name: fmt.Printf or math/rand.Int. Because t
by totallygamerjet 4y ago
"In Go object files and binaries, the full name of a symbol is the package path followed by a period and the symbol name: fmt.Printf or math/rand.Int. Because the assembler's parser treats period and slash as punctuation, those strings cannot be used directly as identifier names. Instead, the assembler allows the middle dot character U+00B7 and the division slash U+2215 in identifiers and rewrites them to plain period and slash."[0]
[0] - https://go.dev/doc/asm https://go.dev/doc/asm
- saagarjha 4y agoThis is the most awful thing I’ve encountered all day.
- phanimahesh 4y agoThat's creative. I'm not sure if I should call it abuse, but I'm leaning heavily in favor.