<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.6" -->
<rss version="0.92">
<channel>
	<title>Coder Corner</title>
	<link>http://www.codercorner.com/blog</link>
	<description>Home of Pierre Terdiman</description>
	<lastBuildDate>Thu, 02 Sep 2010 09:12:13 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Size of empty classes</title>
		<description><![CDATA[Little trivia about empty classes&#8230;. Here&#8217;s the setup:

Question: what&#8217;s the size of Test0? What&#8217;s the size of Test1?
It&#8217;s a relatively well known fact that embedded empty classes are not actually free, and add 1 byte to the class containing them. So, knowing this, it shouldn&#8217;t be a surprise that sizeof(Test0)==2.
A more surprising fact, maybe, is [...]]]></description>
		<link>http://www.codercorner.com/blog/?p=410</link>
			</item>
	<item>
		<title>Controlling the size of enums</title>
		<description><![CDATA[The size of enums is compiler-dependent, and usually you don&#8217;t have any control over it. For example let&#8217;s have this simple enum for some types:

Then let&#8217;s check the size of the enum type:

With MSVC 2008, s = 4. This is clearly a waste of space in this case, since the type could be safely encoded [...]]]></description>
		<link>http://www.codercorner.com/blog/?p=395</link>
			</item>
	<item>
		<title>noinline</title>
		<description><![CDATA[A recent talk with a friend made me realize that the following declspec is not very well known. It&#8217;s used to avoid inlining a function (the opposite of what we&#8217;re usually looking for, which probably explains why it might have remained obscure for a lot of us).
With VC++:
__declspec(noinline)
With gcc:
__attribute__ ((noinline))
It&#8217;s very useful for example with templated [...]]]></description>
		<link>http://www.codercorner.com/blog/?p=392</link>
			</item>
	<item>
		<title>&#8230;for ex Grinners&#8230;</title>
		<description><![CDATA[http://www.escapistmagazine.com/videos/view/rebecca-mayes-muses/821-Bionic-Commando
Didn&#8217;t see that before. Catchy tune 
]]></description>
		<link>http://www.codercorner.com/blog/?p=390</link>
			</item>
	<item>
		<title>Lara Croft in Konoko Payne</title>
		<description><![CDATA[The amazing hackers at ONI Central did it again, and recently added a Lara Croft model to Oni. So I ran OniSplit on their patch, which created a dat/raw Oni-level file, on which I ran my old Oni-Breaker, and tadaaaa! Presto, here&#8217;s Lara Croft in Konoko Payne. Yay.
If you want to try it out in the [...]]]></description>
		<link>http://www.codercorner.com/blog/?p=384</link>
			</item>
	<item>
		<title>Metal Gear Solid - Rising</title>
		<description><![CDATA[http://www.youtube.com/watch?v=AtM3PGyiQUc
Woah! This reminds me of something&#8230;
]]></description>
		<link>http://www.codercorner.com/blog/?p=380</link>
			</item>
	<item>
		<title>Great talk from Corrinne Yu</title>
		<description><![CDATA[http://channel9.msdn.com/shows/InsideXbox/Corrinne-Yu-Principal-Engine-Architect-for-Halo-Team-Microsoft-Part-Two/
]]></description>
		<link>http://www.codercorner.com/blog/?p=378</link>
			</item>
	<item>
		<title>KP - April 2010</title>
		<description><![CDATA[www.codercorner.com/KonokoPayne_WIP_April_2010.rar
Fullofbugsnotimeforanythingthosedayssorry.
]]></description>
		<link>http://www.codercorner.com/blog/?p=375</link>
			</item>
	<item>
		<title>Gravity gun quicktest</title>
		<description><![CDATA[Here&#8217;s a quick test for adding a gravity gun to KP.
 
- run the exe
- select &#8220;Developer =&#62; Load test level =&#62; GravityGunTest&#8221; (the only level included in this release anyway)
- pick up the gravity gun in front of you when the game starts. The console in your back gives some additional instructions.
 
Very quick test put together [...]]]></description>
		<link>http://www.codercorner.com/blog/?p=373</link>
			</item>
	<item>
		<title>My dear PC&#8230;</title>
		<description><![CDATA[I hate you. I truly, terminally, passionately hate you. You&#8217;re a fucking piece of insane, mind-boggling junk. Having used computers for more than 2 decades now, I can assure you that you are, without a shred of a doubt, the crappiest, lamest machine I have ever used. It makes me sad that you&#8217;re the one [...]]]></description>
		<link>http://www.codercorner.com/blog/?p=371</link>
			</item>
</channel>
</rss>
