Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I write rust for no_std embedded devices and I just use stack_dst for this :)

Of course you‘re right if you can‘t alloc, you can‘t use Box or similar stuff.

Also you can avoid a lot of performance hits if you just implement most stuff on the dyn Trait directly!



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: