[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

C++ Discussion

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 12
Thread images: 3

File: free cp.png (23KB, 360x405px) Image search: [Google]
free cp.png
23KB, 360x405px
>Allocator keeps track of how much memory you have allocated on the heap, but you have to pass around a length variable
>The standard is not so standard
>The standard adds `features` randomly like garbage.
>Everyone is so obsessed with RAII they don't mind making their program slower just to hide their shit.
>Have to dive in AT&T asm to debug your code
>All IDEs are shit and almost equal to a plain text editor with minimal synax highlighting
>The best IDE has the WORST compiler
>It is far far from dynamic, but even so, the code completion takes cock like a faggot in a dildo festival.
>No implementation/IDE provides a human readable function signature
>Often labeled as a mature language even though you can't iterate through a directory without using preprocessor directives with your own implementation or using an external header file/library
>>
>>62460896
Jetbrains has a C++ IDE. So as long as you got €, you have good IDE support.
>>
>>62460896
>but you have to pass around a length variable
for what exactly?
>>Everyone is so obsessed with RAII they don't mind making their program slower just to hide their shit.
but unique_ptr is zero overhead
>>
File: 1489491095718.png (740KB, 1834x1200px) Image search: [Google]
1489491095718.png
740KB, 1834x1200px
This confuses and infuriates the C++ hater.
>>
>>62461037
>>but you have to pass around a length variable
>for what exactly?

not entirely sure what he's on about, but my best guess:
heap frees are inherently slow, but they can be made a bit faster if the allocation size can be passed along with the pointer (C++14) or even also the alignment (C++17) to the delete call, in cases where that state for a passed around pointer can't be otherwise statically determined.
>>
What's the best C++ IDE? Im currently using VS 2015 but it eats a lot of memory.
>>
>>62461661

VS2017

No,really, its VS 2017.The debugger is unbeatable.
>>
>>62462252
This. When you are done, compile your project using GCC
>>
>>62462506
Anything I'd need to change beforehand? Like removing cl specific headers(stdafx or some shit)?
>>
>>62462546

I think that firstly you should understand computer architecture and compilers.
>>
>>62462667
I know more than you though
>>
File: Funny-Laughing-Gif-Picture.gif (499KB, 480x228px) Image search: [Google]
Funny-Laughing-Gif-Picture.gif
499KB, 480x228px
>>62462764
Thread posts: 12
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.