Reflections on using Go instead of D

user1234 user1234 at 12.de
Tue Jul 12 07:21:41 UTC 2022


On Tuesday, 12 July 2022 at 07:16:59 UTC, user1234 wrote:
> On Tuesday, 12 July 2022 at 05:23:12 UTC, Siarhei Siamashka 
> wrote:
>> On Tuesday, 12 July 2022 at 04:52:33 UTC, AnimusPEXUS wrote:
>>> I've stopped using Go somewhere at middle 2021 and I used it 
>>> from 2016. and I think Go code generation (templating/go 
>>> generate) is awful and I'm won't going back.
>>
>> Have you stopped using Go before or after the 1.18 release, 
>> which introduced generics? Something like 
>> https://blog.boot.dev/golang/how-to-use-golangs-generics/
>
> From what I've read Go generics are not fully monomorphic. I've 
> read there's a layer of indirection for non-basic types. Maybe 
> that's what AnimusPEXUS meant by "aweful" ?

Source :  
https://planetscale.com/blog/generics-can-make-your-go-code-slower


More information about the Digitalmars-d mailing list