Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2019 16:18:41 +0100 (CET)
From:      Wojciech Puchar <wojtek@puchar.net>
To:        Kristof Provost <kp@FreeBSD.org>
Cc:        Enji Cooper <yaneurabeya@gmail.com>, Eric McCorkle <eric@metricspace.net>,  freebsd-hackers@freebsd.org
Subject:   Re: Speculative: Rust for base system components
Message-ID:  <alpine.BSF.2.20.1901051617480.99904@puchar.net>
In-Reply-To: <4867C05A-BCEF-4F1C-965D-84056092D70C@FreeBSD.org>
References:  <201901021829.x02IT4Kc064169@slippy.cwsent.com> <e954a12f-5d23-7a3f-c29b-c93e1250965c@metricspace.net> <361CCB81-AEB6-4EAC-9604-CD8F4C63948C@gmail.com> <4867C05A-BCEF-4F1C-965D-84056092D70C@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>> forward.
>>
>> Going back to my previous statement, I think writing a service monitor (to work alongside init and rc) in modern C++/rust would be a good item to undertake.
>>
>> I’d be willing to do this with someone else, as a research project/to demo how rust could be used.
>
>
> I think that’s an excellent idea, and would be interested in trying to help out with it.
>
Great. So do it, just don't try to push FreeBSD to use it in base.

Of course add a port to FreeBSD when done :)
From owner-freebsd-hackers@freebsd.org  Sat Jan  5 15:20:54 2019
Return-Path: <owner-freebsd-hackers@freebsd.org>
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 CAD57149E2FD
 for <freebsd-hackers@mailman.ysv.freebsd.org>;
 Sat,  5 Jan 2019 15:20:54 +0000 (UTC)
 (envelope-from mozolevsky@gmail.com)
Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com
 [209.85.167.181])
 (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 D503C86A88
 for <freebsd-hackers@freebsd.org>; Sat,  5 Jan 2019 15:20:53 +0000 (UTC)
 (envelope-from mozolevsky@gmail.com)
Received: by mail-oi1-f181.google.com with SMTP id y1so32663784oie.12
 for <freebsd-hackers@freebsd.org>; Sat, 05 Jan 2019 07:20: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=TRuUHC3HugM3Ovs+52p7hEEYqxQulvVew4Ud2YxUywA=;
 b=m0P04CpnxV5crQ9SsMZ6yZEIzQ+EvuWwbebBK4RK+YP0kLC6760D7LoninMNkW6N01
 Omv/ep1skdvBAXnE3wl/7aDwN+IvSpgz5ItRtyoRBZWINo+JalXIWjMCwbbmHJlcS+x7
 FRFKlC8XTaWSl7Sz4bLf8pRo8TrwuXgmeeQ4/24MAVHbU8Crmjrt6RKOx6q7GiZ0DmM9
 lWvuQpl6I2mAQm4teErcAs/hqm7g4GIVPDU2QLgoqElQN6fo2v75f7SnMxMM065sKV/t
 Gf9Dkt1ni1s+TnMmvoayaNEyzavo4lLxkZwAl0N4jZMEOqqn8EHmTdVwV/nokL2ZiSNZ
 IYsQ==
X-Gm-Message-State: AJcUuke7fKddicgLGhFr0WI6lrxQjtYaUXJzc+woj47xRxWCgPLkl787
 Z4uA72S9aIrvE5PpCaLtOeyzJh9xoY5upl/a/SIx8g==
X-Google-Smtp-Source: ALg8bN7jqHsiFHub8FI8UC5mC8rlToViINMAbHER4CfO++aFD+0yYS20DoD4MyZuPcB+w6oiWOYze1eHwRlW4Dqk358=
X-Received: by 2002:aca:bc42:: with SMTP id m63mr3569318oif.323.1546701646648; 
 Sat, 05 Jan 2019 07:20:46 -0800 (PST)
MIME-Version: 1.0
References: <201901041902.x04J2WMb026379@slippy.cwsent.com>
 <alpine.BSF.2.20.1901042023410.22494@puchar.net>
 <YgdvJK2IN7GTKX-9vOKIiahChE_oYHb2ee2MG6n_Um_Nbnv4Tt-AezNPgP28DNjDoURqt22y7UqihWzvHrYoF0BH2wEjuxvJ83xyYRjp2H8=@sidju.se>
 <alpine.BSF.2.20.1901051608300.99904@puchar.net>
In-Reply-To: <alpine.BSF.2.20.1901051608300.99904@puchar.net>
From: Igor Mozolevsky <igor@hybrid-lab.co.uk>
Date: Sat, 5 Jan 2019 15:20:09 +0000
Message-ID: <CADWvR2iGC2PvmiCJQ6j4f+MOAeDvhJuyvucQCbrBka_xE5uXOA@mail.gmail.com>
Subject: Re: Strategic Thinking (was: Re: Speculative: Rust for base system
 components)
To: Wojciech Puchar <wojtek@puchar.net>
Cc: Hackers freeBSD <freebsd-hackers@freebsd.org>
Content-Type: text/plain; charset="UTF-8"
X-Rspamd-Queue-Id: D503C86A88
X-Spamd-Bar: ---
Authentication-Results: mx1.freebsd.org;
 spf=pass (mx1.freebsd.org: domain of mozolevsky@gmail.com designates
 209.85.167.181 as permitted sender) smtp.mailfrom=mozolevsky@gmail.com
X-Spamd-Result: default: False [-3.67 / 15.00]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-1.00)[-0.995,0]; FROM_HAS_DN(0.00)[];
 R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17];
 NEURAL_HAM_LONG(-1.00)[-0.998,0]; MIME_GOOD(-0.10)[text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org];
 DMARC_NA(0.00)[hybrid-lab.co.uk]; MIME_TRACE(0.00)[0:+];
 TO_DN_ALL(0.00)[];
 MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com];
 RCPT_COUNT_TWO(0.00)[2];
 RCVD_IN_DNSWL_NONE(0.00)[181.167.85.209.list.dnswl.org : 127.0.5.0];
 NEURAL_HAM_SHORT(-0.56)[-0.558,0];
 TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[];
 FORGED_SENDER(0.30)[igor@hybrid-lab.co.uk,mozolevsky@gmail.com];
 R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com];
 ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US];
 FROM_NEQ_ENVFROM(0.00)[igor@hybrid-lab.co.uk,mozolevsky@gmail.com];
 IP_SCORE(-1.10)[ipnet: 209.85.128.0/17(-3.77), asn: 15169(-1.67), country:
 US(-0.08)]; RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-hackers@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Technical Discussions relating to FreeBSD
 <freebsd-hackers.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-hackers>, 
 <mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers/>;
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, 
 <mailto:freebsd-hackers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Jan 2019 15:20:55 -0000

On Sat, 5 Jan 2019 at 15:15, Wojciech Puchar wrote:

<snip>

> What is wrong in ALL systems today are shared libraries or languages
> (like python or perl) that depends on millions of files. Getting rid of
> them will make "microservice" idea the right way.
>
> Simply having static executable to be run. Or multiple static executables
> communicating by pipes.

Couldn't agree more: when I did run jails, I would just compile a
static binary and jail that process (of course devd made that a bit of
a pain, but eventually you can figure out what's needed to have a
single statically-linked binary jail without the bloat).

-- 
Igor M.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1901051617480.99904>