Thanks a lot Axel that's the paper I was looking for :D Thanks for the article, I will read it. But if someone has more explanation for my little exemple, I'm still listening :)
Le mardi 16 août 2022 à 22:18:26 UTC+2, harr...@spu.edu a écrit : > https://planetscale.com/blog/generics-can-make-your-go-code-slower is the > best breakdown I've seen of current implementation details as they hit > assembly. There is a little bit of oil/water thing with interfaces and > generics - they don't exactly mix, but you can cook however you like ... > On Tuesday, August 16, 2022 at 1:03:22 PM UTC-7 guil.l...@gmail.com wrote: > >> Hello, >> >> I remember a paper about Go Generics but I cannot find it again. >> It was a scientist paper (with a lot of maths far beyond my understanding >> ^^). >> Title was something like "Lightweigh generics for Go" or something like >> that. >> I believe the background of the website was red (not sure either). >> If someone has the url, please share it :) >> >> In the same idea, I believed the Go Generics solves the "bloating binary" >> issue. If so, I don't understand why I see the "same instructions" at ligne >> 68-71 and at ligne 81-84 in this exemple : >> https://godbolt.org/z/cqY19PT7q. I'm not fluent with assembler but, for >> me there is a bloating there. >> >> Can someone explain it to me ? :) >> Thanks in advance >> >> -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/021435b1-6d13-4e98-a4fb-c4acad2416c3n%40googlegroups.com.