From owner-svn-src-head@FreeBSD.ORG Thu Jul 10 21:16:23 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6C013FA8; Thu, 10 Jul 2014 21:16:23 +0000 (UTC) Received: from mail-qc0-x235.google.com (mail-qc0-x235.google.com [IPv6:2607:f8b0:400d:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C4E6625B1; Thu, 10 Jul 2014 21:16:22 +0000 (UTC) Received: by mail-qc0-f181.google.com with SMTP id x13so176975qcv.26 for ; Thu, 10 Jul 2014 14:16:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=AtWI3fg9LeCkrUBAMXwaFoaXPBbTs1JDXvBiqICWRfs=; b=0Jv56FdgBGCXHkDMPrqtlKcBjMYjIrFF6w3lBOQZtTJZ+pJqS2JktvqxNwe3RF30y0 TPaIdkBAnWreM7UtK/WizWGaWbp/diSzeLvv8ckR8bI9Ay6QFR3F50Et1Qs8cO8FksYz 2QvAEtOFVGFF2gq3Wze7dNKzPTW/Baat3hy4KOBuk0/dORwasQ9M3+UHiNHj9pC6iiER Ex7CDYBDl+MVfz8Jvwavp2ROefixhqhBA6TssfOY2rV70G61RpTv1OosuurXqlHG6ngc H/Pig7a7SxekskLWfLdSolxMTu3pNJdtTniWfbaaT+hp3IkbG28FfYi70ahi9gp6B+88 +zFA== MIME-Version: 1.0 X-Received: by 10.140.80.19 with SMTP id b19mr19677162qgd.102.1405026981918; Thu, 10 Jul 2014 14:16:21 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.202.193 with HTTP; Thu, 10 Jul 2014 14:16:21 -0700 (PDT) In-Reply-To: <20140710173837.GI1812@ptrcrt.ch> References: <201407101215.s6ACF3v1055260@svn.freebsd.org> <20140710152353.GF1812@ptrcrt.ch> <20140710154213.GG1812@ptrcrt.ch> <20140710155342.GB93051@ivaldir.etoilebsd.net> <53BEC65D.10501@freebsd.org> <20140710173837.GI1812@ptrcrt.ch> Date: Thu, 10 Jul 2014 14:16:21 -0700 X-Google-Sender-Auth: mssEuYkLsUNW6zpQICcvU8f4X8o Message-ID: Subject: Re: svn commit: r268491 - head/usr.bin/users From: Adrian Chadd To: Pietro Cerutti Content-Type: text/plain; charset=UTF-8 Cc: Ed Schouten , Baptiste Daroussin , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , Nathan Whitehorn , "svn-src-head@freebsd.org" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 21:16:23 -0000 On 10 July 2014 10:38, Pietro Cerutti wrote: > On 2014-Jul-10, 10:13, Adrian Chadd wrote: >> ... I think this particular commit highlights our almost complete lack >> of useful data types in our C libraries. >> >> I think it's about time we grew a similar list of basic DSAs. > > We do have STL. Let's just use it. > >> I had to reimplement hash tables, trees and callwheels at work recently. Ugh. > > Couldn't you just use C++? > > :) Strangely enough? You can't always use C++. -a