4 ms·
I think they do; the problem is that Go puts way less things behind a pointer than Haskell does. Every struct is its own runtime representation. If you change t
by lalaithion 5y ago
I think they do; the problem is that Go puts way less things behind a pointer than Haskell does. Every struct is its own runtime representation. If you change the example in https://github.com/golang/go/issues/48018 https://github.com/golang/go/issues/48018 to use a pointer indirection, I think it should work.
- Ericson2314 5y agoHopefully Haskell will get some monomorphizing generics and we will make less stuff boxed too!