logoalt Hacker News

0x457 • today at 8:20 PM • 0 replies • view on HN

Well, in Rust, you can't make your own Box without using #[lang = "owned_box"] and #[fundamental], plus it has special orphan rule handling.

The question is, at least for me, do you really miss out on anything by not having an ability to do so? I think you miss anything, but you gain a lot.