220 36617 <3d1ee12f-b97a-f259-b98a-831153b4245e@gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Andrey Semashev <andrey.semashev@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Static analysis and the future of C++
Date: Sun, 14 Jan 2018 18:50:58 +0300
Lines: 30
Approved: news@gmane.org
Message-ID: <3d1ee12f-b97a-f259-b98a-831153b4245e@gmail.com>
References: <0087c1a4-0b36-40ca-8d43-5bfaf0af62ca@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format=flowed
X-Trace: blaine.gmane.org 1515944951 7294 195.159.176.226 (14 Jan 2018 15:49:11 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 14 Jan 2018 15:49:11 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.5.0
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCXY5TXHWYJRBZPY5XJAKGQE72YVDII@isocpp.org Sun Jan 14 16:49:07 2018
Return-path: <std-proposals+bncBCXY5TXHWYJRBZPY5XJAKGQE72YVDII@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lf0-f71.google.com ([209.85.215.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCXY5TXHWYJRBZPY5XJAKGQE72YVDII@isocpp.org>)
	id 1eakWp-00011V-1H
	for gclcip-std-proposals@m.gmane.org; Sun, 14 Jan 2018 16:48:59 +0100
Original-Received: by mail-lf0-f71.google.com with SMTP id v198sf2659428lfa.8
        for <gclcip-std-proposals@m.gmane.org>; Sun, 14 Jan 2018 07:51:03 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1515945063; cv=pass;
        d=google.com; s=arc-20160816;
        b=iLBFtZvu8kVnQ8eY2UaHJzkte99/lquS3T+4c1Luljchuklkr5Jrlv/PinbDzm2nwO
         +gpUs2tOhwEYCjFSMmWvnt1uYiSTiOZzRwg/lyO0DEyXWNloTtNHtzqSaTpKOK+ND7y/
         e1us0vs0jIG+5cxK1d/SwVdrPPjB4iVDgjLb7G48t/9YcqPAiIGTYK5IpltVvmXsaySi
         UDCGJ6uk0CNRHbTFPTv4btf0JmvcvWGk3tBvft6mZ+CvQSZnwrOW4fF4gNafnKwq6nfC
         4ppwSvFBsTy0hcpuvuFtIHjPOUJvXw9PKFMvMCgA18wuMey8ebyicAodx5iAzgMN6jbW
         XYDQ==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:content-language
         :in-reply-to:mime-version:user-agent:date:message-id:from:references
         :to:subject:arc-authentication-results:arc-message-signature
         :dkim-signature:arc-authentication-results;
        bh=vEsmlSsWKL0mQdUxfXStABlsDo3qTIK2eWk78yIGeM8=;
        b=iTcZ4Ps8D+lquRwKUWSfdnNyDaCEip/D/YGK4D063XMm6HTKMfFlAQhLOere2Fyfdl
         zVP/qDC5MuxXWe5LC+JkVr5TfDPaFnmaQf5gVDuNzGD/PHwKJ5S4t+XWoBgQ1binNOta
         24LPOqRTqxfBkX6gQU4qSOJ88s0OQ2xjY0hRue0Dx4S3RXqnfpReV0dLWP1b+4XaNeLT
         w8yr76axkwjgJ41y1w5Y3Zlxq9IILbognBjaM1Gwmo2gmzzswwZdwralNqMx8Ql64iNc
         Z9sATOdK3GVEKynX3D2OeNXjJlrIiZm/0Qnit6PYgc9FFCIWC87mrlnDTE48k8+dzkNp
         yUow==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=ENrCgjd9;
       spf=pass (google.com: domain of andrey.semashev@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=andrey.semashev@gmail.com;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=subject:to:references:from:message-id:date:user-agent:mime-version
         :in-reply-to:content-language:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=vEsmlSsWKL0mQdUxfXStABlsDo3qTIK2eWk78yIGeM8=;
        b=mF0TLtxxu/zT5U2pkb2wiJ1CEB13a2QGrL3XjEvWZmF6uNGMES4z+rJwvW9TjItx58
         V0nCNLcIaT56spqcM8LbD89Qrxwh5IE12DHMeKlM606yqTn4dloX7FuVDASxcO7b1FGZ
         RpwlYTIFVwQVPN+PsLmJ0xER4yM3+FmLrCM4hRVs+Vh4/SH3zOz8RV59tZ/bguPk2Bv5
         oZ5UdRO2NXVFAIztoac5rOBsp52/aCEdZmtOiSV5rWOTFvgD+/qoNBTlRoVpGXHmdXmn
         JuOEhnJ6/jIEGlsFlMrf/yYMgBePz9BvdDHYEcM2BQgOzu0dYChayE4lYuTuWhmTnE+Q
         RZmA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:subject:to:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-language
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=vEsmlSsWKL0mQdUxfXStABlsDo3qTIK2eWk78yIGeM8=;
        b=Fc8BbADUXkt+7MHtzfo6v/xD2N+QRO8hHnTlguizgU1FiTa48bViLpYHXQwMtzhrBb
         +ymZ1+/Red2aEVE3+T/0OS6rbo7YxsDuE+cf6rl/wqrADBdI3J9pXHiXcU116N2PNhF9
         52hTjEVMGmV9iWuda6JHgmNaG9QHfId8jbBFiNHgJySFVWGeLubgeU4LA32d5b9Femgl
         bLWoSXwMi6sWA9aeY/P5darB8hUCOtS9pQ/MQ+vX5LltMtZt67aJyDBJwSRoxXA6wWYl
         a2lH9NaDy5Z6ZK8N5szNkSfMOBFuJugUO4yr+tap5wcOEOmG8ZKf2cw9qC02UDOJLnob
         5 
X-Gm-Message-State: AKwxytc96LQoinlfy85ciyt/a1NsWHtKw09WHyNHIVnhqDRMQONqzbdv
	DIMkCEfCj+FNNh3W3/PKV8i4Pw==
X-Google-Smtp-Source: ACJfBouuNFkoX/yX/mbrxFdwW1KpSDMcaG8fEVXQv054C1qrr5hNVQ7g2x51WPe2Tr+iBP9iQUNvzw==
X-Received: by 10.25.22.98 with SMTP id m95mr1662787lfi.14.1515945063060;
        Sun, 14 Jan 2018 07:51:03 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.46.22.21 with SMTP id w21ls572218ljd.12.gmail; Sun, 14 Jan
 2018 07:51:00 -0800 (PST)
X-Received: by 10.25.206.77 with SMTP id e74mr14638128lfg.142.1515945060504;
        Sun, 14 Jan 2018 07:51:00 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1515945060; cv=none;
        d=google.com; s=arc-20160816;
        b=h6MzKXorIHALgXqwc26zgXNlBiOnpIjYAZdfRHzM9wosaFRxIi3UW5Aa59uEcWOuHf
         1cJ+AGqhxstJ2Vm5e+QH6lCMpTBiU1UFNrgWwv9uQKvbfpYybrwxA+jSSqzxTBdIJcsf
         Rm6C0L4mSHDc19cTk/KcIVHk2cAK3IdzP8jyuhPQXCG0m3DzCRD4/ljGmd1oG2j4uQa2
         Fud0LqXrVbj4g9F2cEwAsSJFhR1zXFLLjZWD9Y0/t36dkz5BF4IzQ96ypwdj0cnXQHi7
         RfLS1CXKYwGMvuMw/1t3pcTLhtweLskG7kfBAaXL4ajXHJ7pdwSjhs3TNMbaXaBofQCH
         ZMpQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=content-transfer-encoding:content-language:in-reply-to:mime-version
         :user-agent:date:message-id:from:references:to:subject
         :dkim-signature:arc-authentication-results;
        bh=L/rdVpmd63nboUvIlzJ8L3HOj++XhiZW5RtAWYfadHA=;
        b=hn1+XssEQW3IYXTPc9N7vDogPi9xyJbXN9pdbxHmO3v/6s3orwlzqbRjlnHwoXoBN7
         1PfWcuGn2S8CxHK1yIY8PJIktEQzGIacDuYL1KpUHsBHtUSOI/QHf+vsbfzERmICrQCj
         7Nj//EBXHjPPHeQr7r6EFbnqqm8fnv9BbcZIzBXA4DORsK1TcBtHUY3mYzO8oIBgTNrj
         PEGnRUdnwbTvVg5dcjk1DiXosTEVpDPrQi6ZlbaFIWP1dVZSzBirJphPUujoQPjBq+WR
         ZqTsz8f60bRy6iJ3VegkIFmA4/e+VDXHP8LR8Uwwtsb5QBPAzMkgFXAsuuKrrzY7oQ25
         Wx7g==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=ENrCgjd9;
       spf=pass (google.com: domain of andrey.semashev@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=andrey.semashev@gmail.com;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id g128sor2278301lfe.12.2018.01.14.07.51.00
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Sun, 14 Jan 2018 07:51:00 -0800 (PST)
Received-SPF: pass (google.com: domain of andrey.semashev@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 10.25.142.203 with SMTP id a72mr9062262lfl.79.1515945059881;
        Sun, 14 Jan 2018 07:50:59 -0800 (PST)
Original-Received: from [192.168.1.2] (broadband-109-173-28-20.moscow.rt.ru. [109.173.28.20])
        by smtp.googlemail.com with ESMTPSA id q77sm2982020lfd.17.2018.01.14.07.50.59
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 14 Jan 2018 07:50:59 -0800 (PST)
In-Reply-To: <0087c1a4-0b36-40ca-8d43-5bfaf0af62ca@isocpp.org>
Content-Language: ru
X-Original-Sender: andrey.semashev@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=ENrCgjd9;       spf=pass
 (google.com: domain of andrey.semashev@gmail.com designates 209.85.220.41 as
 permitted sender) smtp.mailfrom=andrey.semashev@gmail.com;       dmarc=pass
 (p=NONE sp=NONE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:36617
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/36617>

On 01/14/18 16:40, mihailnajdenov@gmail.com wrote:
> Hello,
> In recent years there is a boom of static analysis - from new languages 
> like Rust and Swift to the powerful tools, provided by C++ compilers.
> 
> However I don't see it C++ language /mandating/ any of these. I have a 
> question - is this something the committee is looking into? Is there a 
> working group for this?
> If a tool is a lifesaver, why is it not mandatory - who does not what to 
> save lifes?
> 
> I strongly believe bringing more (any?) static analysis into the 
> language is away to keep it modern and relevant, especially, considering 
> C++ very static language and has a lot of compile-time information the 
> tools can work with.
> 
> Any answers and thoughts are welcome.

How does *mandating* a particular tool help language users? If you can 
use a tool right now, why do you want to enforce it on everyone?

Also, what should we do about the platforms where such tools are not 
available?

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/3d1ee12f-b97a-f259-b98a-831153b4245e%40gmail.com.

.
