From owner-freebsd-hackers@freebsd.org Tue Jan 1 03:24:54 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 36D061425D64 for ; Tue, 1 Jan 2019 03:24:54 +0000 (UTC) (envelope-from mozolevsky@gmail.com) Received: from mail-ot1-f41.google.com (mail-ot1-f41.google.com [209.85.210.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B6B986AF92 for ; Tue, 1 Jan 2019 03:24:53 +0000 (UTC) (envelope-from mozolevsky@gmail.com) Received: by mail-ot1-f41.google.com with SMTP id n8so24460136otl.6 for ; Mon, 31 Dec 2018 19:24:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=P4MuWtXdUyGYcGhM5ek6SwkC4ogvfOYx1EhDjEXCNfY=; b=s2USp6UflEmgn6zfxngJvm1vkfsSIsasvr80Gg7iQ05kyherwAkKHKi9NAqIUD+IVf hkuYwdx3TB/gecxFyXqhdQjG1CRbDKVTQuiIq1FvqHaCEszN3/3xDV7BHG40YeyBK8D3 xtpz0WSDkTgUN3A7jK/xSkf4M644gSVzS7GEafWBYkWBnekIrtE1ZAjhUFwmrWicm08p VVtbiQNeOk6zMTgKn7v2PFg4R0vv/iQvC5kgHK7+kpH27h2PhwsGHuSxY66BhkSf8uIw GlQ2NWjB5dVrWbKux7Nm8WYtlft0vWxd4VbBmjCIC0V/mDWjgBbID5ZV3qdJHxg7CqED DVxA== X-Gm-Message-State: AJcUukesggXeGGB062ESc21ulf1xVXaLsVwnf5ITuEIN7dmE6WZmtzsc MC98BOsAhqcUD3WSbpjSb3jhSeKbUcLbN5LtlL8= X-Google-Smtp-Source: ALg8bN7l93UOCLo2FVFSEZ7B9/VcvMp9s3A1v0J+txmn2ZA7pGA5BkBWaxjyrzcgOWbP6U5VoJ9X+5zjnflw2GE6eAU= X-Received: by 2002:a9d:225:: with SMTP id 34mr28757474otb.224.1546312623450; Mon, 31 Dec 2018 19:17:03 -0800 (PST) MIME-Version: 1.0 References: <5B476178-4D09-486F-AC58-47CB04965335@FreeBSD.org> <2C39D05E-E855-4FCE-82CF-83EA4AE9F84A@FreeBSD.org> <20190101024620.GA19629@server.rulingia.com> In-Reply-To: <20190101024620.GA19629@server.rulingia.com> From: Igor Mozolevsky Date: Tue, 1 Jan 2019 03:16:27 +0000 Message-ID: Subject: Re: Speculative: Rust for base system components To: Peter Jeremy Cc: Hackers freeBSD Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: B6B986AF92 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.975,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jan 2019 03:24:54 -0000 On Tue, 1 Jan 2019 at 02:46, Peter Jeremy wrote: > > On 2019-Jan-01 00:53:48 +0000, Igor Mozolevsky wrote: > >Quite frankly the compile time isn't really *that* important, > > I disagree. FreeBSD seems to be heading back to the batch days - you > submit your buildworld request and come back tomorrow to see if it worked. In my book, that makes the submitter think about what they write, and not mindlessly write code hoping it would automagically compile. Throwing some code at a compiler to "see if it worked" is the equivalent of a builder throwing some bricks together to see if they would hold up as a house... I hope you'd expect far better from the people who build the place where you live, right, so why do not apply a similarly rigorous process to coding? What you're blaming is the messy architecture and the unnecessary re-parsing of the same files over and over, but that's a different problem to a slow code generation _after_ the source had been parsed, AFAIK any compiler's bottleneck is lexing and parsing [1]. 1. Joel on Software p13, AJ Spolsky, Apress, NYC (too late at night to do a proper reference) -- Igor M.