tag:blogger.com,1999:blog-6579772240267288367.post8252347688078028235..comments2023-06-05T08:45:12.716-04:00Comments on kwblog: #if DEBUGKevin Berridgehttp://www.blogger.com/profile/13759114853595462455noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-6579772240267288367.post-39261705069128199572008-03-04T09:19:00.000-05:002008-03-04T09:19:00.000-05:00being able to send metadata to the compiler seems ...being able to send metadata to the compiler seems like it might have its uses (various optimizations routines, different forms of output, etc) .... but it doesn't seem like something that should be included within the code. You would hope that the same code, compiled at different times would result in the same bytecode/assembly/etc.<BR/><BR/>It seems like that kind of information belongs within a build tool/environment.<BR/><BR/>....<BR/><BR/>while not the same, this topic reminds me of the optional and often undocumented or not-fully-supported parameters you can send to the JVM when it starts up (e.g. <A HREF="http://blogs.sun.com/watt/resource/jvm-options-list.html" REL="nofollow">this list)</A>. Yes they can be useful to tune specific settings for out of the norm situations ... but most of the time they aren't needed. Or if they are, they should be set as a default b/c who wants to have to set X, Y, and Z to make something fast. Why would I want to run something slow?Benjamin P Leehttps://www.blogger.com/profile/15089639187841179363noreply@blogger.comtag:blogger.com,1999:blog-6579772240267288367.post-86792509185881358832008-03-04T08:58:00.000-05:002008-03-04T08:58:00.000-05:00You know, just about the only thing i could see us...You know, just about the only thing i could see using this for would be tracing code while debugging, but that's flawed cause you have a perfectly good debugger. <BR/><BR/>Multi-threaded apps can be a bit of a pain to debug sometimes, so maybe it's helpful there? Hell i don't know i think your right and its dumb but im trying to come up with something.Josh Schrammhttps://www.blogger.com/profile/04179432092617833919noreply@blogger.comtag:blogger.com,1999:blog-6579772240267288367.post-11173528601741726802008-03-03T17:54:00.000-05:002008-03-03T17:54:00.000-05:00Interesting, you're right. Java doesn't have a pr...Interesting, you're right. Java doesn't have a preprocessor. <BR/><BR/>Probably another one of the things that they removed because it was "unsafe." In this case, I'm totally on board with that.Kevin Berridgehttps://www.blogger.com/profile/13759114853595462455noreply@blogger.comtag:blogger.com,1999:blog-6579772240267288367.post-18977032952922882132008-03-03T16:34:00.000-05:002008-03-03T16:34:00.000-05:00That John Q. He is sooo crazy!Nice post though .....That John Q. He is sooo crazy!<BR/><BR/>Nice post though ... Java doesn't have anything similar to my knowledge and I had completely forgotten about the construct since our C++ days in college.Benjamin P Leehttps://www.blogger.com/profile/15089639187841179363noreply@blogger.com