Click here to Skip to main content
14,869,114 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: When twice as fast doesn't matter Pin
Christian Graus24-Jan-21 12:19
protectorChristian Graus24-Jan-21 12:19 
GeneralRe: When twice as fast doesn't matter Pin
rob tillaart24-Jan-21 23:20
Memberrob tillaart24-Jan-21 23:20 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 2:29
mvahoney the codewitch25-Jan-21 2:29 
GeneralRe: When twice as fast doesn't matter Pin
W Balboos, GHB25-Jan-21 2:26
mveW Balboos, GHB25-Jan-21 2:26 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 3:16
mvahoney the codewitch25-Jan-21 3:16 
GeneralRe: When twice as fast doesn't matter Pin
W Balboos, GHB25-Jan-21 3:18
mveW Balboos, GHB25-Jan-21 3:18 
GeneralRe: When twice as fast doesn't matter Pin
Kirk 1038982125-Jan-21 3:02
MemberKirk 1038982125-Jan-21 3:02 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 3:10
mvahoney the codewitch25-Jan-21 3:10 
One of the challenges in developing my JSON processor was making it scale to 8-bit machines with 4kB of RAM reading an SD card and parsing through JSON at it a whopping 24kB a second. On my crappy old i5 that has since died I got 600MB a second throughput on the top end. On my new machine I haven't tried it yet, but with my NVMe and this processor i expect well over 1GB/s speeds - probably multiple GB/s

The issue here is there's two problems with the same solution.

One problem is getting a tiny device to be able to parse JSON that is effectively "too big" for it to use using traditional JSON parsing methods.

The other problem is getting more capable machines to process bulk data efficiently.

The solution is the same - an optimized streaming pull parser whose memory usage is *not* in any way tied to the size of the document, or even individual field lengths.

But since it's a library, and because of the disparate devices, plus tackling two different problems, what "optimized" is varies widely and is in the eye of the beholder I guess.

It would be really hard to come up with requirements around performance without a specific use case for it, if not impossible.
Real programmers use butterflies

GeneralRe: When twice as fast doesn't matter Pin
Nelek25-Jan-21 3:29
protectorNelek25-Jan-21 3:29 
GeneralRe: When twice as fast doesn't matter Pin
obermd25-Jan-21 3:23
Memberobermd25-Jan-21 3:23 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 5:58
mvahoney the codewitch25-Jan-21 5:58 
GeneralRe: When twice as fast doesn't matter Pin
David On Life25-Jan-21 5:45
MemberDavid On Life25-Jan-21 5:45 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 5:56
mvahoney the codewitch25-Jan-21 5:56 
GeneralRe: When twice as fast doesn't matter Pin
David On Life25-Jan-21 6:48
MemberDavid On Life25-Jan-21 6:48 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 7:17
mvahoney the codewitch25-Jan-21 7:17 
GeneralRe: When twice as fast doesn't matter Pin
David On Life25-Jan-21 7:35
MemberDavid On Life25-Jan-21 7:35 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 7:40
mvahoney the codewitch25-Jan-21 7:40 
GeneralRe: When twice as fast doesn't matter Pin
trønderen25-Jan-21 10:38
Membertrønderen25-Jan-21 10:38 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 10:50
mvahoney the codewitch25-Jan-21 10:50 
GeneralRe: When twice as fast doesn't matter Pin
Matt McGuire28-Jan-21 5:12
professionalMatt McGuire28-Jan-21 5:12 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch28-Jan-21 8:50
mvahoney the codewitch28-Jan-21 8:50 
GeneralGot up this morning to find a blanket of snow. Pin
OriginalGriff23-Jan-21 21:36
mveOriginalGriff23-Jan-21 21:36 
GeneralRe: Got up this morning to find a blanket of snow. Pin
RickZeeland23-Jan-21 21:43
mveRickZeeland23-Jan-21 21:43 
GeneralRe: Got up this morning to find a blanket of snow. Pin
obermd25-Jan-21 3:24
Memberobermd25-Jan-21 3:24 
GeneralRe: Got up this morning to find a blanket of snow. Pin
RickZeeland25-Jan-21 4:00
mveRickZeeland25-Jan-21 4:00 

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.