|
|
Subscribe / Log in / New account

Generics for Go

Generics for Go

Posted Jul 8, 2020 6:58 UTC (Wed) by ncm (guest, #165)
In reply to: Generics for Go by dvdeug
Parent article: Generics for Go

C++ generics do not, in fact, draw on Ada generics, and the Ada attempt at an STL was a dismal failure, as it would also be in Java were it attempted.

C++ generics do owe a lot to ML (not "machine learning"; there was a language ML that also influenced Haskell). Java generics are extremely limited, and their backward compatibility means they offer no performance improvement over older mechanisms.


to post comments

Generics for Go

Posted Jul 16, 2020 10:17 UTC (Thu) by jch (guest, #51929) [Link]

> there was a language ML

Why in the past tense? ML is doing fine, the dialect with the most active community would appear to be OCaml, https://ocaml.org/ . (It looks to me like ML was an important inspiration for Rust.)


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds