Why boost is impractical

March 29, 2010 on 6:15 pm | In .english, coding | No Comments

In the C++ programming world, the peer reviewed boost libraries are a gold standard to measure every other library on. Several parts of this library are being made standard in the next C++ standard, C++0x.

So, everybody would be using boost, right?

Well, no… You see, boost is a BIG library. It installs 64Mb worth of header files alone, 24Mb of libraries, and takes 20 minutes to compile on my machine, an average dual-core.

Now suppose I have a simple C++ program, a few files long, that uses some boost to parse the commandline. that would build in some seconds… why would i wait for 20 minutes for the code to arrive to simply parse the commandline? I’m not very happy that parsing the commandline this way requires you to redistribute a 300K+ .dll file.

GNU getopt on the other hand, compiles to less than 5K of code that you link in directly, so no .dll needed.

And they both do more or less the same thing. Sure, boost.program_options does a lot more, but it just is too excessive. And that’s why boost is impractical. You want a sip, but you get a bucketload shoved down your throat :-)

PVV grootste in Almere?

March 4, 2010 on 2:05 am | In .english | 3 Comments

Uit het lijstje van hun standpunten:

  • Meer politie op straat en extra veiligheid door nieuwe stadscommando’s
  • Geen hoofddoekjes in publieke functies en een burqaverbod
  • Aanpak overlast Oost-Europese werknemers
  • Preventief fouilleren op wapens in de hele stad
  • Geen dieronvriendelijke halalmaaltijden in het ziekenhuis en zorginstellingen
  • Geen halalmaaltijden in school- en sportkantines

Okee, dat is toch echt wel vervelend van ze, dat ze de moslims nu pakken op het eten, en dan echt de kinderen van moslims expliciet discrimineren. Kijk, hun ouders leren die kinderen, in feite, om halal te eten, en hun wordt wel ff twee keer onrecht aangedaan. Ik heb het altijd al een kutstad gevonden.

hoot!! Happy 2010 all!!!

January 1, 2010 on 2:34 am | In .english | No Comments

Have fun with the fireworks everybody! :)

A little gem on #philosophical…

December 31, 2009 on 9:52 pm | In .english | No Comments
LionClan:  The universe is an elevenfold manifold that manifests
              as a fourfold manifold between three kinds of
              sevenfold singularities
bsod: that sounds very superstringy
LionClan:  we see and feel with fourfold vectors like photons
              and electrons, it is understandable our first guess
              was the universe is four dimensional

LHC is up and running

December 1, 2009 on 9:21 pm | In .english | 1 Comment

The Large Hadron Collider is doing its first succesful experiments.

HaR 2009

August 17, 2009 on 4:53 pm | In .english | No Comments

Ok, I’m back from Hacking at Random 2009, still with a mountain of stuff in my living room to sort out. Here are my pictures and I made one reasonable youtube movie of the ccc tent at night.

However, others made much better material available: xor-gate pictures, oisec pictures, har2009 at night, harddisk shredder, Soviet Unterzögersdorf, and a movie from anonymous.

There was also some news coverage: the homemade gsm network was on slashdot and security.nl had several articles, including this one with pictures.

C++0x dead in the water?

July 22, 2009 on 5:43 pm | In .english | 1 Comment

I was quite shocked to learn that C++ concepts have been voted out of the upcoming C++ standard, C++0x. I’ve written about concepts before and always have been a great fan of the feature. However mostly due to time constraints, the concept feature won’t make it into the new standard. See The Removal of Concepts From C++0x @ InformIT and The Removal of Concepts From C++0x @ Artima Developer Spotlight Forum.

Without concepts, many related features won’t make it. Is C++0x now a failed standard or not? I’m not sure, there are many things that will go into the standard that are very useful: auto variables, multithreading (if they can do this in the given time they have), library updates, etc.

However, concepts are a *major* feature, and with them the for-each loop which is so desperately needed won’t make it. Only time will tell if C++ is evolving fast enough… I hope it will.

Yay springtime…

March 22, 2009 on 8:17 pm | In .english | No Comments

Here is a nice youtube movie, made in WoW, called ‘First of May‘, you’ll have to age verify. (This video may not be suitable for minors.)

Next Page »

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^

[rss feed: http://blog.superstring.nl/feed/rss/]