[pve-devel] [PATCH v2 pve-common 00/12] Introduce and Package PVE::Path & PVE::Filesystem
Fiona Ebner
f.ebner at proxmox.com
Thu Jan 2 14:53:18 CET 2025
Am 02.01.25 um 14:46 schrieb Fiona Ebner:
> Am 20.12.24 um 19:51 schrieb Max Carrara:
>> Introduce and Package PVE::Path & PVE::Filesystem - v2
>> ======================================================
>
> Just an idea, but I'd like to have a discussion about it: Instead of
> using Perl for such new general helper modules, would it be nicer to use
> Rust+perlmod?
>
> If our long-term goal is to migrate the Proxmox VE Perl code to Rust,
> then we need to switch these modules over at some point in any case (or
> drop them after switching over all users of the modules). Are there good
> reasons not to start out with Rust+perlmod already?
>
> You state that you (also) took inspiration from Rust's `std::path` so
> could we just use that itself, wrapping via perlmod? Or would the
> wrapping be too ugly here or lead to performance issues?
Or depending on whether it's nicer, also wrapping helpers from
proxmox-sys and friends where we already have similar functionality in
our Rust code.
More information about the pve-devel
mailing list