Dana Jansens
Dana Jansens
From @noncombatant: An opaque sequence type. For example, we often see IPC interfaces where the type is vector, and we say, "Whoa, are you going to parse this?" And the...
Don't malloc/free/new/delete in the library impl, go through an allocator API which can be replaced by the library's user.
Sometimes it would be very helpful to debug something on compiler-explorer, but I have to copy-paste 100 files into the tool. We can add the library to compiler-explorer? This is...
[`read_ref_unchecked`](https://github.com/googlefonts/fontations/blob/ea58ee9f6262f85ce84ca4fad2289f2614066b97/read-fonts/src/font_data.rs#L128C15-L131) will create a reference into a memory buffer, changing the representation from &[u8] to &T. The number of bytes used for this &[u8] is T::RAW_BYTE_LEN which is [defined to...
Hello, I saw you ask for feedback on Reddit and I don’t have an account so sharing it here. This is where I have gotten stuck with the ideas of...
Using nightly rust: ``` PS C:\src\test> C:\src\c\src\third_party\rust-toolchain\bin\rustfmt.exe --version rustfmt 1.7.0-dev (27eb5e46111 2024-05-14) ``` My directory layout: ``` PS C:\src\test> ls Directory: C:\src\test Mode LastWriteTime Length Name ---- ------------- ------ ----...
While the Cargo.toml specifies a license (or licenses), crates also typically include a copy of that license (or licenses) as LICENSE files. This github repo contains the license files but...
The docs say Arc where they should say Rc.
It is common practice to include the license files in the distributed crate tarballs so that projects depending on the crates can also include the license text. This adds symlinks...