Click here to Skip to main content
15,884,099 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Strolling off the edge Pin
  Forogar  5-Apr-23 8:28
professional  Forogar  5-Apr-23 8:28 
JokeRe: Strolling off the edge Pin
Julian Ragan5-Apr-23 9:03
Julian Ragan5-Apr-23 9:03 
GeneralRe: Strolling off the edge Pin
honey the codewitch5-Apr-23 11:19
mvahoney the codewitch5-Apr-23 11:19 
GeneralRe: Strolling off the edge Pin
jschell5-Apr-23 6:39
jschell5-Apr-23 6:39 
GeneralRe: Strolling off the edge Pin
honey the codewitch5-Apr-23 6:41
mvahoney the codewitch5-Apr-23 6:41 
GeneralRe: Strolling off the edge Pin
honey the codewitch5-Apr-23 15:03
mvahoney the codewitch5-Apr-23 15:03 
GeneralRe: Strolling off the edge Pin
jschell6-Apr-23 5:14
jschell6-Apr-23 5:14 
GeneralRe: Strolling off the edge Pin
honey the codewitch6-Apr-23 10:04
mvahoney the codewitch6-Apr-23 10:04 
I've found with IoT, those are helpful in some cases, but I don't like instrumenting my code extensively for that kind of thing, or substituting a custom heap on these platforms because I haven't found a way to do it without impacting flash size, runtime performance, and/or maintainability/readability. Every solution I've found carries with it significant drawbacks, with IoT firmware usually doing sparse allocations, and generally on initialization, plus there's no teardown because there's no "prompt" to drop back to so it's easy to structure your code to avoid leaks and overruns for the most part.

I've ran into a couple in my most complicated codebases that weren't stupid errors, but most of the time it's me having an "oh duh" moment D'Oh! | :doh: so while somewhat embarrassing, they're easy to catch if I stare at it sideways or hard enough. It's such that those tools don't really benefit me so much (I think? I haven't done any actual real world testing on it, it's just my hunch)

I would use this stuff in a complicated desktop app, but honestly? I'd just as soon use something like Boehm's collector if I was even writing a desktop app in C++.
To err is human. Fortune favors the monsters.

GeneralRe: Strolling off the edge Pin
jschell7-Apr-23 9:10
jschell7-Apr-23 9:10 
GeneralRe: Strolling off the edge Pin
jmaida5-Apr-23 10:32
jmaida5-Apr-23 10:32 
GeneralRe: Strolling off the edge Pin
honey the codewitch5-Apr-23 10:37
mvahoney the codewitch5-Apr-23 10:37 
JokeRe: Strolling off the edge Pin
FreedMalloc5-Apr-23 10:57
FreedMalloc5-Apr-23 10:57 
GeneralRe: Strolling off the edge Pin
honey the codewitch5-Apr-23 11:09
mvahoney the codewitch5-Apr-23 11:09 
GeneralRe: Strolling off the edge Pin
Kenneth Haugland5-Apr-23 11:24
mvaKenneth Haugland5-Apr-23 11:24 
GeneralRe: Strolling off the edge Pin
jmaida5-Apr-23 15:26
jmaida5-Apr-23 15:26 
GeneralRe: Strolling off the edge Pin
honey the codewitch5-Apr-23 15:34
mvahoney the codewitch5-Apr-23 15:34 
GeneralRe: Strolling off the edge Pin
jmaida5-Apr-23 16:04
jmaida5-Apr-23 16:04 
GeneralRe: Strolling off the edge Pin
den2k885-Apr-23 21:42
professionalden2k885-Apr-23 21:42 
GeneralRe: Strolling off the edge Pin
jmaida6-Apr-23 6:42
jmaida6-Apr-23 6:42 
GeneralRe: Strolling off the edge Pin
BernardIE53176-Apr-23 3:09
BernardIE53176-Apr-23 3:09 
GeneralRe: Strolling off the edge Pin
honey the codewitch6-Apr-23 10:09
mvahoney the codewitch6-Apr-23 10:09 
GeneralRe: Strolling off the edge Pin
BernardIE53176-Apr-23 11:45
BernardIE53176-Apr-23 11:45 
GeneralRe: Strolling off the edge Pin
jeron16-Apr-23 12:25
jeron16-Apr-23 12:25 
GeneralRe: Strolling off the edge Pin
jschell7-Apr-23 9:35
jschell7-Apr-23 9:35 
GeneralRe: Strolling off the edge Pin
jschell7-Apr-23 9:34
jschell7-Apr-23 9:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.