Click here to Skip to main content
15,888,984 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: WSO CCC OTD 2020-12-21 - we have a Winner! Pin
Richard MacCutchan21-Dec-20 2:07
mveRichard MacCutchan21-Dec-20 2:07 
GeneralThat's not the way I remember that scene... Pin
CodeWraith20-Dec-20 14:02
CodeWraith20-Dec-20 14:02 
JokeRe: That's not the way I remember that scene... Pin
Kornfeld Eliyahu Peter20-Dec-20 20:04
professionalKornfeld Eliyahu Peter20-Dec-20 20:04 
GeneralRe: That's not the way I remember that scene... Pin
Johnny J.20-Dec-20 21:04
professionalJohnny J.20-Dec-20 21:04 
GeneralRe: That's not the way I remember that scene... Pin
CodeWraith20-Dec-20 21:44
CodeWraith20-Dec-20 21:44 
PraiseI did it! Huge JSON on 8-bit w/ < 2kB of RAM Pin
honey the codewitch20-Dec-20 12:14
mvahoney the codewitch20-Dec-20 12:14 
GeneralRe: I did it! Huge JSON on 8-bit w/ < 2kB of RAM Pin
Randor 20-Dec-20 13:34
professional Randor 20-Dec-20 13:34 
GeneralRe: I did it! Huge JSON on 8-bit w/ < 2kB of RAM Pin
honey the codewitch20-Dec-20 13:39
mvahoney the codewitch20-Dec-20 13:39 
You're looking at my old, messy codebase. My new one is cleaner and more efficient. At any rate I'm actually targeting C++11 (maybe 14?) i'm pretty sure (whatever the Arduino IDE uses) and I don't have access to a lot of the C++ standard stuff like the STL.

That's why it looks Cish. Arduino code is C++ but tends to be Cish due to lack of program space for all the extra code that templates tend to introduce.

Edit: adding, the difficulty isn't in managing pointers and data structures for me. That's second nature. That's where a lot of the full C++ features can help, but frankly, I can do without when necessary. I use them when I have them though for the most part. That said, the difficulty in this project was reducing RAM use by streaming everything and doing things like inline string compares right off the "filestream"
Real programmers use butterflies

GeneralRe: I did it! Huge JSON on 8-bit w/ < 2kB of RAM Pin
Randor 20-Dec-20 14:04
professional Randor 20-Dec-20 14:04 
GeneralRe: I did it! Huge JSON on 8-bit w/ < 2kB of RAM Pin
honey the codewitch20-Dec-20 14:06
mvahoney the codewitch20-Dec-20 14:06 
GeneralRe: I did it! Huge JSON on 8-bit w/ < 2kB of RAM Pin
Randor 21-Dec-20 11:31
professional Randor 21-Dec-20 11:31 
GeneralRe: I did it! Huge JSON on 8-bit w/ < 2kB of RAM Pin
honey the codewitch21-Dec-20 11:54
mvahoney the codewitch21-Dec-20 11:54 
GeneralRe: I did it! Huge JSON on 8-bit w/ < 2kB of RAM Pin
Randor 21-Dec-20 12:06
professional Randor 21-Dec-20 12:06 
GeneralRe: I did it! Huge JSON on 8-bit w/ < 2kB of RAM Pin
honey the codewitch21-Dec-20 13:03
mvahoney the codewitch21-Dec-20 13:03 
GeneralRe: I did it! Huge JSON on 8-bit w/ < 2kB of RAM Pin
Randor 21-Dec-20 13:47
professional Randor 21-Dec-20 13:47 
GeneralRe: I did it! Huge JSON on 8-bit w/ < 2kB of RAM Pin
honey the codewitch21-Dec-20 13:56
mvahoney the codewitch21-Dec-20 13:56 
JokeWho is Santa’s favorite singer? Pin
Sandeep Mewara20-Dec-20 7:24
mveSandeep Mewara20-Dec-20 7:24 
GeneralRe: Who is Santa’s favorite singer? Pin
W Balboos, GHB20-Dec-20 8:33
W Balboos, GHB20-Dec-20 8:33 
GeneralRe: Who is Santa’s favorite singer? Pin
OriginalGriff20-Dec-20 9:21
mveOriginalGriff20-Dec-20 9:21 
GeneralNew Normal Christmas songs Pin
OriginalGriff20-Dec-20 4:27
mveOriginalGriff20-Dec-20 4:27 
GeneralRe: New Normal Christmas songs Pin
W Balboos, GHB20-Dec-20 4:55
W Balboos, GHB20-Dec-20 4:55 
GeneralRe: New Normal Christmas songs Pin
RickZeeland20-Dec-20 5:38
mveRickZeeland20-Dec-20 5:38 
GeneralRe: New Normal Christmas songs Pin
PIEBALDconsult20-Dec-20 6:16
mvePIEBALDconsult20-Dec-20 6:16 
GeneralRe: New Normal Christmas songs Pin
W Balboos, GHB20-Dec-20 6:34
W Balboos, GHB20-Dec-20 6:34 
GeneralRe: New Normal Christmas songs Pin
Richard MacCutchan20-Dec-20 7:11
mveRichard MacCutchan20-Dec-20 7:11 

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.