logoalt Hacker News

chiffaa • yesterday at 7:52 AM • 2 replies • view on HN

Then you should generally go for `no_alloc`, because std allocates, so no_std + no_alloc leaves you with core + a bunch of crates for no_std data manipulation


Replies

LoganDark • yesterday at 8:14 AM

Huh, that's a thing? I thought there was just `no_std` and then you can simply leave out `extern crate alloc`.

➕ show 2 replies
tliltocatl • yesterday at 7:57 AM

And then I have to deal with writing tons of code to please the borrow checker myself. At which point I might as well go for a language that doesn't need so much ritual.

➕ show 2 replies