Click here to Skip to main content
15,886,788 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 ordered a computer (I think?) Pin
glennPattonWork329-Jan-21 5:01
professionalglennPattonWork329-Jan-21 5:01 
GeneralRe: I ordered a computer (I think?) Pin
raddevus29-Jan-21 5:10
mvaraddevus29-Jan-21 5:10 
GeneralRe: I ordered a computer (I think?) Pin
Ron Anders29-Jan-21 10:35
Ron Anders29-Jan-21 10:35 
GeneralRe: I ordered a computer (I think?) Pin
markrlondon29-Jan-21 10:35
markrlondon29-Jan-21 10:35 
GeneralRe: I ordered a computer (I think?) Pin
raddevus29-Jan-21 10:52
mvaraddevus29-Jan-21 10:52 
GeneralRe: I ordered a computer (I think?) Pin
Cp-Coder29-Jan-21 11:29
Cp-Coder29-Jan-21 11:29 
GeneralRe: I ordered a computer (I think?) Pin
raddevus29-Jan-21 11:34
mvaraddevus29-Jan-21 11:34 
Rantstrpbrk() in Microsoft's VCLib is *slow* Pin
honey the codewitch29-Jan-21 2:36
mvahoney the codewitch29-Jan-21 2:36 
Two rants in an hour. Geez

Turns out (from the looks of things, unless i messed something up) strpbrk() is poorly optimized in Microsoft's VCLib.

I'm only getting <500MB/s in JSON(C++) on a windows machine compiled with cl.exe:
cl.exe /Zi /EHsc /nologo /GL /D "NDEBUG" /O2 /Fe:main.exe JSON-CPP\src\main.cpp
(I never use cl.exe from the command line so maybe it's wrong?)

On linux on my old machine that was 20 times slower than this one i was getting almost 600MB/s on a standard HDD on an old i5. But that was linux. This machine is a Ryzen 7 on an NVMe drive. On windows.

And yet? WTH!

Does anyone know if GCC will work on Windows without some virtual env like MiniGW installed?
Real programmers use butterflies

GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
Nelek29-Jan-21 2:39
protectorNelek29-Jan-21 2:39 
GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
honey the codewitch29-Jan-21 2:42
mvahoney the codewitch29-Jan-21 2:42 
GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
Nelek29-Jan-21 2:44
protectorNelek29-Jan-21 2:44 
GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
honey the codewitch29-Jan-21 3:05
mvahoney the codewitch29-Jan-21 3:05 
GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
dandy7229-Jan-21 4:39
dandy7229-Jan-21 4:39 
GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
honey the codewitch29-Jan-21 5:48
mvahoney the codewitch29-Jan-21 5:48 
GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
dandy7229-Jan-21 10:12
dandy7229-Jan-21 10:12 
GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
honey the codewitch29-Jan-21 10:38
mvahoney the codewitch29-Jan-21 10:38 
GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
dandy7229-Jan-21 12:21
dandy7229-Jan-21 12:21 
GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
honey the codewitch29-Jan-21 12:26
mvahoney the codewitch29-Jan-21 12:26 
GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
k505429-Jan-21 6:06
mvek505429-Jan-21 6:06 
GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
honey the codewitch29-Jan-21 6:30
mvahoney the codewitch29-Jan-21 6:30 
GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
k505429-Jan-21 6:46
mvek505429-Jan-21 6:46 
GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
honey the codewitch29-Jan-21 6:59
mvahoney the codewitch29-Jan-21 6:59 
GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
Stuart Dootson29-Jan-21 6:49
professionalStuart Dootson29-Jan-21 6:49 
GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
Sander Rossel29-Jan-21 9:24
professionalSander Rossel29-Jan-21 9:24 
GeneralRe: strpbrk() in Microsoft's VCLib is *slow* Pin
honey the codewitch29-Jan-21 9:42
mvahoney the codewitch29-Jan-21 9:42 

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.