Tired of the term "Optimization"

Recommended Videos

clippen05

New member
Jul 10, 2012
529
0
0
Seriously, in almost every debate between the PC users and console users on this forums, whenever the weak hardware of consoles is brought up this term rears its ugly face. People use it as a "Get out of jail free card"; instead of actually discussing the point they just say, "Well because the hardware is standardized the developers can optimize it and DAT MAKS DA GAM RUN BETTAR!" Can anyone even explain to me what they think optimization even means? And something can be as "Optimized" as you like, but that's not going to magically get hardware to perform better. A 1.6 Ghz processor is not going to magically run at double efficiency because of "Optimization." You can do it all you like, but console hardware performs at a constant level, no optimization will change this. Yes, having standardized hardware might make things easier for the developer and might let them get a little more out of the hardware than they would with a similarly-specced computer. BUT, it's not a magic cure-all that makes consoles sooo powerful compared to a similar PC. I know this might sound a bit ranty but I'm seriously tired of this notion on these forums.
 

Soopy

New member
Jul 15, 2011
455
0
0
No, but it does mean that the consoles can make do with slightly less powerful hardware. Which is the whole point of the argument you're disputing.
 

IllumInaTIma

Flesh is but a garment!
Feb 6, 2012
1,335
0
0
Optimization is basically... well, how well game is optimized. Ok, ok, I have a comparison. Imagine you have a backpack and some amount of groceries. If you're really smart you can put all those groceries in a backpack without having to throw anything away or having to carry it in your hands.
So, because of that, even more graphically advanced, but better optimized games, will run better than games with worse graphics and worse optimization.
F.E.A.R. games still stand as one of the best optimized PC games in my memory. They were both incredibly beautiful at their time and they were running smooth like a butter even on my underperforming PC of that time.
 

Aiddon_v1legacy

New member
Nov 19, 2009
3,672
0
0
optimizing is completely valid. Heck, it should be EXPECTED from developers. Do you really think going from a 360 to a PS3 is simple? No, you have to optimize for that console due to architecture differences...JUST LIKE PCs ARE. Most PCs run on Windows, sure, but PCs tend to have different performance due to the variety of graphics cards, CPUs, motherboards, power supplies, etc. Doing so for a console is no different. If a company cannot find a way to optimize for hardware then the fault will usually lie on the developer, not the console.
 

Anthony Corrigan

New member
Jul 28, 2011
432
0
0
clippen05 said:
Seriously, in almost every debate between the PC users and console users on this forums, whenever the weak hardware of consoles is brought up this term rears its ugly face. People use it as a "Get out of jail free card"; instead of actually discussing the point they just say, "Well because the hardware is standardized the developers can optimize it and DAT MAKS DA GAM RUN BETTAR!" Can anyone even explain to me what they think optimization even means? And something can be as "Optimized" as you like, but that's not going to magically get hardware to perform better. A 1.6 Ghz processor is not going to magically run at double efficiency because of "Optimization." You can do it all you like, but console hardware performs at a constant level, no optimization will change this. Yes, having standardized hardware might make things easier for the developer and might let them get a little more out of the hardware than they would with a similarly-specced computer. BUT, it's not a magic cure-all that makes consoles sooo powerful compared to a similar PC. I know this might sound a bit ranty but I'm seriously tired of this notion on these forums.
PCs run a hell of a lot of junk in the background because they were never designed as dedicated gaming units they were designed a generalists so the operating system has to be able to cater for everything from gaming to running a business. Furthermore when games are designed for PC they have to take into account a huge variety of different configurations because PCs aren't standardised.

Consoles on the other hand are designed from the ground up to play games, there operating system is focused on playing games and the developers know going into it EXACTLY what the machine will do without having to worry about what will happen if someone has a different chip or different RAM or different Video card or even if they have a different operating system.

My PS3 has never only crashed twice, both times due to faulty downloads (one was a game patch and the other an operating system patch), that's in 5 years. My PC on the other hand in the same time frame has fried itself and had to be rebuilt twice and even on the new system which is only 3 months old the system locked up constantly when it was first built, with only windows, office a couple of games and virus scanner running.
 

clippen05

New member
Jul 10, 2012
529
0
0
Aiddon said:
optimizing is completely valid. Heck, it should be EXPECTED from developers. Do you really think going from a 360 to a PS3 is simple? No, you have to optimize for that console due to architecture differences...JUST LIKE PCs ARE. Most PCs run on Windows, sure, but PCs tend to have different performance due to the variety of graphics cards, CPUs, motherboards, power supplies, etc. Doing so for a console is no different. If a company cannot find a way to optimize for hardware then the fault will usually lie on the developer, not the console.
I'm not saying that its not necessarily; of course the developers should do everything in their power to make a game run as smooth as possible. What I am saying is that optimization will not be able to make up for weak hardware like some people think it does. Its not miracle cure that will make a dated 7 year processor able to run as well as a new one.
 

ShinyCharizard

New member
Oct 24, 2012
2,034
0
0
I think you've got it a bit mixed up mate. They mean optimise the game code, engine etc to run as smoothly as possible on the hardware, not optimise the hardware itself.
 

Joccaren

Elite Member
Mar 29, 2011
2,601
3
43
Anthony Corrigan said:
PCs run a hell of a lot of junk in the background because they were never designed as dedicated gaming units they were designed a generalists so the operating system has to be able to cater for everything from gaming to running a business. Furthermore when games are designed for PC they have to take into account a huge variety of different configurations because PCs aren't standardised.
Yes and no. Yeah, PCs run some extra processes in the background. Consoles are getting there now too thanks to the whole "One media centre for TV, Movies, Social Networking, Internet, Games - ect" thing they're going for. Smart users, however, can shut down many of these features on a PC, whilst I'd expect it is difficult if not impossible to on a console.
And no, you don't have to cater for 1 piece of hardware for a console, and a million for a PC.
For consoles, you need to cater to 3 sets of hardware. 2 if you only go for MS/Sony. There are massive differences in the architecture of the PS3 and the 360, and that's something that the devs have to deal with.
On the PC, drivers and API do most of the work. You have to worry about Nvidia and ATI, and DirectX or OpenGL [Though they're more a choice than a requirement to cater to both these days], whilst the hardware manufacturers produce the drivers to unify all the different hardware parts into doing the same thing. Devs don't have to worry about it. Conveniently DirectX and OpenGL is actually a requirement to worry about for console games, as 360 uses DX and PS3 uses OpenGL.
Additionally, PC hardware and architecture is generally a lot more similar than PS3 and 360 architecture. It can be pretty much guaranteed that a PC uses x86 architecture. The 360 uses PowerPC from memory, and the PS3 CELL.
If anything, I'd say its probably easier to develop for just the PC than just consoles, seeing as there's two consoles to cater to and 1 PC [Going by significant market share, otherwise its 3/2].

Consoles on the other hand are designed from the ground up to play games, there operating system is focused on playing games and the developers know going into it EXACTLY what the machine will do without having to worry about what will happen if someone has a different chip or different RAM or different Video card or even if they have a different operating system.
Back with the PS2, yeah. These days... no. They're media centres focused on providing a variety of media experiences to their users. Additionally, different RAM shouldn't be an issue in a PC, nor should a different videocard. The former, so long as its modern, should be functionally the same and the system and BIOS will worry about it, not the devs and game, and the latter is handled by drivers.

My PS3 has never only crashed twice, both times due to faulty downloads (one was a game patch and the other an operating system patch), that's in 5 years. My PC on the other hand in the same time frame has fried itself and had to be rebuilt twice and even on the new system which is only 3 months old the system locked up constantly when it was first built, with only windows, office a couple of games and virus scanner running.
I have the opposite problem. My PC crashed once in the last 8 years, and that was when, after a good decade of serving various builds in my family, the connector between my motherboard and hard drive died. I replaced it with a spare I owned. My PS2... Crashed every time I used it. It would work for half an hour, crash. My friend's gone through 3 Xboxs due to red rings, and another friend is presently in the middle of rebuilding her PS2 thanks to it failing, whilst a firmware update bricked her PS3. None of my friends have ever had issues with their PCs.
Granted, we're experienced with PCs. We've been using them for 17+ years, and get how they do things, how to take care of them, and how to make them work. We do the same with consoles, but due to the locked down nature of them, you can't control them and fix the problems with them like you can a PC. You just have to shell out money for a new one.

OT: Yeah, a lot of people use it too liberally. I've had it said to me that the PS3 is more powerful than my i7 2600K at 5.1Ghz, with 16Gb 1600 DDR3 RAM and 2 560Ti 2Gb Graphics Cards overclocked thanks to how it can be optimised.
Excuse me whilst I go laugh in a corner.
Optimisation is, after the natural "Adjust the code to fit the different architecture of the system", just a way of removing the quality of the game to make it run better. I.E: Graphics settings on a PC. Optimization isn't the magic wand many think it is. Its helpful for getting consoles to run modern games, but it doesn't give them more power like many think it does.
 

BrotherRool

New member
Oct 31, 2008
3,834
0
0
Never ever study operations research =D


First of all consoles have different layouts and architectures from PCs, so you can make up for a slow X by using the increased Y to send all the information there first and then the high transference speed for Z to X to sync it all back up. You can use the fact that a PS3 had lots of distributed RAM that can do a lot of tasks more effectively if you optimise it and make sure you're offloading the maximum information to those tasks (and no more) instead of relying on other things first.

And even beyond that, there's all sorts of little tips and tricks you can do if you know exactly how information flows through a machine, at what speed and what capacity. Whether it involves installing lots of little bits of data beforehand pretty much continually to make up for Blu-rays slow read speed etc. Low power hardware in various directions creates a problem for you as a developer, but not an unsolvable one. If the GPU is slower than the CPU then you know to make the game so it utilises the one much more than the other.

And second of all.
And something can be as "Optimized" as you like, but that's not going to magically get hardware to perform better. A 1.6 Ghz processor is not going to magically run at double efficiency because of "Optimization."
There's this. It takes time and it is fairly risky to optimise code. Optimising code involves understanding that you're taking more steps to do a task than is entirely necessary and you can compress the data that you're running by spotting patterns and using mathematical tricks. Because optimising necessarily means things are running on a knife edge and it takes a lot of time and dedication to do, it's not worth doing unless you absolutely need to do it. On the other hand, if you know the exact specs of the console then you know exactly where you need to spend manpower making the code slicker and more efficient. If you double the efficiency of your code than that's the same as doubling the efficiency of a processor, but because it's not magic, it's complicated finicky logical and mathematical operations it's not as simple as waving a wand and saying 'let this code run better' which is why knowing the standard hardware is really helpfu


I mean optimisation is a fact. You can run games on a console with 256mb of RAM that wouldn't run on a 2GB RAM computer. I don't know what you're really suggesting? That it's all an illusion?
 

Soopy

New member
Jul 15, 2011
455
0
0
clippen05 said:
Aiddon said:
optimizing is completely valid. Heck, it should be EXPECTED from developers. Do you really think going from a 360 to a PS3 is simple? No, you have to optimize for that console due to architecture differences...JUST LIKE PCs ARE. Most PCs run on Windows, sure, but PCs tend to have different performance due to the variety of graphics cards, CPUs, motherboards, power supplies, etc. Doing so for a console is no different. If a company cannot find a way to optimize for hardware then the fault will usually lie on the developer, not the console.
I'm not saying that its not necessarily; of course the developers should do everything in their power to make a game run as smooth as possible. What I am saying is that optimization will not be able to make up for weak hardware like some people think it does. Its not miracle cure that will make a dated 7 year processor able to run as well as a new one.
Anthony Corrigan said:
clippen05 said:
Seriously, in almost every debate between the PC users and console users on this forums, whenever the weak hardware of consoles is brought up this term rears its ugly face. People use it as a "Get out of jail free card"; instead of actually discussing the point they just say, "Well because the hardware is standardized the developers can optimize it and DAT MAKS DA GAM RUN BETTAR!" Can anyone even explain to me what they think optimization even means? And something can be as "Optimized" as you like, but that's not going to magically get hardware to perform better. A 1.6 Ghz processor is not going to magically run at double efficiency because of "Optimization." You can do it all you like, but console hardware performs at a constant level, no optimization will change this. Yes, having standardized hardware might make things easier for the developer and might let them get a little more out of the hardware than they would with a similarly-specced computer. BUT, it's not a magic cure-all that makes consoles sooo powerful compared to a similar PC. I know this might sound a bit ranty but I'm seriously tired of this notion on these forums.
PCs run a hell of a lot of junk in the background because they were never designed as dedicated gaming units they were designed a generalists so the operating system has to be able to cater for everything from gaming to running a business. Furthermore when games are designed for PC they have to take into account a huge variety of different configurations because PCs aren't standardised.

Consoles on the other hand are designed from the ground up to play games, there operating system is focused on playing games and the developers know going into it EXACTLY what the machine will do without having to worry about what will happen if someone has a different chip or different RAM or different Video card or even if they have a different operating system.

My PS3 has never only crashed twice, both times due to faulty downloads (one was a game patch and the other an operating system patch), that's in 5 years. My PC on the other hand in the same time frame has fried itself and had to be rebuilt twice and even on the new system which is only 3 months old the system locked up constantly when it was first built, with only windows, office a couple of games and virus scanner running.
In fairness, the system instability is more the fault of the builder than the hardware its self.
 

jamail77

New member
May 21, 2011
683
0
0
clippen05 said:
Aiddon said:
optimizing is completely valid. Heck, it should be EXPECTED from developers. Do you really think going from a 360 to a PS3 is simple? No, you have to optimize for that console due to architecture differences...JUST LIKE PCs ARE. Most PCs run on Windows, sure, but PCs tend to have different performance due to the variety of graphics cards, CPUs, motherboards, power supplies, etc. Doing so for a console is no different. If a company cannot find a way to optimize for hardware then the fault will usually lie on the developer, not the console.
I'm not saying that its not necessarily; of course the developers should do everything in their power to make a game run as smooth as possible. What I am saying is that optimization will not be able to make up for weak hardware like some people think it does. Its not miracle cure that will make a dated 7 year processor able to run as well as a new one.
It sounds like the people who tell you this don't know much about this or don't make the argument very clear to you. Like other people here have said it's not about making the hardware better. Having a single type of architecture has its advantages. To accommodate for a variety of PCs can get frustrating which is why you might see more patches for PC games. It also means that a developer can really go in depth into a single type of architecture; as a result, they might realize it can be manipulated to handle things they previously thought it could not. No, it does not improve the capability of the hardware but it is a valid argument. Let's also not forget that consoles, for the most part, are dedicated solely to gaming whereas PCS the game has to run smoothly and be optimized to handle the background processes and other necessities of the PC. Does that mean we should keep the status quo? No, of course not. Especially since I prefer to game on PCs though not for the typical reasons.
 

josemlopes

New member
Jun 9, 2008
3,950
0
0
Its actually something that exists and is incredibly important, its the reason why exclusives (Gears of War 3, The Last Of Us, etc) can look so good and run well.

Optimization is the act of making something run as best as it can by making sure that everything is doing the right thing at the right time and taking the most out of the console.
 

Bravo Company

New member
Feb 21, 2010
363
0
0
I feel that most of the people here are missing the point of optimization. When you're game is optimized it means that your computer can use all its hardware to efficiently play the game. Hardware does have an impact on how well you can run games,but for example, Planetside 2 in beta wasn't optimized at all. People that were running I5/I7 builds were getting 15 fps. People that were running an AMD build were lucky to get 10 fps because the game's code wasn't optimized correctly, your computer was taking a whole bunch of unnecessary steps to be able to display the graphics on your screen (also there's a complicated system they have with the ballistics that buttrapes cpus, but that's not part of optimization )

Look at WoW, a game that's almost 10 years old, with fairly dated graphics, and my computer drops to 30 fps while playing it (I've an I5 3670k, a ATI 5777, 8 gigs of ram, hence, plenty enough to run graphics are superb frame rate) because WoW just has spaghetti code everywhere. My computer is taking 15 steps to do one process instead of 5, which makes things slower.

