• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Learning programming

Page 3 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Good Language to start programming

  • C++

  • Java

  • Perl

  • Python

  • Ruby

  • Javascript

  • C#

  • Lisp


Results are only viewable after voting.
It starts to get interesting when you try to solve the same problems with different approaches.

Here's a problem I've seen multiple times on the internet:
A hallway has a single row of 1000 lockers. All of them are closed initially. The hallway also has 1000 students.

/and stuff

1 student = 1 GPU thread... BAM all 1 million inefficient possibilities taken care of. :colbert:

Now how to optimize this in parallel and you've got yourself interviews for certain types of computer/software engineering jobs. Sorry to go a bit off topic as this is obviously getting well beyond the realm of "start programming".
 
1 student = 1 GPU thread... BAM all 1 million inefficient possibilities taken care of. :colbert:
DIE DIE DIE DIE DIE!!!

Requirements for the game Wolfenstein, The New Order:
"Intel i7 or AMD equivalent"
Hours spent optimizing this game: 0

I wonder what the source code looks like. Instead of doing a status check on your character when something happens like an enemy shooting, it just does endless checking all the time for no reason.
Timer statusTimer = new Timer(1); //create an event every 1 millisecond
myStatus.Elapsed += checkPlayerStatus; //run this function every 1 millisecond

I swear some code must be that bad. Try this right now. Download the free version of SlimDrivers and do a driver check. While a driver is installing. slimdrivers.exe will take 100% of one CPU core. EZScript for AutoCAD is like this too. The 'monitor' feature will consume 100% of a CPU core while it's running scripts. Absolutely no attempt was made to make reasonably good code.
 
Last edited:
Back
Top