News for hackers. Stuff that matters.
Re:Linux: still better for coding by antirez on Wednesday November 04, 2009 @07:17PM (#922955)
Yep with -arch i386 it appears to work but the profiling info it returns is all zeroed. There are the functions but mostly 0% everything. Don't know what's the problem. With 64 bit target it's worse than this (some error printed on screen at startup).

Thanks for the hint about Shark, I'm playing with it and it seems cool indeed.

Re:Linux: still better for coding by yosh on Wednesday November 04, 2009 @10:43PM (#923256)
> Yep with -arch i386 it appears to work but the profiling info it returns is all zeroed.

That's the story of OS X since from when it was first released. For example, you'd have some functionality advertised as being in the system libraries (like, oh, certain important pthread functions) so they'd pass the configure checks, but they would be in reality just stub functions that mean nothing. So your program would subtly fail.

That particular problem was fixed in 10.1, but it seems like every release has a few things like that: something from UNIX that looks like it's there, but actually amounts to no-ops. It's maddening.