It's doable in corporate enviroment, but in free software world
It's doable in corporate enviroment, but in free software world
Posted Nov 15, 2008 7:33 UTC (Sat) by njs (subscriber, #40338)In reply to: It's doable in corporate enviroment, but in free software world by salimma
Parent article: Things that go Clang in the night: LLVM 2.4 released (ars technica)
At least, that's seemed to work for the C++ projects I've been involved with. We've even sometimes used horrible nasty constructs, because the horrible nastiness was technically superior and could be tucked away behind a simple interface. (My favorite: a macro "M" that "marked" an object as being interesting for debugging data-dependent crashes -- you just put M(myobj); on a line in your code, and then if an assertion fails in that function or anywhere under it in the stack, the contents of myobj are dumped to the log. Implementing this is a neat puzzle for keen students, and probably impossible in any other common language.)
