You are reading content from Scuttlebutt
@Anders %6veJYQtFDp2F5fExn23NHCLzaJnrJi5UQhXEL3gmyCE=.sha256
Re: %1ts45jTyl

That is a nice writeup. The new interface looks a bit like templates from c++?

@cryptix %lbFtkCo6Md/OKTIxBULtt49g0EpzRlOswnZk2M6Orv0=.sha256

@arj
... The new interface looks a bit like templates from c++?

I wouldn't compare it to templates. Go doesn't have anything like that (yet) but the comparison is interesting. In a sense keks and I pretended like we have them but cheated bu using *void everywhere instead of T.

I'm excited for the generics go is getting but I also didn't want to wait for them and also I don't think they are strictly necessary. A few concrete cases are much easier to reason about and optimize since you don't have to please every case.

Join Scuttlebutt now