Optimization isn't about better graphics so much, but making the graphics you have perform more efficiently. Warframe is an excellent example. That game has some superb graphics, and my computer plays it without a hitch because its optimized so well, where's planetside 2 has less graphical quality and also performs worse.

On the subject of consoles, just look a games that released when a console was first released and then look at a game that was released on console a few years later. The developers learned how to code the game correctly to get the most out of the hardware.
 

PoolCleaningRobot

New member
Mar 18, 2012
1,237
0
0
Step 1) put windows on a ps3/ xbox
Step 2) try to run a recent game on a said windows machine
Step 3) ??????
Step 4) It won't work!

Will you get magically better performance? No, its a little exaggerated I guess. But considering my ps3 boots in 5 seconds and my pc takes 5ish minutes to boot and finish loading the start up programs[footnote]I know there's ways to change how and when start up programs start. I don't feel like doing it[/footnote] and Steam, I'm going to go ahead and consider the ps3 more "optimized" because it does what I want it to do faster than my pc.

Its mostly the user end part of optimization for pc's that bothers me. I'm OCD with that shit so in a game like Metro 2033 I have to constantly play with the settings in order to get the best performance. A new level with a bunch of AI's? Gotta crank dat shit down. Closed corridors? Gotta crank it back up. It doesn't matter if you have a decent pc, or just care but neither of those are me

BrotherRool said:
I mean optimisation is a fact. You can run games on a console with 256mb of RAM that wouldn't run on a 2GB RAM computer. I don't know what you're really suggesting? That it's all an illusion?
I don't think I'll ever understand how people can miss this point :/
 

masticina

New member
Jan 19, 2011
763
0
0
Optimalisation is something required both on consoles and pc's. Because rough code runs slow! Ever joined one of those early alpha's or beta's of games, try it go on green light on steam and test a few of those out. It will run like a wet stinking dog!

And this optimalisation is required on both consoles and pc. Of course on consoles it really becomes an art. I mean Skyrim plays on the PS3 and the Xbox 360, and if Nintendo can get Bethesda to work with them on the WiiU. But it doesn't runs that great.. it just runs good enough to be playable and enjoyable. The consoles have hit their limit and Skyrim is pushing them, the only way they had to get it running decent enough for it to be sold was.. by optimalisation. Without it I am sure it wouldn't get all those great reviews.

And on PC, yes even on pc with ever more powerful hardware and stuff like DirectX 11 you still require optimization. You only have to look back at games like Alpha Protocol and you understand that you really require it!

Again Alpha Protocol was pushed out obviously to early and it runs pretty bad. And well lets not talk about how terrible Ride to Hell: Retribution is! Just came out and it is utterly utterly utterly horrible and not just the gameplay!

