lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 19/10/2011 10:27, Patrick Rapin wrote:
  #include<SDL.h>
On my Mac this generates a C file 13977 lines long via cpp. On my Linux box a measly 4573 lines long.

  #include<GL/gh.h>
Is 7909 lines lines on Linux.

Awesome!

Ridiculous :-)

#include<windows.h>
With Visual Studio 2010, this single inclusion generates... 231'215 lines !

It reminds me a Gist showing that a simple hello world in Dart ended in thousands of lines in JavaScript... People were amazed/disgusted, obviously overseeing the fact that the compiler isn't optimized and just includes the whole runtime. Well, that, or I hope they were just having some fun... ^_^'

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --