4 ms·
Thanks for sharing; this is lovely. I once tried to dig into compiled Go code using Compiler Explorer[0] when I was reading about Go range expressions[1]. I fou
by kretaceous 4y ago
Thanks for sharing; this is lovely. I once tried to dig into compiled Go code using Compiler Explorer[0] when I was reading about Go range expressions[1]. I found it tough to keep track of the colors. The hover feature was neat but the "branching" in this tool will help me.
But the major reason I had difficulty understanding is I don't know Assembly except some basic operations. Are there any resources to learn Assembly, at least to a level that I understand output like this: https://go.godbolt.org/z/P4jW1bG6z https://go.godbolt.org/z/P4jW1bG6z ?
0: https://go.godbolt.org/
1: https://abhijithota.me/go-range/
- anjanb 4y agoA recent YC article mentioned this [site] (https://github.com/hackclub/some-assembly-required/ https://github.com/hackclub/some-assembly-required/)
- yencabulator 4y agoNote that Go uses its own, largely platform-independent, assembler syntax. https://go.dev/doc/asm https://go.dev/doc/asm https://talks.golang.org/2016/asm.slide https://talks.golang.org/2016/asm.slide https://www.youtube.com/watch?v=KINIAgRpkDA https://www.youtube.com/watch?v=KINIAgRpkDA
- tekknolagi 4y agoThere is also GOSSAFUNC, which is built into the Go compiler, and has a web explorer. See this example: https://golang.design/gossa?id=16f6eee9-065d-11ed-adb4-0242ac16000d https://golang.design/gossa?id=16f6eee9-065d-11ed-adb4-0242a... I used a lot of their HTML and CSS when building https://trycinder.com/ https://trycinder.com/