Jack Rickard
Jack Rickard
For anyone following along there was a lang team design meeting about this yesterday, the minutes are available here: [Extern types V2 - HackMD](https://hackmd.io/TSXpOX4iS3qqDdVD00z7tw?view). There's also some Zulip discussion here:...
Unless I'm missing something that could entirely prevent this kind of thing from working? ```rust fn size_of_val(val: &T) -> usize { ... } fn foo(val: &T) -> usize { size_of_val(val)...
(This is mostly a brain dump so I don't forget it) boats' post [Changing the rules of Rust](https://without.boats/blog/changing-the-rules-of-rust/) has made me realise that my plan of relaxing the meaning of...
@nikomatsakis has written https://smallcultfollowing.com/babysteps/blog/2024/04/23/dynsized-unsized/ which suggests an alternative to relaxing `?Sized` by using positive bounds (e.g. `: MetaSized`) that inherently relax the implied `Sized` bound. I'm sure I saw this...
Plausibly purely for my own reference, in the terminology of the [extern types v2 PR](https://github.com/rust-lang/rfcs/pull/3396): `FixedLayout` == metadata sized + metadata aligned (the same as the `MetaSized` trait from extern...
Hmmmmmmm, this is more painful than I expected. I suspect the issue you're having is because of `poll_ready`. Specifically this code doesn't work: ```rust #[tokio::main] async fn main() -> Result...
There you go, hopefully that's better: https://github.com/Skepfyr/little-loadshedder/releases/tag/v0.2.0
Hmmmm, that's a reasonable request although I can't immediately see a way to implement it. My thoughts when implementing this is that when starting up a service you'd slowly ramp-up...
That would be great! As you can probably tell I'm not maintaining this library particularly actively but I'll happily make small changes like this and review anything you throw my...
I've just spotted #59 which is strongly related.