Migration to C++ (?)

Christian Dietrich stettberger at dokucode.de
Tue Jul 22 09:48:41 CEST 2014


Zsolt Udvari <udvzsolt at gmail.com> writes:
> I wrote boost is huge not bloatware.

Ok, so your problem is the size of the software "boost", not it
influence on the size of herbstluftwm.

> Yes, usage of boost has many-many more benefit which is larger than
> the size of boost in cases. But using only some functions from
> boost... I think sometimes easier create these functions than import
> many libs.

So, you would also say, that using the C++STL is a bad idea, since it is
a huge library. The same is true for the libc or for glib. So where do
you see the difference.

> But if any program needs boost you should install it. Many systems
> doesn't have boost installed - why install it because of only one
> simple and _lightweight_ program? I hope it's clear what I want to
> say.

OK, again. When compiling with boost, the package does not necessarily
need boost installed:

$ ldd with-boost
	linux-vdso.so.1 =>  (0x00007fff2230e000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fc4d3275000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc4d2eaf000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc4d2ba8000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fc4d35ae000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc4d2992000)

So a debian package user does not need boost to be installed.

> I think Thorsten has right: what is the benefit of boost in hlwm?

I've not said that boost has any benefits for hlwm. I just wanted to
say, that boost is no bloat and that the "size" of boost does not
matter.

chris



More information about the hlwm mailing list