View Single Post
Old 02-18-2014, 04:16 PM   #173
wparsons
Senior Member
 
wparsons's Avatar
 
Join Date: Jul 2012
Drives: 2013 Asphalt FR-S Manual
Location: Whitby, ON, Canada
Posts: 6,716
Thanks: 7,875
Thanked 3,353 Times in 2,134 Posts
Mentioned: 99 Post(s)
Quote:
Originally Posted by King Tut View Post
It isn't that hard, and I love that we have CPUs with tons of cores and all the popular software programs are still single threaded.
I think you're mixing up multi threaded with designed for multiple cores (parallel processing). You can easily have multi threaded applications on a single core. Modern OS' also try their best to spread load out over multiple cores, but that's entirely seamless to the application. The application can do things to help the OS, but it isn't necessary.

Quote:
Originally Posted by jamesm View Post
I should have specified 'in C' lol. Everything is easy with the higher level stuff .
You sir are too hardcore

Quote:
Originally Posted by King Tut View Post
I learned my parallel processing in C. The good ole write a program to create a server and a client that sends requests to the server.
That's what we did in school as well, a "taxi" dispatcher program that had multiple "people" (clients) calling the "dispatcher" (server).

Quote:
Originally Posted by Ryan P View Post
One of these days ill take the time to learn C. I'm self-taught so I'm just starting to get a handle of data structures and coding conventions. That being said it's best I stay away from pointers and such and allow the jvm to clean up after me haha.

Sent from my SPH-L710 using Tapatalk
It's not just pointers, there's no such thing as a string in C either! Like having arrays of a dynamic size, not in C! If you know Java you'll be quick to pick up the syntax of C, but the logic to do efficient and correct dynamic memory management is a bit of an art.

It's been so long since I've used C, and I've become SO used to all the handy libraries C# has, I would have a hard time going back.
__________________
Light travels faster than sound, so people may appear to be bright until you hear them speak...
flickr
wparsons is offline   Reply With Quote