Skip to main content

Questions tagged [heap]

Filter by
Sorted by
Tagged with
0 votes
2 answers
538 views

I know that with 8-bit AVR Arduinos, std::string is widely regarded as fundamentally unsafe due to problems with heap-fragmentation (partly due to limited ram, and partly because the WAY the ...
Bitbang3r's user avatar
  • 561
0 votes
1 answer
991 views

I wrote a simple C++ program (just main.cpp and corresponding platform.io files & libraries) to get BME280 sensor readings. It worked fine until I decided to use good programming practices, using ...
Carlos Gityn Hochberg's user avatar
12 votes
6 answers
5k views

I've been reading a lot over the years why we should not use the notorious String class and how heap fragmentation is bad practice and not professional and we should never use it in our programs or we'...
Nino's user avatar
  • 411