Indeed any game needs some tinkering time to make it run smooth. Yet another reason why games cost money and some games cost allot of money! That tinkering time of lets say with an AAA title to be a few months to least. Well those people need to get payed.

In the end without this last phase of tinkering and bug removing games would run allot worse.

Now we all heard about bethesda and bugs, yes sadly even tinkering time can't remove all the issues. And patches will be a part of gaming life. Either on PC or Console optimalisation is needed.

And others have a good point, consoles are made for gaming!

My Win7 laptop takes about 4-5 minutes to start up... and it has decent hardware! And yes I cleaned up the start up list.

My PS3 runs within 4-5 seconds, no fat there! Sure I can't read my email on the PS3 [well maybe through the browser] or do office[why would I want to do office on a console] but it starts a game and plays it well!

Within 2 minutes I can be loading my gamesaves and be up and running.

Now I heard Microsoft want to sell their Xbox One as an OFFICE machine so.. I fear they are on the wrong way. But at long as they start up quick and play games quick.. and don't put to much in the way of getting to the game. [though I fear with their dashboard .. ]

Eh back to the question. If games we're not optimized they would run like shit. Because yes there is a gain in performance you can get by spending 2 months more!

And as other say I can run Skyrim on a console with ONLY 256Mbyte of general use memory. PC's can't touch that.. even Windows XP [I mean if you want to go lean!] would take up at least 100Mbyte.

And yes the operating system in the PS3 takes up some memory.. but allot less then a windows installation would.
 
Apr 5, 2008
3,736
0
0
clippen05 said:
Can anyone even explain to me what they think optimization even means? And something can be as "Optimized" as you like, but that's not going to magically get hardware to perform better. A 1.6 Ghz processor is not going to magically run at double efficiency because of "Optimization." You can do it all you like, but console hardware performs at a constant level, no optimization will change this.
Actually that is precisely what optimsing does do. And not just hardware in consoles, but drivers for PC GFX cards too. Check out any release of nVidia/AMD drivers following a big title launch, and the next driver version will include optimisations increasing frame rates for those games.

Optimisation is finding ways to make code run more efficiently, make use of more available features and reduce the overhead of any given operation. Processors are complicated beasts that are more than their clock speeds. They have arithmetic units, logic units, memory controllers and so on. The game's engine makes use of these features and the better designed and coded they are, the more efficiently they can perform their tasks.

Standard hardware means that an engine can be optimised to use the least amount of resources possible, to make best use of available resources, to communicate with the CPU/GPU faster and the end result is better framerates and more responsive NPCs, models, controls, etc. Optimisation is the reason that while both Oblivion & Skyrim are 360 games, the latter is far and away better looking and smoother playing.

PoolCleaningRobot said:
No, its a little exaggerated I guess. But considering my ps3 boots in 5 seconds and my pc takes 5-10 minutes for to boot and finish loading the start up programs and Steam, I'm going to go ahead and consider the ps3 more "optimized"
That's not optimisation. That's because the PS3 stores it's OS in a non-volatile EEPROM chip, while Windows loads off a much slower hard drive. You will lose a few seconds while Windows loads drivers unique to your particular computer, which consoles have no need of, but that's it.

FYI, if your PC takes 10 minutes to boot, there's something wrong with it. You may have a virus, malware or your Windows install is trying to boot a lot of things at startup, such as itunes, anti-virus, Skype, etc. I have Windows 7 on an SSD and from hitting the power button to having a fully useable machine is <30s, including POST, RAID BIOS and all startup programs.
 

Sectan

Senior Member
Aug 7, 2011
591
0
21
Play Planetside 2 and you will see bad optimization. I'm playing on low settings just to get the damn thing to run, but I can turn around and max out Battlefield 3 with no issue.
 

PoolCleaningRobot

New member
Mar 18, 2012
1,237
0
0
KingsGambit said:
PoolCleaningRobot said:
No, its a little exaggerated I guess. But considering my ps3 boots in 5 seconds and my pc takes 5-10 minutes for to boot and finish loading the start up programs and Steam, I'm going to go ahead and consider the ps3 more "optimized"
That's not optimisation. That's because the PS3 stores it's OS in a non-volatile EEPROM chip, while Windows loads off a much slower hard drive. You will lose a few seconds while Windows loads drivers unique to your particular computer, which consoles have no need of, but that's it.
You're saying that my ps3's custom hardware and software and lack of fluff programs I have no need for allows it to start faster so it can run games like it was specifically designed to do but that's not opimization? If you say so

FYI, if your PC takes 10 minutes to boot, there's something wrong with it. You may have a virus, malware or your Windows install is trying to boot a lot of things at startup, such as itunes, anti-virus, Skype, etc.
I guess I edited it to 5ish minutes too slow cause I realized that's an exaggeration. Its more like a minute or 2 to boot and then a few minutes after I log in. Its not like can't start programs as soon as it loads, but its still a little sluggish. Like I said, I know I can use programs like WinPatrol to set when start up programs start I just don't feel like playing with that

I have Windows 7 on an SSD and from hitting the power button to having a fully useable machine is <30s, including POST, RAID BIOS and all startup programs.
I was helping a friend find a computer and I found an ultra book that had 2 SSD's running raid and it booted in like 7 seconds. I wish I throw a shit ton of money into a new computer...
 

DoPo

"You're not cleared for that."
Jan 30, 2012
8,665
0
0
clippen05 said:
Can anyone even explain to me what they think optimization even means? And something can be as "Optimized" as you like, but that's not going to magically get hardware to perform better.
Actually, you're wrong. Optimisation does work and it works similar to how you described it. Heck, code gets optimised all the time, there are some crazy inefficient stuff you can do, here is some java
Code:
String letsMakeThisLong = new String();

while (letsMakeThisBig.length() < 1024)
{
  letsMakeThisBig = letsMakeThisBig + "a";
}
Now, this is pretty simple, it would just make a string that has a thousand a in it. Here is a better way to do it
Code:
String letsMakeThisLong = new String();

StringBuilder tempHolder = new StringBuilder ();

while (tempHolder.length() < 1024)
{
  tempHolder.append("a");
}

letsMakeThisLong = tempHolder.toString();
OK, the latter is a little verbous but wanted to point out the differences more clearly. Anyway, these two pieces of code have the exact same result, yet, they'll run for different times on the same hardware. The reason is that String concatenation in Java is actually pretty slow due to how Java manages it. Here is a diagram, in fact



That's exponential growth in time it takes to complete the operation. For the record, the other two methods are shown on that diagram, only due to the scale, they cover the x axis.

So there you go - a 1.6Ghz (or whatever) processor running faster.

Now, of course, games aren't dealing with strings or even Java, for that matter, they use more efficient languages in order to squeeze even more out of the hardware. Java is nice, but awfully sluggish if you consider the overhead of the JVM and the translation you have to do to access the platform. On the other hand, it runs on...well, anything - if it runs the JVM it will run your code, roughly speaking, nothing platform specific is needed. Anyway, just wanted to give an example of optimisation here, and the Java string concatenation was the one that immediately leapt to mind.

C/C++. which are a lot more used for games and are lower level languages so they aren't as platform agnostic as Java. True, you can write portable code and that's a huge deal, actually, however, you can be "naughty" and NOT write portable code. So you can trade in flexibility for power, as you dip into platform specific implementations of stuff that are more efficient but you probably won't be able to run that code on a different platform.

And even then, there are different ways of of handling data. For example, video cards have a whole different paradigm how they handle things and learning to harness the most out of it will give you a tremendous productivity boost. Problem being, than on a PC you can have any kind of video card and they aren't all the same, forget just raw productivity, the architecture also differs, while on a closed platform you KNOW what you have so you KNOW what you can do with it. Here is an example of how you'd accomplish a task using a video card - the loop above is pretty simple, it just executes the same thing 1024 times in succession, while video cards don't do that, that'd be snails pace in their world - you've got clusters of processing units, say 128, so instead of looping the same code 1024 times, you can loop it 8 times and each time it would be executed 128 times in parallel. So, again - same hardware, different execution speeds.

And I can even throw in the fact that PS4 would actually be even faster due to the shared DDR5 memory - normally, if you want to give something to the video card, the computer copies the information from the memory to the VRAM, thus adding extra overhead. And the VRAM is usually faster than the RAM (hence why it copies it across. Though speed can also be dependant on bus size, etc, but it's overall faster) so the read speed of the DDR < 5 is an additional overhead. However, with shared DDR5 RAM, you first get the benefit of memory being twice as fast and second, you get the benefit of not having to wait for data to be transferred from the "main RAM" to "VRAM".

TL;DR you're wrong and you don't know what you're talking about.
 

Hiroshi Mishima

New member
Sep 25, 2008
407
0
0
Gods am I glad so many of you have stepped up and defend optimization. Without it, people like myself on lower tier computers might not even be able to play newer games. I got a very barebones, designed for simple office work computer from my aunt as a gift when her workplace was upgrading to new machines. It is not capable of supporting a lot of newer hardware and has been a real pain to deal with. The integrated graphics are so bad, my PREVIOUS computer - which was several years older - had better video capability.

Without optimization, games like Deponia - which looks like a Flash game to some extent - run exceedingly badly on my computer. The developers didn't bother to think about gamers with weaker video cards or under 2GB of RAM, despite the fact that very seemingly more high-end games like Back to the Future from Telltale Games run just fine... because of optimization.

I'm terrible at explaining things, so thank gods there's people in here doing a much better job than me. :p