sgued

joined 2 years ago
[–] sgued@programming.dev 2 points 3 months ago (2 children)

The limitation of needing compile-time knowledge of the max size of the Deque is pretty rough though.

 

This releases includes some pretty nice improvements to the usage of the crate.

If you want to know how the View types I talk about in the release post are built, take a look at my post from back when I contributed them:

https://sgued.fr/blog/heapless-howto/

[–] sgued@programming.dev 1 points 11 months ago* (last edited 11 months ago)

Dependong on your API there may be headers that can help you.

This talk has some info on that if memory serves me well https://m.youtube.com/watch?v=BIguvia6AvM

[–] sgued@programming.dev 4 points 1 year ago

Because when T is !Sized, the layout is different, it looks more like the layout of &[T].

[–] sgued@programming.dev 10 points 1 year ago

This is outdatded. Mutexes don't allocate anymore. That's how Mutex::new can be const.