public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
To: nncp-devel@lists.cypherpunks.ru
Subject: Re: Rust building
Date: Tue, 14 Jun 2022 21:19:47 +0300	[thread overview]
Message-ID: <YqjRTz2wssnSm/bi@stargrave.org> (raw)
In-Reply-To: <87mtefz6pi.fsf@complete.org>

[-- Attachment #1: Type: text/plain, Size: 1339 bytes --]

*** John Goerzen [2022-06-14 08:59]:
>If cc can be written in C, why not rustc in Rust?

It can, no problems, but it should be bootstrapable, especially taking
into account that it was already initially written on OCaml, high-level
language, that can be in turn bootstrapped with CC. Initial commits in
Rust repository even contains its OCaml version, but why its authors do
not provide instructions how can I build it up from the ground, to
reproduce their job? Even CC can be bootstrapped more or less with GNU
Mes project as it is done in GNU Guix, where they build Scheme
interpreter, TinyCC, early GCC with only relatively tiny binary blob,
being lighter with its latest releases. CC is just so old, initially
written on BCPL, assembly, for some hardware is not used anymore. But at
least it is some common denominator existing in virtually all Unix-like
OSes out-of-box. Clear official rules and guides how Rust can be build
from the ground, how can I reproduce the work done by their authors will
close that problem (of course by the price of CPU time spent compiling a
dozens of its versions). Or at least clear direction to use something
like mrustc, but making it buildable not only on three OSes.

-- 
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: CF60 E89A 5923 1E76 E263  6422 AE1A 8109 E498 57EF

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2022-06-14 18:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-30  0:23 Announcing Filespooler John Goerzen
2022-05-31 17:13 ` John Goerzen
2022-05-31 18:07 ` Jonathan Lane
2022-06-02  0:03   ` John Goerzen
2022-06-07 10:32 ` Sergey Matveev
2022-06-10 13:14   ` John Goerzen
2022-06-10 18:48     ` Sergey Matveev
2022-06-10 20:46       ` John Goerzen
2022-06-10 21:24         ` Rust building Sergey Matveev
2022-06-14 13:59           ` John Goerzen
2022-06-14 18:19             ` Sergey Matveev [this message]