Hi,
On Mon, Oct 17, 2016 at 09:51:41PM -1000, Brent W. Baccala wrote:
> I've been thinking more about the data structures involved with the new
> libpager code, and they're complex enough that I'd like to write them in
> C++11.
Yay, flamebait! ;-)
Two years ago, I would have said something alon
On Tue, Oct 18, 2016 at 01:56:48PM -1000, Brent W. Baccala wrote:
> Can it be done in C? Sure. But following my principle of asking how to
> write the code in the simplest manner, this one is obvious: STL containers
> win.
I'm not saying it can't be done. I'm saying it's not that hard.
--
Rich
On Tue, Oct 18, 2016 at 2:37 AM, Richard Braun wrote:
>
> From my fifteen years or so experience working in various projects with
> C++ and other languages, my opinion is that C++ is never the best
> choice. It makes you trade lines of code for increased complexity in
> understanding and followin
On Mon, Oct 17, 2016 at 09:51:41PM -1000, Brent W. Baccala wrote:
> What do you guys think?
>From my fifteen years or so experience working in various projects with
C++ and other languages, my opinion is that C++ is never the best
choice. It makes you trade lines of code for increased complexity i
Aloha -
I've been thinking more about the data structures involved with the new
libpager code, and they're complex enough that I'd like to write them in
C++11. The pagemap has to contain a list of all clients with copies of a
page, and a queue of clients waiting to access the page. To keep the
m
On Sat, Oct 15, 2016 at 11:17 PM, Kalle Olavi Niemitalo wrote:
>
> I also have a "hurd-debian" working tree. I extracted that from
> the Debian source package, so that I got a .pc directory with the
> correct state information. I then added a .git directory cloned
> from "git://anonscm.debian.o
"Brent W. Baccala" writes:
> My first question is for advice on managing my workflow. I'm using the
> Debian hurd package, which adds patches on top of a snapshot taken from
> savannah's git tree. I think I want to work on the Debian-ized code, since
> that's what's installed on my system, but
"Brent W. Baccala" writes:
> Second, I can't find anywhere in the hurd source tree where this function
> is actually used.
Commit 84cf9c0f312637b670cc87224ff7e7c4da659e36 on 2013-09-17
removed the ufs directory, in which the offer_data function used
to call pager_offer_page. The last argument o
aloha -
I've started looking at adding multi-client support to libpager.
My first question is for advice on managing my workflow. I'm using the
Debian hurd package, which adds patches on top of a snapshot taken from
savannah's git tree. I think I want to work on the Debian-ized code, since
that