Dont know if anyone will know the answer but in commercial enviroment what would you guys say is the most used programming language?
I have always been wanting to progress my C++ knowledge because the games industry uses it but everyday it looks like a further and further away goal to get a job in it, so I wanted to start learning more overall used languages

Its perfectly valid, but it looks like someone set their optimization level to -3

The entire function could be inlined with just mov eax, [ecx + 4]

Almost all code generation is like that, even with optimization on. It'd be extremely difficult to write a compiler that could take all the possible combinations of methods into account and generate "perfect code". This is why lower level code is almost always faster.

Almost all code generation is like that, even with optimization on. It'd be extremely difficult to write a compiler that could take all the possible combinations of methods into account and generate "perfect code". This is why lower level code is almost always faster.

I do agree with this, but it doesnt even look like its trying to produce good code, and there is no excuse for not using leave, wasting 4 cycles for every function fucks with my OCD

I'll be uploading my changes to libdespotify soon, but with a couple of bits left out, because I don't want to get lawyered up the ass.

Hopefully this will make it easier for anyone wanting to do what I've done for themselves.

It's funny how you say

Read the libspotify license, there are some important things to note; for example you CAN NOT "attempt to embed or integrate the API into any website or otherwise allow access to the Service via the web rather than via the Application.".

Dont know if anyone will know the answer but in commercial enviroment what would you guys say is the most used programming language?
I have always been wanting to progress my C++ knowledge because the games industry uses it but everyday it looks like a further and further away goal to get a job in it, so I wanted to start learning more overall used languages

I just went through the job ads I got last year:
3xJava
3xC#
2xC++
1xVB.NET

I always have to stare at a bit of assembly code for 2 minutes before I understand what it does
How does one actually read disassembled code properly?

Well it's random really, One night I was looking at some disassembled ASM from GlobalMS Beta. And I just randomly went "Well crap, I know what that does" and pretty much now I just understand it. Just god forbid I try to write it

Really id say get a few simple programs and use a debugger like IDA or olly. (I prefer IDA as it has a graph view.) Then just step through the code and watch out what it outputs. You will catch on pretty fast.

So I saw these two images, and decided to go away and see if I could do something similar.
I'm working in Java, and I'm having a couple of issues which I can't pinpoint.

On my program's load, the user is prompted to find an image file to process and render as text. This image is loaded in, and converted to a BufferedImage so that I can get the RGB values of individual pixels.
In the method that is supposed to produce a new BufferedImage containing the text representation of the original image, the app basically cycles over the image in 5x5 pixel blocks, obtaining an average RGB value for that block and assigning the new image's colour to that average before writing the test character "p" to the top-left of the 5x5 block in a font which I believe would be the right size.

I can't check if it is, however, because no matter what I do or change, I get no real results from this method. The image produced is invariably a black and white grid. I've been through the code many times, using breakpoints and extensive tracing, and I am certain that everything up to the actual writing of the text is working. The average RGB colour is correct, for one thing, and yet I believe the program always draws in black or white.

I'm at the end of my ability to troubleshoot it, so I thought I'd ask if I could be pointed in a direction where a method for doing something like this might be found.

For anyone who may be interested in finding the issue, here's the source.
And here's the image I am using in testing:

Been away from home for GB trials, bloody shattered now :/ anyway, been working on my grapher again :) Added parametric plots with multiple parameters - you can draw proper 3D parametric surfaces now:
Parametric torus! Plus, a bunch of random trig stuff:
I think I'll carry on working on the debugging dialogs now.

Been away from home for GB trials, bloody shattered now :/ anyway, been working on my grapher again :) Added parametric plots with multiple parameters - you can draw proper 3D parametric surfaces now:
<snipp>