Re: My experiences with Rust

From: David Chisnall <theraven_at_FreeBSD.org>
Date: Fri, 22 Aug 2025 17:26:45 UTC
On 22 Aug 2025, at 18:12, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> 
> Aka: the guy who added kern.geom.confxml in 2002

XML is not great for generating or parsing, but we have nvlist infrastructure in the kernel and a nice library (and a less-nice library that you have to use if you link libzfs{core}) in base.  I would love to see more interfaces to the kernel switch to using nvlists.  They should be the default for *any* new kernel interface that isn’t 100% performance critical.  Certainly any system-reporting or control-plane interfaces should be using nvlists.


David