Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Jan 2019 17:23:16 +0100
From:      Steffen Nurpmeso <steffen@sdaoden.eu>
To:        Bakul Shah <bakul@bitblocks.com>
Cc:        Rozhuk Ivan <rozhuk.im@gmail.com>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, Volker Lendecke <Volker.Lendecke@SerNet.DE>
Subject:   Re: Speculative: Rust for base system components
Message-ID:  <20190101162316.wa1vN%steffen@sdaoden.eu>
In-Reply-To: <20190101015536.A54DF156E410@mail.bitblocks.com>
References:  <ca76e5f7-6e59-bd67-144a-90ad66f0252e@metricspace.net> <CAG6CVpV0kxupmkhHiYBT05Yfst6uNtbUyYUzG95Zwcbk9F3K0Q@mail.gmail.com> <20181231160738.j4gow437liu7urjy@sernet.de> <20181231221030.6471937e@rimwks> <20181231201423.mJwUS%steffen@sdaoden.eu> <20190101015536.A54DF156E410@mail.bitblocks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bakul Shah wrote in <20190101015536.A54DF156E410@mail.bitblocks.com>:
 |On Mon, 31 Dec 2018 21:14:23 +0100 Steffen Nurpmeso <steffen@sdaoden.eu> \
 |wrote:
 |> Rozhuk Ivan wrote in <20181231221030.6471937e@rimwks>:
 |>|On Mon, 31 Dec 2018 17:07:38 +0100
 |>|Volker Lendecke <Volker.Lendecke@SerNet.DE> wrote:
 |>|
 |>|> Not being involved in FreeBSD but in Samba, I could see a migration of
 |>|> parts of Samba to Rust if it had a Rust->C translator. I think for
 |>|> FreeBSD base components similar arguments would apply. You could ship
 |>|> the C output for the platforms that don't have native Rust.
 |>|
 |>|Rust is modern geeks toy by mozilla.
 |>|Just waste ot time, without any real profits.
 |>
 |> I vote for Nim (former Nimrod is no more).
 |
 |So do I but it doesn't make sense to add any new language to
 |the base system without having a number of absolutely
 |essential programs written in that language that must also be
 |included in the base system. Even at that point, using any
 |such language for writing kernel code is madness. There are
 |millions of lines of C kernel code which are not going to
 |benefit in any way from the new language. Remember that except
 |for drivers the kernel is essentially a single binary. GC
 |becomes much less of an issue for user programs.

Of course not (imho), why not?, kernel-me? no!, and bloats of
undocumented sysctl knobs there too!, and a very large one!  Yes,
nim uses gc.  It is converted to native C[/C++/JavaScript] and
then compiled.  Oh - i for one would wish that C++ would be
nothing than a layer on top of the current ISO C standard (weird
enough), and could be dispatched in a C++-preprocessed form, so
that TinyCC, pcc and all the rest could be used to compile it.
(Not on FreeBSD of course, where those are broken, or were once
i last tried.)

All i was saying is that Julia and Nim are good languages.
I like the latter the most.  It is for real-life programmers.

 |I'd rather see a much smaller base, with pkg install for
 |various typical user types.

Things get damaged.  Things get broken.
And i am almost away.  (I have no Phabricator account.)
I shake my head often.  Unforgotten for example the claim
"multi-column layout seems to have never worked" from a core team
member when some old but great document by some "danish dynamite"
has been thrown away (to packages).  I seem to remember it that
way (sorry if false).

I am not an administrator, and i am almost not using perl anymore
for new things, there are not many of those, and if i try to go
sh -> awk -> perl and seldom have the needs to reach the end of
that pipeline.  But perl is a text processing language with full
Unicode support and no doubts is a helpful hand to many, take
email and you find git send-email (not me however), spam checking,
dkim and other such server side stuff.  Log parsing.  An admin
needs something, you hack it out of the box, from within the box.
Now as a package, i seemed to have understood the reasoning.
About this thread: i would have understood on April 1st.

Ciao,
require the last for the
things which i need to do



Aren't there 100000 packages already?

 --End of <20190101015536.A54DF156E410@mail.bitblocks.com>

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190101162316.wa1vN%steffen>