Speculative: Rust for base system components

Rozhuk Ivan rozhuk.im at gmail.com
Mon Dec 31 19:17:43 UTC 2018


On Mon, 31 Dec 2018 09:36:18 -0800
Enji Cooper <yaneurabeya at 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?



More information about the freebsd-hackers mailing list