2 ms·
Someone coming from C also would certainly know about the difference between the stack and the heap too, so it's a little strange to me that GP called that out
by saghm 5y ago
Someone coming from C also would certainly know about the difference between the stack and the heap too, so it's a little strange to me that GP called that out
- bsder 5y agoWhy? A lot of embedded code NEVER calls malloc (thus the need for no_std in Rust). Consequently, you can go a long way in embedded without really knowing the difference between stack and heap. "Embedded programmer" does not imply "Linux Kernel Hacker".
- throwaway894345 5y agoThere’s a pretty wide chasm between kernel hackers and people who have used malloc before. :) And an embedded programmer ought to have the ability to intuit (a naive) malloc on their own (you can have malloc without a kernel).