Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jan 2019 03:16:27 +0000
From:      Igor Mozolevsky <igor@hybrid-lab.co.uk>
To:        Peter Jeremy <peter@rulingia.com>
Cc:        Hackers freeBSD <freebsd-hackers@freebsd.org>
Subject:   Re: Speculative: Rust for base system components
Message-ID:  <CADWvR2iNo4vsjiOQMRLLoU%2BSeqG0NbaJ3nAjbZVriaxB%2BnGSxw@mail.gmail.com>
In-Reply-To: <20190101024620.GA19629@server.rulingia.com>
References:  <ca76e5f7-6e59-bd67-144a-90ad66f0252e@metricspace.net> <CAG6CVpV0kxupmkhHiYBT05Yfst6uNtbUyYUzG95Zwcbk9F3K0Q@mail.gmail.com> <CAOtMX2gO5yMxLpZYxmfG3DFhRnZna-mQBOGXe=OJOzP4QfpBmg@mail.gmail.com> <5B476178-4D09-486F-AC58-47CB04965335@FreeBSD.org> <2C39D05E-E855-4FCE-82CF-83EA4AE9F84A@FreeBSD.org> <CADWvR2gPF_xM4mDi-uuWq3C6qKh72Kn17=g6bOLPMYYHsayO8Q@mail.gmail.com> <20190101024620.GA19629@server.rulingia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Jan 2019 at 02:46, Peter Jeremy wrote:
>
> On 2019-Jan-01 00:53:48 +0000, Igor Mozolevsky <igor@hybrid-lab.co.uk> 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.

<snip>

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADWvR2iNo4vsjiOQMRLLoU%2BSeqG0NbaJ3nAjbZVriaxB%2BnGSxw>