Click here to Skip to main content
16,004,653 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: I'm a bit overwhelmed Pin
honey the codewitch14-Aug-24 14:57
mvahoney the codewitch14-Aug-24 14:57 
GeneralRe: I'm a bit overwhelmed Pin
jschell17-Aug-24 12:04
jschell17-Aug-24 12:04 
GeneralRe: I'm a bit overwhelmed Pin
honey the codewitch17-Aug-24 12:21
mvahoney the codewitch17-Aug-24 12:21 
GeneralRe: I'm a bit overwhelmed Pin
englebart14-Aug-24 15:44
professionalenglebart14-Aug-24 15:44 
GeneralRe: I'm a bit overwhelmed Pin
megaadam14-Aug-24 21:54
professionalmegaadam14-Aug-24 21:54 
GeneralRe: I'm a bit overwhelmed Pin
honey the codewitch14-Aug-24 22:07
mvahoney the codewitch14-Aug-24 22:07 
GeneralRe: I'm a bit overwhelmed Pin
megaadam14-Aug-24 22:48
professionalmegaadam14-Aug-24 22:48 
GeneralRe: I'm a bit overwhelmed Pin
honey the codewitch14-Aug-24 23:17
mvahoney the codewitch14-Aug-24 23:17 
I think I may have come up with an idea.

My cache has a max_size. I think if I make a private heap of max_size() whenever it is set I may be able to reduce fragmentation. The issue with that is managing removal. Generally when I make a simple memory pool, i allow you to clear it all at once, but not invalidate individual regions. This won't work in this case, because all I'd be doing is moving the fragmentation to the private heap.

What if I could make a compact garbage collector on a private heap though, and just indirect my pointers into it by one more level. (pointer to a pointer so I can change the 2nd pointer after I collect - i got the idea from Boehm's collector - an old GC for C that I would use, but it's a bit heavy handed for just a cache)
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix

GeneralRe: I'm a bit overwhelmed Pin
megaadam15-Aug-24 3:09
professionalmegaadam15-Aug-24 3:09 
GeneralRe: I'm a bit overwhelmed Pin
honey the codewitch15-Aug-24 4:12
mvahoney the codewitch15-Aug-24 4:12 
GeneralRe: I'm a bit overwhelmed Pin
megaadam15-Aug-24 3:22
professionalmegaadam15-Aug-24 3:22 
GeneralRe: I'm a bit overwhelmed Pin
Gary Wheeler15-Aug-24 7:22
Gary Wheeler15-Aug-24 7:22 
GeneralRe: I'm a bit overwhelmed Pin
honey the codewitch15-Aug-24 9:29
mvahoney the codewitch15-Aug-24 9:29 
GeneralRe: I'm a bit overwhelmed Pin
Gary Wheeler16-Aug-24 0:12
Gary Wheeler16-Aug-24 0:12 
GeneralI have spent most of this morning trying to add a reference to a VS solution. Pin
OriginalGriff13-Aug-24 1:30
mveOriginalGriff13-Aug-24 1:30 
GeneralRe: I have spent most of this morning trying to add a reference to a VS solution. Pin
BernardIE531713-Aug-24 1:36
BernardIE531713-Aug-24 1:36 
GeneralRe: I have spent most of this morning trying to add a reference to a VS solution. Pin
RickZeeland13-Aug-24 2:45
mveRickZeeland13-Aug-24 2:45 
GeneralEmbedded and legacy rabbit holes Pin
honey the codewitch12-Aug-24 21:12
mvahoney the codewitch12-Aug-24 21:12 
GeneralRe: Embedded and legacy rabbit holes Pin
pkfox12-Aug-24 21:49
professionalpkfox12-Aug-24 21:49 
GeneralRe: Embedded and legacy rabbit holes Pin
honey the codewitch12-Aug-24 22:03
mvahoney the codewitch12-Aug-24 22:03 
GeneralRe: Embedded and legacy rabbit holes Pin
englebart14-Aug-24 15:56
professionalenglebart14-Aug-24 15:56 
GeneralRe: Embedded and legacy rabbit holes Pin
honey the codewitch14-Aug-24 15:57
mvahoney the codewitch14-Aug-24 15:57 
GeneralWordle 1,151 Pin
Shane010312-Aug-24 17:57
Shane010312-Aug-24 17:57 
GeneralRe: Wordle 1,151 Pin
GKP199212-Aug-24 18:52
professionalGKP199212-Aug-24 18:52 
GeneralRe: Wordle 1,151 Pin
OriginalGriff12-Aug-24 19:05
mveOriginalGriff12-Aug-24 19:05 

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.