Date: Mon, 31 Dec 2018 22:17:37 +0300 From: Rozhuk Ivan <rozhuk.im@gmail.com> To: Enji Cooper <yaneurabeya@gmail.com> Cc: Warner Losh <imp@bsdimp.com>, Eric McCorkle <eric@metricspace.net>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: Speculative: Rust for base system components Message-ID: <20181231221737.13b6ef21@rimwks> In-Reply-To: <713BA6E4-1C4E-4890-831F-6379D3AB4425@gmail.com> References: <ca76e5f7-6e59-bd67-144a-90ad66f0252e@metricspace.net> <CANCZdfrMY73-7vK6F6q-iPdW7EOUP8CPThkyxwOoOWedyMu5Ag@mail.gmail.com> <713BA6E4-1C4E-4890-831F-6379D3AB4425@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 31 Dec 2018 09:36:18 -0800 Enji Cooper <yaneurabeya@gmail.com> wrote: > iii. It is more reusable > than C out of the box. How often do we need to rewrite common > logic/routines in C and mimic an OOP language like C++ (see > libarchive, pkgng)? This is not a problem. > <offtopic> > At the end of the day, I think the key is that the FreeBSD project > needs to start expressing more complicated subsystems in terms of OOP > languages, like C++, Rust, etc, instead of expressing most of the > code in C. I do think (for instance) a service management system > would be a good candidate for modern C++ or Rust. </offtopic> > C - 100 pages C++ - 1000 pages. Rust - unknown, not stable. Why some one should learn things so big to do same thing that can be done with simple C?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181231221737.13b6ef21>