OpenBSD base now free of C++
undeadly.org
undeadly.org
I don't think that g++ will be removed. Too many things are written in C++. And as long as GCC is present in OpenBSD, there's no reason to remove G++.
> Groff was also one of the slowest parts in a full build...
C++ compilers might be many things, but zippy they are not.
Plus, from mandoc website (http://mdocml.bsd.lv/):
Why? groff amounts to over 5 MB of source code, ...
Besides the build bloat, that certainly hints at it.
(this has nothing to do with C++ versus C, simply with removing some bloated UNIX legacy code)
Some people set an objective, for whatever reason, and accomplished it. Other people seem happy with the result.
I'd call that a positive outcome for OpenBSD and all the developers involved. Cheers!
I am perhaps in the minority but I would really like a straight forward to build and maintain UNIX derivative and perhaps this can be it.
I'm running Debian on a spare laptop for "common Linux distro" testing purposes, but am continually annoyed by it.
GNU coreutils. The BSD userland (the core system) is much better integrated, which affects a great many things. In particular, I really prefer BSD top.
When I installed some recommended package so that closing my netbook's lid would make it suspend, it didn't work. I read the source, and it was so obviously broken (among other things, it was suspending on lid-close AND lid-open) that I just wrote my own. Usually I contribute patches, but...eh. Other stuff that tried to "automagically" configure itself, but didn't work quite right, and interfered with manual configuration.
"This project only has a man page because we want to note that man pages suck, look at the info page instead." I hate empty man pages, and it's particularly annoying because the documentation on OpenBSD is phenomenal.
I prefer /etc/rc.conf to /etc/init.d/ , though that's fairly minor. (I usually run daemons via runit anyway.)
There are probably several other things that don't come to mind at the moment.
For an operating system that aims to be secure, one would expect a more progressive stance, and heavy (intellectual) investment in a language that makes safety easier.
Yes, I know that OpenBSD prefers more secure variants of common functions.
(Or I'm just the only one who still occasionally uses ms/tbl/pic…)
1. Groff is buggy
2. Groff is slow to compile & execute
3. Groff is not BSD licensed
mandoc has none of these problems. If you want a "generic" roff system, groff is available as a package.
According to http://mdocml.bsd.lv/
> groff amounts to over 5 MB of source code, most of which is C++ and all of which is GPL. It runs slowly, produces uncertain output, and varies in operation from system to system. mdocml strives to fix this (respectively small, C, ISC-licensed, fast and regular).
I get it, nobody really seems to use non-man roff anymore. Still, subsetting and reinventing the wheel (partially) seems a odd solution for this.
Because no one uses roff format for anything other than man pages any more. And even then, it's extremely common to use it only as "object code", output from some higher level/cleaner input format (perldoc, pydoc, docbook/asciidoc). I like that they have high level output formats (pdf, html, ascii) and hope that the package becomes an option in Debian at some point.
Clang and LLVM is faster but not that much faster.