HN user

restes

36 karma
Posts0
Comments14
View on HN
No posts found.
MacBook Neo 5 months ago

People are having beachballs on machines with 32GB and more.

Well, sure, because the beachball means the main thread is hung, and that can happen for many reasons unrelated to memory pressure.

You essentially can make money buying something.

Well, only if you can earn more over 12 months than the asset you bought depreciated. I think a better way to look at it is that you can earn a small discount.

Compilers are free to assume x is non-null at the time it’s dereferenced, so isn’t it true by definition? Do you have an example that doesn’t rely on undefined behavior?

The GP was referring to C++

I would almost never write C++ …

Edit: nevermind, I missed the point! GP is saying he wouldn’t write C++ if C supported these features.

why can't I specify, and have the compiler yell at me if I don't properly handle, "this pointer may never be null"

You can do so easily. A reference is a pointer that is never null.