dlchambers
Well-known member
There's a lot out there re: the Arduino String object, mostly people saying "it's broken, don't use it".
I've also read posts (by Paul S and others) that say that String works in Teensyduino land.
But I haven't seen any recent info on this.
Does anyone have any definitive info as to whether String is reliable on Teensyduino?
Note that I'm trying to decouple this from the debate over "should one ever use embedded malloc".
For the context of this question let's just assume that I'm OK with using malloc() and am therefore specifically interested in knowing whether String is useable or if it still eventually leads to memory leaking/corruption.
Many thanks,
-Dave
I've also read posts (by Paul S and others) that say that String works in Teensyduino land.
But I haven't seen any recent info on this.
Does anyone have any definitive info as to whether String is reliable on Teensyduino?
Note that I'm trying to decouple this from the debate over "should one ever use embedded malloc".
For the context of this question let's just assume that I'm OK with using malloc() and am therefore specifically interested in knowing whether String is useable or if it still eventually leads to memory leaking/corruption.
Many thanks,
-Dave