Comments on: Developer Hardware https:/2010/01/developer-hardware/ Developer resources for the X-Plane flight simulator Tue, 01 Feb 2011 19:01:09 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: alloycowboy https:/2010/01/developer-hardware/#comment-495 Sun, 24 Jan 2010 10:15:22 +0000 http://www.x-plane.com/dev_blog/?p=124#comment-495 Hey Benjamin,

First of all I would like to say I appreciate your hard work. I realize coding is your art and X-Plane is your master piece, and you are very fine artist. On a more hardware related note I stumbled upon a web site that compares CPU's and Graphics Cards using a standardized downloadable program that puts the computer through a battery of tests. The program then uploads the test results to a data base where you can compare your computers hardware to those of the data base in a nice easy to read graphical format. The data base and graphical comparisons are free to everyone to look at even if you don't test your computer. Here is the link: http://www.cpubenchmark.net/

]]>
By: Second Anon https:/2010/01/developer-hardware/#comment-496 Sat, 23 Jan 2010 01:00:20 +0000 http://www.x-plane.com/dev_blog/?p=124#comment-496 I wasn't really aiming at micromanagement to squeeze the most out of every single instruction. That's rarely productive, and rather impossible at any non-trivial scale. It could also conflict with other goals. Say, if you use C++ templates or inlines liberally on the grounds that the pieces of code won't do redundant computations, if you get a bazillion instantiations it will be huge, outgrow caches, etc. Not much left of the potential efficiency of specialized code. Side note: wasn't it too much code (generated by templates) that caused the linker error on hacksoflife, actually?

What I had in mind was the 'programmers' who write universally horrid code. I don't even know how to quantify it, but you see things like terrible algorithms if not brute force to the max; odd concepts that align with a few bits of code each, albeit hardly; no elegance at all; just overall low quality. It makes me feel like I've witnessed one of the more probable 'working' results of monkeys with compilers. Hmmm, that might not even be far from the truth. Maybe we are all monkeys. 🙂

]]>
By: Benjamin Supnik https:/2010/01/developer-hardware/#comment-497 Fri, 22 Jan 2010 22:36:31 +0000 http://www.x-plane.com/dev_blog/?p=124#comment-497 First Anon: yep. Programmers are human, and few things motivate a programmer to write a FAST program like being faced with the horrid user experience of a slow program EVERY day. 🙂

Second Anon: right – the efficiency of the code might decrease with increased hardware, but often we can live with this. I believe the cost of writing software is worse than linear to its complexity – that is, writing a big program isn't just harder than writing a small program, it's _much_ harder…the ability to write at a higher level of abstraction (which also tends to soak up CPU cycles) is necessary to write a program big enough to fully exploit that new hardware. Or something like that.

]]>
By: Anonymous https:/2010/01/developer-hardware/#comment-498 Fri, 22 Jan 2010 22:24:11 +0000 http://www.x-plane.com/dev_blog/?p=124#comment-498 This reminds me of Smeed's law. It's meant to be about traffic, but it isn't hard to see how the concept applies to, well, anything. In computer terms, when hardware improves, software tends to degrade with it, simply because it becomes more tolerable to let it.

I'm not saying the computer experience hasn't improved over the decades. But if you ever wonder why things just aren't as fast today as you had imagined when hardware was a few orders of magnitude slower, this is it. Of course, it can be attributed to all sorts of factors, not just inefficiency (not that a lot of today's software *can't* be a whole lot more efficient without killing functionality). Still, when code naturally runs faster, it will usually get slower one way or another.

Same deal with robustness. You might think that after all this time, people will have learned to write robust code. But with time to learn and new technological help, even deceptively simple software still crashes, has bugs, and is vulnerable to exploits. If this changes, it's mostly due to market pressure, not some new technological improvement or more programmers becoming wise all of a sudden.

People don't care about making things 'perfect' in some sense. They care about making things tolerable.

]]>
By: Anonymous https:/2010/01/developer-hardware/#comment-499 Sat, 16 Jan 2010 06:58:40 +0000 http://www.x-plane.com/dev_blog/?p=124#comment-499 THAT'S the moral of the story? That a possession of a capable computer leads to sloppy, inattentive programming?

Right.

]]>