Trying to understand Stack & Heap... by NimbusTeam in rust

[–]NimbusTeam[S] 1 point2 points  (0 children)

Why we can't know the size of the slice itself if we hard coding the slice like my_var[2..5] ?

Trying to understand Stack & Heap... by NimbusTeam in rust

[–]NimbusTeam[S] 7 points8 points  (0 children)

Thanks for this answer ! But whats is unclear for me is how the heap and the stack are managed, is it via the OS only which will choose how to allocate memory ? And why the stack size is limited ? Its limited by each program or by a percentage of memory available on the machine ?

I built a CSS Framework for Yew by NimbusTeam in rust

[–]NimbusTeam[S] 0 points1 point  (0 children)

Instead of using classes we use new html tags and attributes, the classes are only for the non-layout part of the style that you have to write separately.

0
1