From owner-svn-src-head@FreeBSD.ORG Thu Jul 10 17:38:43 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from ptrcrt.ch (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A29CD86; Thu, 10 Jul 2014 17:38:41 +0000 (UTC) Date: Thu, 10 Jul 2014 19:38:37 +0200 From: Pietro Cerutti To: Adrian Chadd Subject: Re: svn commit: r268491 - head/usr.bin/users Message-ID: <20140710173837.GI1812@ptrcrt.ch> Reply-To: gahr@FreeBSD.org References: <201407101215.s6ACF3v1055260@svn.freebsd.org> <20140710152353.GF1812@ptrcrt.ch> <20140710154213.GG1812@ptrcrt.ch> <20140710155342.GB93051@ivaldir.etoilebsd.net> <53BEC65D.10501@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="X0cz4bGbQuRbxrVl" Content-Disposition: inline In-Reply-To: X-PGP-Key: fp="DA6D E106 A5B8 54B8 5DD8 6D49 ADD0 D38E A192 089E"; id="0xA192089E"; get=; get=; User-Agent: Mutt/1.5.23 (2014-03-12) 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 17:38:43 -0000 --X0cz4bGbQuRbxrVl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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++? :) > On 10 July 2014 09:59, Nathan Whitehorn wrote: > > > > On 07/10/14 08:57, Ed Schouten wrote: > >> > >> On 10 July 2014 17:53, Baptiste Daroussin wrote: > >>> > >>> Just make sure not to break mips, powerpc and sparc64 which are still > >>> using > >>> gcc 4.2 :) > >> > >> Oomf! Good point. Completely forgot about that. There is indeed one > >> C++11-ism in the code, namely the use of auto. Let me fix that. > >> > > > > Some ARM platforms (armeb, for example) also use GCC. > > -Nathan > > --=20 Pietro Cerutti The FreeBSD Project gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp --X0cz4bGbQuRbxrVl Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJTvs+dXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQTZERTEwNkE1Qjg1NEI4NUREODZENDlB REQwRDM4RUExOTIwODlFAAoJEK3Q046hkgie5r4QAIoShogPxEHTG++k6YExiXcv tNFeBCh4ckCCOOFNo/kJUsIVhMYTFY1ub5ajoj7LXp6feiRaYbO+/dp4w/5gyGf9 nDrR9UBp5f1QL/W7ZQHM3Y/nYQYLnsRyxabz5V58QJ1n6+bgqQ5Ek83iWtcs24VK CLa83diO6SQ1p7azo16dOe9Q8HoU/Q8lrQj7+gNyn8tG/dd6pSti2ilEFnvgNHRB +jYe56wGnEAwmlKHqv6XA9cwdEDi95BI+JCE3Z/z7ggO2CbHQiSGyTGpUsBItrc6 99+kqe1gRflqmVEZNXbDxEYUvROnlE2ijszhtxArJOBYbNnbON/Zgg2CS3mV9iMI eH+QeO9Y4fM8U1eJIWYZYLBU6RdqwHQxWnMA44nmqQrk005gYo5oWK2kTknV/Zq6 ANOVKeGnO/xKAvxx+0YEjoZFXieq1DULbLekNQXseE3Ag4wIdGi4i3BQUs+vMZ6J SbhcEYHLDd43O9MwlL35yFZgkxJu8aexnm/1k3gSGxAxVZAJycoKfo+JIipQk6ku yzzup3EwmutbKYz0m0HbncHeZDWBzHP7SbuK8W468wrj3TVO6PgpbbeyoaIlfBEl G5E5RvhzrT0EJdZurtwHogAWKRJePwdaghiT20teg/nN8HFQxP1rgeL2ncvsBEjt cdo2IU92evb0VumhRZra =5Erc -----END PGP SIGNATURE----- --X0cz4bGbQuRbxrVl--