From nobody Wed Sep 11 07:03:08 2024 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X3WkK26k3z5Vv1J for ; Wed, 11 Sep 2024 07:03:21 +0000 (UTC) (envelope-from theraven@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X3WkK0c9vz52lc; Wed, 11 Sep 2024 07:03:21 +0000 (UTC) (envelope-from theraven@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726038201; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lhxG3AwTS/xSOvvf9bOci9BXlo6RlD56OQuUKJxL5Pg=; b=NNVhWox9ON3yYr8rQ/yYfqBHrnUUIBMkIu4e2mAgJMMDlydJesg3LSdPhEwcJIGu9A2vw1 MR98pmLckQ1G80oo8S7c071THg0UCNtp7JL6+0S2rbKuCMlBJ6UGkFvCBpkJpWHmJAfQoP nP37njjV5mHSSv37Hhg1BR/TvLgHIm3ittjFejo4kElpmC0l/V1/zdbx0LJ8LwCz9y8RMm 8oPVOzZuqPnAZCo2QcZhWmk4oxp802PK5wpD0tpKPEFQNmSMvGzZl03pl+aM5ddNoWW2jn 492JQEaKOdsQtBg+OgHOLA6TuW+J2F9NykLtw7APP3dvmbXokGsvj4HzFm6CrQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726038201; a=rsa-sha256; cv=none; b=pLBGI0QfBFpiKbCXarqhokS2DRjXLukKLNV255aqcLzhyWz0wqja6c6ykkLcyVK4lEvijX 3ryM6ByyudRp0NIRlWwKRUHm4fwqhiQgqgBzHJKjREC+B7EwROt7lqnfWZ0NG5LOV6HfY3 Y8diDCSfyxUrptCwf/8H3BJZRCHTcHR7x5ya07DkRXiIRUCw9qSdf9rK93CiSt40yZz2Bj k7GML3S5uznp4MXNImvYwRVTp44E5CzOJxciOKSbKGH4n/KDDllplPOsHy7EASBMvCR7V2 H3qlD1E96OHsf7YpirL0k57zygSl6urLcCnU47CszWSr7SAV1IwTkNwxCiUJ4A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726038201; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lhxG3AwTS/xSOvvf9bOci9BXlo6RlD56OQuUKJxL5Pg=; b=mNj/SRld3D+lOaNR88/XwElqmODrgvDYFKdC4VWqBBnIfYK1yetQUP4j4PDsfKXnbHQT3d 5/GyH00uZCQn++/UB692aIyhFOlGpaG+YZnutIwK3rOGt07zU8fwunAjIvvH3hJW7H5Hez qnj5pFP5Z+7I/U/7b9gFgWwltooflopBGZfXXm/aWM2RVeIURC2gF+tgous7YYijiX3Bli sPmQyeYt5/nA60wApHMhWXT3tTMRxXcz+b5YuDFznWv8p117S3xLuFkMPU8Kz1Bh34rohY o+/VSph/VFEXDOsRKGHa65wWZUOkNGyWtHc9zT7jLGbdEiQ31pczm2UQQ5oMPA== Received: from smtp.theravensnest.org (smtp.theravensnest.org [45.77.103.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: theraven) by smtp.freebsd.org (Postfix) with ESMTPSA id 4X3WkJ73v0z144P; Wed, 11 Sep 2024 07:03:20 +0000 (UTC) (envelope-from theraven@freebsd.org) Received: from smtpclient.apple (host109-155-136-107.range109-155.btcentralplus.com [109.155.136.107]) by smtp.theravensnest.org (Postfix) with ESMTPSA id 1CF5065DA; Wed, 11 Sep 2024 08:03:20 +0100 (BST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: David Chisnall List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org Mime-Version: 1.0 (1.0) Subject: Re: What rust claims about FreeBSD support (as an example involved in picking languages) Date: Wed, 11 Sep 2024 08:03:08 +0100 Message-Id: <5B5C8A56-3266-457A-A72C-075D5A3D6BF5@freebsd.org> References: Cc: freebsd-hackers In-Reply-To: To: Mark Millard X-Mailer: iPad Mail (21G93) On 11 Sep 2024, at 04:22, Mark Millard wrote: >=20 > An issue for my example (rust) is that as long as FreeBSD > has aarch64 as Tier 1 in FreeBSD terms, might it be that > the rust Tier 3 status of aarch64-unknown-freebsd could > be a problem? Can FreeBSD cover the gap or lead rust to > change the rust Tier 3 status to, say, rust Tier 2 with > Host Tools for aarch64, matching x86_64-unknown-freebsd ? I think this is an important problem, but I see it as a bootstrapping proble= m. There=E2=80=99s no point adding Rust to the base system unless we have pe= ople who are good at writing Rust code and who understand the language well w= ho want to contribute. If we have such people, they are in a good position t= o improve upstream rustc=E2=80=99s FreeBSD support. The same thing happened with Clang. It was written for OS X and ported to Li= nux. I fixed a bunch of small bugs early on where FreeBSD=E2=80=99s calling c= onventions were not quite Linux or not quite OS X, as did a bunch of other p= eople who cared about FreeBSD. This became a much more exciting thing to do o= nce there was a path to Clang replacing GCC in the base system and the Found= ation funded some of the work. By the time we flipped the switch, LLVM had a= FreeBSD buildbot and we had infrastructure to do ports exp runs with now cl= ang versions. David=