News for hackers. Stuff that matters.
Re:Closures and Objects Are Equivalent (2013) by morelisp on Sunday November 20, 2022 @08:42AM (#33680788)
> Also, we don't have a separate name for structs that contain references/pointers and structs that don't do we?

Languages name things they need to help their implementation. In Go, such types are named ("pointer-ful" and "pointer-free"), because they are allocated differently to assist GC. In C++, they're not but instead we have e.g. PODs which other languages don't need to name, because of other optimizations C++ wants to do.

There are no comments on this comment yet.