User avatar
φ
@fiore@shrimptest.bedwetting.club
boost pls, rust question ok so today i found out something VERY annoying

doing
let big_array = Box::new([0; 1000000]);




stack overflows even tho a Box is heap allocated , because the compiler puts it all on the stack and
then moves it

does anyone know if theres a nicer way to do this ??? like smth that does the same magic that
vec! does , because only being able to do smth like this thru a Vec or thru manual unsafe calls feels very weird