News for hackers. Stuff that matters.
Re:Golang generics proposal has been accepted by lordofgibbons on Wednesday February 10, 2021 @03:12PM (#26094077)
Will it requires a VM to run?

Also, how fast will this language build large projects?

Re:Golang generics proposal has been accepted by cies on Wednesday February 10, 2021 @03:18PM (#26094139)
It will be like Go: no VM. And have great interop with Go!

> Also, how fast will this language build large projects?

Slightly slower.

I wonder what the implementation of generics will do to Go's otherwise stellar compile times. A code base heavily using generics can easily be double the compile time. Not sure how this will be sold, probably "but then simply do not use it!"

Re:Golang generics proposal has been accepted by erik_seaberg on Wednesday February 10, 2021 @03:41PM (#26094458)
I'm made out of meat, the compiler is always going to be millions of times faster than that. Are generics actually slower than codegen plus parsing the same method body over and over with different types?
Re:Golang generics proposal has been accepted by cies on Wednesday February 10, 2021 @04:12PM (#26094887)
> meat

Flesh to me. (vegan) :)

Re:Golang generics proposal has been accepted by erik_seaberg on Wednesday February 10, 2021 @04:35PM (#26095157)
Re:Golang generics proposal has been accepted by cies on Thursday February 11, 2021 @02:58AM (#26099286)
Thanks for the reference. I chuckled :)