News for hackers. Stuff that matters.
Re:Xcode 4 ships a buggy compiler by pkaler on Saturday December 31, 2011 @06:29AM (#3410701)
> This is a compiler we're talking about. Having a "deal with it" attitude is not a good thing to have. If there's a kernel bug that causes a crash would you also say "deal with it" or would you ask the creators to fix it?

It's not a bug. It's undefined behaviour for a compiler intrinsic.

> This is part of the code for the conservative garbage collector which is supposed to scan the stack for pointers. If you know a better way to do that, by all means let's hear it.

Keep two heaps. A long life heap and short life heap that is essentially a stack. http://engineering.twitter.com/2011/03/building-faster-ruby-...

Lua uses a struct called lua_State for this. http://www.lua.org/source/5.2/lstate.h.html

There are no comments on this comment yet.