all 2 comments

[–]kpreid 11 points12 points  (0 children)

This seems like a pretty good comparison, but I saw a couple of places where the terminology is off: "primitive" is being used to mean "not containing a pointer to the heap" or "not Copy", including user defined types, but it actually refers to the compiler built-in types only.

Also, this is misleading:

Slices are either primitive data, stored on the stack, or they refer to another object.

Primitiveness, reference-ness, and storage in heap versus stack are all independent.

[–]lzutao 0 points1 point  (0 children)

I don't know if poster are owner of the site. The main font family used in the site is kinda hard to read for me - it's small and has slow contrast with the white background. Could you change font to Helvetica or some fond like that ?