Alan Somers, the developer of a new implementation of the FUSE driver for FreeBSD and the author of Rust bindings for some FreeBSD libraries, initiated a discussion on the process of integrating Rust code into the base system. During the committers' discussion, the costs and benefits of the implementation were defined. The cost of including Rust support will be a doubling of build time, while the benefit will be simplifying the development of certain utilities.
A list of utilities intended to be rewritten in Rust if Rust support were added to the base system:
- ctl-exporter (exporting ctlstat statistics to Prometheus).
- Tests for fusefs.
- devd.
- zfsd.
- nscd.
- Components of the 802.11ac and Lightning stacks operating in user space.
- freebsd-kpi-r14-0.
A list of Rust ports that could be moved to the base system if Rust support were added:
- gstat-rs.
- geom-exporter.
- nfs-exporter.
- virtiofsd-rs.
- jail-exporter.
- Various jail environment management systems.
- pjdfstest.
- pf-rs.
- benchpmc.
Rust-related applications in FreeBSD that are proposed to remain in the ports:
- fsx-rs.
- ztop.
- iocage-provision.
- rsblk.
- xfuse.
Source: opennet.ru
