Finally, if you're a Windows user, you will be laughed at in this edition. It simply is a defective OS and its filesystem is a fucking joke that continues the tradition started with FAT. See pic.
==4907== 72,704 bytes in 1 blocks are still reachable in loss record 1 of 1 ==4907== at 0x4C2ABD0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4907== by 0x4EC193F: pool (eh_alloc.cc:123) ==4907== by 0x4EC193F: __static_initialization_and_destruction_0 (eh_alloc.cc:250) ==4907== by 0x4EC193F: _GLOBAL__sub_I_eh_alloc.cc (eh_alloc.cc:326) ==4907== by 0x400F499: call_init.part.0 (in /usr/lib/ld-2.23.so) ==4907== by 0x400F5AA: _dl_init (in /usr/lib/ld-2.23.so) ==4907== by 0x4000DC9: ??? (in /usr/lib/ld-2.23.so)
>Valgrind
Camden Murphy
2nd for reasonable adults
Hudson Reed
>No languages higher than C allowed.
Carter Morgan
Why is ext2 so god damn fast?
Jordan Parker
Simplicity, no journaling for example.
Julian Peterson
Is there something like numpy for C++?
Jace Russell
>It simply is a defective OS and its filesystem is a fucking joke
I know this feel. I decided that I wanted to play some GTA V last night / morning, and rebooted into Win7 from Debian. Updates disabled etc, started Steam and let all the 20 game updates run (only boot Windows a handful of times a year). I gave up and went to bed after TF2 took 50 minutes to install it's updates, and CS:GO was 30 minutes into it's update (with no end in sight, game would run like shit with slow disk read).
The updates would download at 8MiB/s, but the disk usage was just going nuts.
Oh well, at least it's better than the last time I booted into Windows in December last year for Fallout 4; Windows update took an hour and a half to run, 20 minutes to "finish" updating on reboot, only to tell me that it had installed incompatible updates and needed to revert, which took another 15 minutes, then another 15 to take another step back. Finally I was on the home stretch another set of reboots and updates after disabling to problem update and installing the ones that were supposed to come after it failed.
All in all it took over 3 hours for me to give the game developer/publisher my money. Why do they choose Wangblows again?
Hudson Campbell
>Why do they choose Wangblows again?
Because, in the beginning, there were no other options. DirectX was king.
Brayden Nelson
I'm having a pretty good time learning java so I can take the AP computer science test
am I wasting my time? is javaFX just some meme GUI software or can I do some reasonable graphics calculations?
Angel Butler
My updates complete almost instantly after they finish downloading. They always have, on both mechanical drives and SSDs.
Moreover, you have the ability prioritize updates on steam. You didn't have to update any game other than the one you wanted to play.
You, sir, are an idiot.
Sebastian Turner
...
Ryder Young
Lisp is allowed, as is Haskell, so we're good
Carson Campbell
Haskell is trash and Lisp is good, but that still misses most of the languages that people actually use.
Carson Peterson
Please ignore that trip.
Ayden Harris
>I don't know how to argue a simple fucking solution and my computer is a pile of shit.
Logan Wright
>if you're not having problems with windows you must be a Sup Forumsermin teehee xddddDDD
get blown scrub guess you just suck at computing
David Hernandez
quick, write a virtual machine for a superset of the basic opcodes (mov, add, etc) of the x86 architecture in your language of choice in under 10 minutes to prove you're not a cancer on this general
Brandon Hill
no
Justin Young
pajeet detected
Samuel Harris
real thread
Brayden Howard
>superset of the basic opcodes kid, can you even into avg2int?
Sebastian Jackson
sure i can, my professor taught me
#include #include #include
#define JAVACODE "public class Average {\n public static void main(String[] args) {\n int a = Integer.parseInt(args[0]);\n int b = Integer.parseInt(args[1]);\n int c = (a + b)/2;\n System.exit(c);\n }\n }"
#define JAVA_CMDLINE "java Average %d %d"
int main(void) { FILE *fp = fopen("Average.java", "w+");
int average(int a, int b) { int sum; sum += (a & b); sum += (a ^ b) / 2; return sum; }
Oliver Torres
By using C instead of C++.
Michael Robinson
Retard alert
Cameron Nguyen
>I don't know anything about compilers
Easton Martinez
There's nothing wrong with a single for loop. Also, your compiler will unroll it anyway
Zachary Jones
>Linus is a retard now I guess you're more intelligent than him. What have you done in your life that is has relevant as the linux kernel ? There's pros and cons, but one must admit that most high level languages are fucking garbage. Few of them might solve and make coding faster, but you realize fast enough that it is just trash.
Elijah Miller
(manually) unrolling loops is faster because no comparison instructions i dont know how branching works so i might be wrong on taht though += is really the same as example posted
Jordan Jackson
>took hours to download several gigs worth of game updates >must be because of windows
William Perry
use mmx
but it's possible that compiler already did that for you
Isaac Howard
Fucking hell... oh my stars... the constructor and destructor calls in this shit. Pajeet, kill yourself immediately.
Tyler Thompson
Guys I wrote a function to average 2 ints!
void swap(int *x, int *y) { int tmp = *x; *x = *y; *y = tmp; }
int average(int x, int y) { if (x > y) { swap(&x, &y); }
while (x < y) { x++; y--; }
if (x == y) { return x; } else { return y; } }
Jaxson Lee
Then it shouldn't matter whether something is a meme or not.
You can always apply the mental routine to other memes.
Evan Brown
>Linus is a retard now >sizeof really is a function seems so
Liam Cox
Thanks for making your presence known.
Jack Miller
by adding v.vec[3] = vec[3] + rhs.vec[3];
Hudson Powell
Did me mean optimization like run time efficiency, or not looking like shit to read? I assumed the latter because the former is impossible to take any further.
Oliver Nguyen
hehe xd
Isaiah Parker
>I'm having a pretty good time learning java so I can take the AP computer science test m8 wasn't that like a few weeks ago?
Michael Bell
It's a vec3, not a vec4. Retard. And how the fuck would that optimize it?
Joseph Morgan
I meant the former.
Jaxson Jackson
>not a vec4 use a vec4 then >how seems like you're the retard
Jeremiah Foster
>but one must admit that most high level languages are fucking garbage okay dude enjoy jerking off to those buffer overflows :^) ill just be over here suffering from the lack of bugs
Justin Gutierrez
I don't want to use a vec4, I don't need to. Now explain to me how adding an extra element and doing useless operations on it would somehow improve performance. Go on.
Kevin Fisher
In that case ignore my advice, I think you've already taken it as far as you can go (then again, I don't speak CPP).
Jeremiah Carter
someone give me a problem that involves lots of pointer shit im not good at it
Landon Long
Well, I was mostly interested in the C++ side of things. Example, I noticed how every operation will create a new object and copy it out of the function, so I was wondering if there's a way to optimize that, because that could possibly destroy performance.
Eli Jenkins
swap 2 ints
Austin Green
>I don't want you don't want it to be faster? >I don't need ok, if you don't need performance >explain seems like I'd be wasting my time since you don't seems receptive to knowledge
Brayden Morales
Implement double linked list without bugs.
Easton Kelly
>Adding more useless shit to stuff makes it go faster Ok.
Noah Scott
>makes it go faster yes >useless it's not useless if it improves performance
Anthony Howard
,>,>+[-].
Jason Hughes
>Performance is useless. Webkids should just leave Sup Forums.
Jonathan Wood
void swap_ints(int *a, int *b) { int temp = *a; *a = *b; *b = temp; }
shieeet that one will take a long itme
Kevin Morgan
bf meme is no more funny
Adrian Thomas
Ok, now explain how it improves performance. I'm listening, if you explain it I'll understand.
Otherwise you're obviously full of shit.
Alexander Edwards
a for loop is not really appropriate in this situation, the code is too small.