#weld

To be able to link many object files, we must be able to read them! Of course, there is `std::fs`, but we want to be fast right? So let's use mmap.

Oh, it's not available everywhere. So let's use a file picker, don't you mind, which will select the best implementation for your platform.

And here is `weld-file`, github.com/Hywan/weld/compare/.

So far, it supports `std::fs` and `mmap`, more is coming

There is a `FileReader` trait, that reads the content async.

#RustLang #file #mmap #fs

Zeige Konversation
Mastodon - lehrerzimmer.social

Mastodon speziell für Lehrer, Lehrerinnen und andere Personen aus dem Bildungsbereich. Von Grundschule über Sekundarstufe, Oberstufe bis zu den berufsbildenden Schulen. Server komplett in DE -> EU-Datenschutz, kein Analytics! Ihr könnt hier gerne auch mit einem Mastodon-Zweit-Account mitmachen! ;-)