tag:blogger.com,1999:blog-2797923531103204252.post9062790428030467148..comments2008-03-27T20:40:09.265+01:00Comments on Majek's technical blog: Useful C extensions (gcc specific)majekhttp://www.blogger.com/profile/01251411797162710066noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-2797923531103204252.post-29894073586214087892008-03-27T20:40:00.000+01:002008-03-27T20:40:00.000+01:002008-03-27T20:40:00.000+01:00Anyway the whole idea of using incompatible C exte...Anyway the whole idea of using incompatible C extensions sucks.Not if your project need not be portable.Sweeping generalizations suck.Andy Lesterhttp://www.blogger.com/profile/09755104360043101497noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-32245623128371535422008-03-27T17:19:00.000+01:002008-03-27T17:19:00.000+01:002008-03-27T17:19:00.000+01:00I personally don't use C code if I want cross-plat...I personally don't use C code if I want cross-platform compatibility, but many of these tricks can be made safe on supported compilers through the judicious use of defines - anything involving branch prediction, cache prefetching, or vector operations.I don't like being tied to a single compiler, but if you're only using one compiler for your project, why not get the most you can out of it?Justin Wickhttp://www.blogger.com/profile/01386093143586175768noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-81972424652694295752008-03-27T14:28:00.000+01:002008-03-27T14:28:00.000+01:002008-03-27T14:28:00.000+01:00Hopefully this artical can help popularize these t...Hopefully this artical can help popularize these to the point they're included in the standard. It was helpful to see new ideas, but I'll not be using them until they're standard.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-53284745097348190992008-03-27T09:50:00.000+01:002008-03-27T09:50:00.000+01:002008-03-27T09:50:00.000+01:00Thanks, I fixed the MAX macro.Thanks, I fixed the MAX macro.majekhttp://www.blogger.com/profile/01251411797162710066noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-71848427849325875642008-03-27T09:40:00.000+01:002008-03-27T09:40:00.000+01:002008-03-27T09:40:00.000+01:00In the MAX macro it should be typeof instead of ty...In the MAX macro it should be typeof instead of typedef.Anyway the whole idea of using incompatible C extensions sucks.ipeevnoreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-74201039731349512022008-03-27T02:40:00.000+01:002008-03-27T02:40:00.000+01:002008-03-27T02:40:00.000+01:00Sweet... some cool stuff I never knew about. Thank...Sweet... some cool stuff I never knew about. Thanks!ohxtenhttp://www.16software.comnoreply@blogger.com