News for hackers. Stuff that matters.
Re:How fast can you allocate a large block of memory in C++? by IshKebab on Thursday January 16, 2020 @07:37AM (#22063913)
Actually Arduino code does tend to use dynamic allocation for things like strings - it's a lot easier than the alternative, they tend to have quite a lot of memory these days (e.g. 1 MB) and hobby projects don't need to be super-reliable usually.
Re:How fast can you allocate a large block of memory in C++? by ncmncm on Friday January 17, 2020 @05:00PM (#22079914)
One megabyte or ten isn't enough to bother with mapping, and on Arduino you don't typically have memory mapping hardware anyway. "Big" means gigabytes these days, sometimes hundreds of them.