Programming Leftovers
-
gedit crowdfunding :: Sébastien Wilmet's blog
A short message to announce that gedit is again accepting donations!
-
QCoro 0.7.0 Release Announcement
The major new feature in this release is initial QML support, contributed by Jonah Brüchert. Jonah also contributed QObject::connect helper and a coroutine version of QQuickImageProvider. As always, this release includes some smaller enhancements and bugfixes, you can find a full list of them on the Github release page.
As always, big thank you to everyone who report issues and contributed to QCoro. Your help is much appreciated!
-
Strong Booleans | [bobulate]
Consider a legacy codebase in C++ that uses int instead of bool. It’s so legacy that it is probably C89, really, before the advent of the bool type in any form.
-
Hi, All, It's a Pickaxe Q&A
I’m Noel. I write books, mostly about Ruby. I write this newsletter, which is normally about Ruby, Rails, Agile, and other topics, and is occasionally (like today) self-promotional.
-
gnulib - GNU portability library - News: Gnulib helps you get away from fork() + exec() [Savannah]
Spawning a new process has traditionally been coded by a fork() call, followed by an execv/execl/execlp/execvp call in the child process. This is often referred to as the fork + exec idiom. In 90% of the cases, there is something better: the posix_spawn/posix_spawnp functions. Why is that better? First, it's faster. The glibc implementation of posix_spawn, on Linux, uses a specialized system call (clone3) with a custom child-process stack, that makes it outperform the fork + exec idiom already now. And another speedup of 30% is being considered, see https://lwn.net/Articles/908268/ . Second, it's more portable. While most Unix-like operating systems nowadays have both fork and posix_spawn, there are platforms which don't have fork(), namely Windows (excluding Cygwin). Comes in Gnulib for portability: Gnulib provides a posix_spawn implementation not only for the Unix platforms which lack it (today, that's only HP-UX), but also for Windows. In fact, Gnulib's posix_spawn implementation is the world's first for Windows platforms; the mingw libraries don't have one. Why only in 90% of the cases?