News for hackers. Stuff that matters.
Re:Unreal vs. Unity Opinion by Ygg2 on Monday April 18, 2022 @03:54AM (#31068371)
> Modern software is crap. It's orders of magnitude slower than it should be, it's buggy, and,yes, bloated.

And, that's where he lost me. Software was always crap. Emacs = Eight Megabytes and constantly swapping.

Because even if you squeeze every last cent of performance, someone will have a great idea that will spend each dime you saved and then even add some debt on it.

Performance is never a positive as much as a disqualifying negative. Features are what sell the software. Why would people use/pay for IDEs over a free text editor.

And if you listen to Casey's advice, well, be ready to rewrite your entire stack because almost no software today is willing to do what you need. It's a good advice if you know you'll keep programming for next 120-30000 years. And don't have any competition willing to cut corners.

Re:Unreal vs. Unity Opinion by ratww on Monday April 18, 2022 @07:43AM (#31069473)
> Performance is never a positive as much as a disqualifying negative. Features are what sell the software

Except we're talking about video games, where time and time again performance was crucial in achieving new breakthroughs, from Mario's side scrolling, to Carmack's advances in FPSs, to... FFS, we're talking about Unreal 5, this version's selling point is mainly being able to do in realtime what was previously only possible before with offline rendering.

Just because there are trash mobile games that make money doesn't mean there isn't money in high-performance software.

Re:Unreal vs. Unity Opinion by kunos on Monday April 18, 2022 @11:57AM (#31072440)
> Except we're talking about video games

Not really. Most of the times Casey & Co. (Blow et others) have entire rants bitching about photoshop, visual studio,windows, websites etc. They tend to present videogames as example of "how it should be done".

They (again, as Casey&Blow and the rest of the group they seem to belong to) have this weird attitude of automatically dismiss anything that doesn't belong to whatever microsubset they are already very experienced in.. so Rust is shit, C++ is shit, GC is shit, smart pointers are shit, get/setters are shit, public/private is shit, memory safety doesn't matter and so on.. all this while not offering any alternative other than "git gut". I tend to agree with a lot of the rants to be honest but I also perceive their suggested solutions as total non starters for large scale development.

Re:Unreal vs. Unity Opinion by ratww on Monday April 18, 2022 @12:13PM (#31072687)
That’s an unfair mischaracterization and generalization, considering that very often those “rants” are often filled with genuine analysis, criticism, comparisons.

Or, in specific cases, such as OOP criticism, with very vocal disclaimers that his view deviates from the mainstream. Are those people not entitled to an opinion?

The last time one of those happened publicly, Casey was able to provide a proof of concept in a very short timeframe, despite claims that it was impractical and borderline impossible to fix.

Re:Unreal vs. Unity Opinion by syntheweave on Monday April 18, 2022 @06:10PM (#31077279)
Casey is much better and more measured on this front than Jon Blow, who has a history of wandering into random comment threads on HN and pronouncing some topic a "solved problem" or "trivial", only to actually work on the problem himself a few months later and remark that it is more complex than he thought.

But because Casey and Jon are friends and frequent collaborators, and generally prioritize the same things, they get interpreted as sharing each other's views about everything. They don't, but the mischaracterization is not easily dispelled.

Re:Unreal vs. Unity Opinion by Ygg2 on Monday April 18, 2022 @09:23AM (#31070205)
> Except we're talking about video games, where time and time again performance was crucial

In that domain speed is pretty important, but even there it's not as crucial as you might assume. I'm not saying discount it altogether, just good gameplay will trump good performance. They aren't completely unrelated, but there are diminishing returns.

What are the titles that need to be that much performant? AAA titles are just rehash/sequels with latest monetization tactics tacked on. On low end you got shitty mobile games that only optimization is user conditioning.

That leaves you with Indies, that can use GameMaker/Unity and still get their game out.

Sure some AAA use Unreal to their absolute limits. In same way some people develop drivers for embedded hardware. You still don't want to develop games and software in general, the same way those few studios do.

Re:Unreal vs. Unity Opinion by sarchertech on Monday April 18, 2022 @09:54AM (#31070602)
> What are the titles that need to be that much performant?

Nearly every single game no matter what it looks like makes performance trade offs.

Number of enemies on screen, ai search depth, world size, world granularity, whether to allow partial transparency, number of lights, number/complexity of systems etc…

Even for something that may look like just another indie side scroller.

Sometimes these constraints breed creativity. But if you use game maker/unity, you will find yourself regularly running into performance issues that will require problem solving.

The same is true when making an engine, but the problem space is far, far more nuanced than just: some types of games don’t need to worry about performance and so are fine using game maker/unity.

Re:Unreal vs. Unity Opinion by ratww on Monday April 18, 2022 @10:04AM (#31070751)
That's a gross simplification of how the market of games works and why people buy them. Plus, you're claiming that both AAA and mobile are money-grabbing schemes where performance and features affected by performance don't matter, which couldn't be further from the truth.

Not to mention that very often good gameplay also requires appropriate performance. This is still critical in titles not targeting high-end hardware, but also in AAA. Frame render time matters, and lack of performance can affects the work of not only developers, but also artists.

Even in mobile games performance could make a huge difference: something with low performance might not run in some mobile phones and you'd lose a huge chunk of audience (and no, before you say it, it's not just people with iPhone 16s that are a target to make money).

Re:Unreal vs. Unity Opinion by Ygg2 on Monday April 18, 2022 @01:33PM (#31073880)
> That's a gross simplification

Sure it's a simplification. But it is the truth. AAA are generally that way now, because people don't want to bet a lot of money without it being a sure fire bet. And it's same for game mills in mobile land.

> Not to mention that very often good gameplay also requires appropriate performance.

Yes, but point is good performance. Casey insists performance is thing to optimize for. When in reality it's like n-th thing to focus-on.

Re:Unreal vs. Unity Opinion by ratww on Monday April 18, 2022 @02:23PM (#31074493)
> Sure it's a simplification

Yep, a gross and incorrect one, invented only to advance an argument that doesn't match reality. Performance and ms-per-frame is still highly critical in AAA-land, despite your opinions on current gaming trends. There are people working hard on it, including the Unreal and Unity teams.

> Yes, but point is good performance. Casey insists performance is thing to optimize for. When in reality it's like n-th thing to focus-on.

Again, this is a bit of a misrepresentation, and probably a bit of projection. His rants are often about specific issues he finds, and mostly about low-hanging-fruit issues that cause real usability problems for end users.

He might write and teach how to write high-performance code and high-performance architecture, but it was not to the detriment of code quality, speed of development or architecture quality. The architecture of Handmade Hero, for example, is significantly better than most "make your own engine" shows on Youtube.

Re:Unreal vs. Unity Opinion by Ygg2 on Monday April 18, 2022 @04:02PM (#31075728)
> Yep, a gross and incorrect one, invented only to advance an argument that doesn't match reality. Performance and ms-per-frame is still highly critical in AAA-land,

I beg to differ it's not an incorrect one.

AAA Titles (+ if I did play them):

Destiny - Review say perf OK.

Elden Ring(+) - Performance Ok on consoles on release it was a slideshow. It ran like garbage. Personally I think it's a clusterfuck

GTA V(+) - Had a huge performance blunder. Released for n-thienth time. Good performance today for game that was released in 2013.

FIFA/NFL/Sports game - Runs ok. It's the same game as year X-1 except with some tweaks (like microtransactions and ads).

Call of Duty - Review while perf is Ok, it's not something

Battlefield - They were Ok, they went too loose with optimization resulting in the shitfest that was 2042. They got punished for it.

Fortnite - Sure stellar work from the guys making Unreal engine no complaints.

According to revenue PUBG belongs on this list. PlayerUnknown’s Battlegrounds - Barely holding itself at the seams this game made mad money while being a buggy and lice infested mess. It

Pokemon - It's Ok, but nothing to write home about.

Resident Evil: Village(+) - Played it. It ran like shite. Had to crack it to get decent performance.

Far Cry 6 - Ok performance, but essentially Farcry X-1. With more content.

---------

From examples given, while performance is usually critical for online multiplayer shooters, it's not so much being faster as being less slow than the guy next to you. E.g. PUBG was fine and dandy, even though it was really, really badly optimized.

> Again, this is a bit of a misrepresentation, and probably a bit of projection. His rants are often about specific issues he finds, and mostly about low-hanging-fruit issues that cause real usability problems for end users.

It's not. He compares Visual Studio 2019 to Visual Studio 6 and concludes that MSFT is staffed by idiots https://www.youtube.com/watch?v=GC-0tCy4P1U

Does he compare OS support? Features present? Libs used? No. It's bad and it sucks an MSFT doesn't know to do fast software.

Re:Unreal vs. Unity Opinion by wtetzner on Monday April 18, 2022 @05:00PM (#31076483)
I think you're missing the point about performance in games.

More than in other kinds of software, adding new "features" to games tends to slow the game down more (you're trying to do more in the time you have to render a frame). So often performance improvements are needed simply to make room for more "features".

Re:Unreal vs. Unity Opinion by johnnyanmac on Monday April 18, 2022 @06:58PM (#31077745)
>So often performance improvements are needed simply to make room for more "features"

absolutely. I'm an engine programmer and this has to be my train of thought, otherwise I'd be out of a job (you know, until the 11th hour where I break a lot of work just to get something out).

I'm not saving a few milliseconds on some feature that "only" takes 2 milliseconds because the game needs maximum performance. It's so when the director or designer comes up with some other crazy idea that they have more frame budget to try and fit it in. They may still not be able to, but I don't want my default answer to be "no, we can't spare the time" (not unless it's something absurd).

Re:Unreal vs. Unity Opinion by Ygg2 on Tuesday April 19, 2022 @06:18PM (#31090064)
And I'm saying. Sure some games/software goes for careful time budgeting.

Others don't. Because the floor for performance tolerance is low enough you don't need to bother most of the time.

After all premature optimization is the root of all evil.

Re:Unreal vs. Unity Opinion by wtetzner on Thursday April 21, 2022 @04:12PM (#31114623)
I suspect that even for the slow games you listed, performance was very important to get the number of features they needed into the game.

> After all premature optimization is the root of all evil.

This quote means not to optimize too early, not that you shouldn't optimize at all.

Re:Unreal vs. Unity Opinion by johnnyanmac on Monday April 18, 2022 @06:53PM (#31077705)
>AAA titles are just rehash/sequels with latest monetization tactics tacked on. On low end you got shitty mobile games that only optimization is user conditioning

ehhh. I agree with most of your sentiment, but this is starting to be the gamer version of this topic. Replace "modern software is crap" with "modern AAA games are crap". The industry is too varied to lump it all into one box, especially when several of the largest games this year came out with your normal "buy one get everything" monetization.

Back on topic: I'd say optimization is still an important and under aprreciated factor of development. One where you don't notice it when it's done right but is all that's talked about when done wrong. I want to hope UE5 solves some of those problems, but the proof will be in the pudding as always.

Re:Unreal vs. Unity Opinion by Ygg2 on Tuesday April 19, 2022 @06:11PM (#31089983)
> starting to be the gamer version of this topic

They are crap and getting worse on a completely different axis (social engineering). It's not all gloom and doom, people can get insensitive to strategies and good games haven't, stopped getting made.

> I'd say optimization is still an important and under aprreciated factor of development

I never said it didn't. I said It's not be all end all, and not optimizing is causing collapse of civilization.

Re:Unreal vs. Unity Opinion by dgb23 on Monday April 18, 2022 @04:44AM (#31068597)
A game that illustrates that success is tied to performance is factorio. Because it can scale to absurd amounts, while still running on an old labtop.

It’s in a genre with notorious performance issues and limitations as well as bugs, but they managed to put in the time and effort. Some of the lessons and solutions are quite educational even.

There’s games that are ridiculously simple in comparison let your fans spinning for no reason, grind to a halt or crash.

Performance is key here, as it is one of the most limiting factors for _both_ quality and features. Namely the things you can do and how well you can do them is tied to performance. If you are pushing those in any dimension, then you want control.

Re:Unreal vs. Unity Opinion by Ygg2 on Monday April 18, 2022 @05:51AM (#31068915)
> A game that illustrates that success is tied to performance is factorio.

Sure, performance is important if you are making a game with that level of simulation. Most games (or software in general) don't go for that level of simulation/performance.

For every Factorio, there are thousands of games that work just as well without that level of simulation. From FPS to trashy mobile games that are just a well disguised slot machine.

> There’s games that are ridiculously simple in comparison let your fans spinning for no reason, grind to a halt or crash.

Sure and Morrowind used to corrupt your save-files in a horrible manner. It still sold as hot cakes. Even though I remember it being a hog on my resources.

Warcraft 3 had an unpatched memory issue people used to extend its programming capabilities, until it turns out said issue could be used for RCE, so Blizzard had to break every existing custom map (like DOTA, not like custom melee map) to fix it. It started several independent genres.

------------

Point is you don't need to think about every ms of execution if you are writing 99.9% of software. Sure you can take some precautions and use some tried and true methods (using immutable trees for editing).

But even those come with caveats. You have only so and so complexity budget, will you spend it on features or performance? Almost always the answer is features.

Re:Unreal vs. Unity Opinion by dgb23 on Monday April 18, 2022 @10:32AM (#31071170)
That’s right but the point I was trying to make that there are whole categories of features you cannot implement if performance doesn’t allow it.

I‘m not looking at this from a pure business perspective because it’s not fruitful. We all know that you can produce crap and make a huge buck, because of marketing, dark patterns, manipulation, exploitation, luck and so on.

I‘m saying there are good examples where building things from a lower layer up does not only make sense, but is necessary for creative freedom and quality they achieved.

Re:Unreal vs. Unity Opinion by werner1886 on Monday April 18, 2022 @06:50AM (#31069203)
Sure, software of the past wasn't that much better, but relative to hardware it ran on it was much more performant.

I think the main point of his view is that with current hardware advances we should be able to have a cake and eat it too. We can have both the features and the speed, but we don't care about that. The only thing that matters is to be first.

Re:Unreal vs. Unity Opinion by Ygg2 on Monday April 18, 2022 @09:30AM (#31070275)
> The only thing that matters is to be first.

To quote a famous asshole: "Real artists ship."

Or another "Perfect is the enemy of Good Enough™"

Network effects are real and being first to (idea) market has its own benefits. Who would have thought, speed of development has its own merits.

Re:Unreal vs. Unity Opinion by ratww on Monday April 18, 2022 @10:30AM (#31071133)
It is possible to have the cake and eat, meaning: have performance and be first, as has been shown recently by Casey Muratori himself in a very public debacle.

People who care about performance also care about speed of development. The only people saying it's impossible to reconcile both is the people who religiously dismiss the need for performance in modern software.