From owner-freebsd-hackers@freebsd.org Wed Sep 14 18:54:43 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC1FFBD66EB for ; Wed, 14 Sep 2016 18:54:43 +0000 (UTC) (envelope-from cedric.blancher@gmail.com) Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FDCF197F; Wed, 14 Sep 2016 18:54:43 +0000 (UTC) (envelope-from cedric.blancher@gmail.com) Received: by mail-pa0-x232.google.com with SMTP id id6so7914008pad.3; Wed, 14 Sep 2016 11:54:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XHRHSsOj5fcG2BsmOP2urjGbwFpIXvQHdynFTTv6CS8=; b=RGn12FgfqivsxeedkkwaK7mAmmWWSCzHmd4iO0uTBaSpIH3w9mzondgd4GeUwgK+8k GCSGucDZrQCW4D3EzlhfErP7GxcYB8lYfrDN4MOX48x3/eyzb0Hle9JETmiNmkALDTal cJJq4hbrI8cS2sszBmfV/XPuT6moZVOJpZw78lwMZDE5H27TNbFBXG613vpSi2QyNbGs DAvnIaoJ1gJoYvvkNBKe8fGfhN3BaSGza8p/4YpoCRG4m/qmfD21P/M4WzWFn3XOCQC2 5OW7ne5D1y57GiwzdnHtEw+1jO5rdaOG5PNhniwZEcp9pyV5JujXEAshspy+uhVWWkHW gBQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XHRHSsOj5fcG2BsmOP2urjGbwFpIXvQHdynFTTv6CS8=; b=GYXfv3m+IHcfVkriLjw8pLDHb6b1nT+/ZzCc5dtq9/ULymM44t1mFHqAS4hHyAubKB UWsSpdLHvicgiRkdiEoetkCxYwHhnSTem8SZNVbO7symEEzzAb+aFeUpzQvyGKNar7Zx noHGQ0MBtm7xyzJWnhL3/029xXfpPco5NaiNQtmNB8ej62ft0ppOiCxD/PGb5v+1CdNf sO2WRM6dFi/CfobdaSiQRTq36AjrB1q3HGegE04cVFXK9RPwvdtFe2nG5Hf0zsZei93n O3nWWnFRzMxHF5JeZSuXKVFg15aycLK8fQe0GhwFs9fgb4ILCWfAyxZe3zQ+WFv8GM1j Qong== X-Gm-Message-State: AE9vXwPAAyr5DxfD5m6n/Qhlch+MmEnSmaFoDwsn1s0f2tCbuPXI4oG7qCneWQjq8KB/iMfEX41VfeieVUgbKg== X-Received: by 10.66.0.99 with SMTP id 3mr7203970pad.109.1473879282859; Wed, 14 Sep 2016 11:54:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.217.137 with HTTP; Wed, 14 Sep 2016 11:54:42 -0700 (PDT) In-Reply-To: References: From: Cedric Blancher Date: Wed, 14 Sep 2016 20:54:42 +0200 Message-ID: Subject: Re: Is replacing alloca(3) where possible a good thing to do? To: Pedro Giffuni Cc: FreeBSD Hackers Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2016 18:54:43 -0000 Who was the "principal Illumos developer"? I remember some heated discussions, mostly rooted in 'we stick with ANSI C' and because the CTF/dwarf tools in Illumos were unable to handle VLA and no one was interested in fixing the BUGS in their toolchain, so the cheapest solution was done: VLA was declared persona non grata. Saves company money. Typical Sun policy which was one of the reasons which sealed the downfall of Sun Microsystems. But this is NO ARGUMENT for FreeBSD... Ced On 14 September 2016 at 16:48, Pedro Giffuni wrote: > FWIW, > > After some discussion with one of the principal Illumos developers it is > clear that they won't accept replacing alloca(3) for the sake of > "portability". You also can't always replace alloca(3) with VLAs anyways. > > Pedro. > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur