Results 127 comments of Adam Gausmann

The best example that I have encountered of such an implementation would have to be [`url::Url`](https://docs.rs/url/1.7.2/src/url/lib.rs.html#154-176). It is backed by a single string with `u32` pointers to each component. You...

I'm going to start working on this in my own fork. If you all would like to review and contribute to it, maybe we can move it into a branch...

I'll take a look at it, thanks! @angelsl While I understand the sentiment of zero allocation, building it up from separate string slices, I think producing a single owned, allocated...

Update: I put together an [optimized version of the `Message` type](https://github.com/agausmann/irc/blob/optimized_message/irc-proto/src/message.rs) that owns a single `String` with shallow references to the individual parts, like the example from Url that I...

Going to put some of my thoughts here to give some focus and direction to what I'm doing. Feedback is welcome! When designing the new protocol implementation, we need to...

Investigating this myself, I just wanted to add a note from a comment I saw here: > I'd say we define a second struct for the slave, similar to the...

@TheButlah Yes, here are the relevant issues that I know of - these fixes are necessary to be able to use the `usb-device` crate on AVR: - https://github.com/rust-lang/rust/issues/79889 - Fixed...

I almost have a working implementation; still some features missing and plenty of cleanup before it's ready to submit, but we're close! https://github.com/agausmann/rust-avr-usb I've gotten usb-device to send device &...

I've done a bit of cleanup and actually refactored it into two separate projects: - [atmega-usbd](https://github.com/agausmann/atmega-usbd) - a library crate that houses the UsbBus implementation. This is where most development/feedback...

I agree, and along with component-wise multiplication, it would be nice to have a `One` impl for `Vector*` for the multiplicative identity. > On 0.15.0, the old way should work...