Ancestors

Written by Sebastian Schöner on 2024-12-13 at 11:58

Why do I have to wait so long for Burst to compile things? Or, "Unity Burst and the Kernel Theory of Video Game Performance":

https://blog.s-schoener.com/2024-12-12-burst-kernel-theory-game-performance/

=> More informations about this toot | More toots from sschoener@mastodon.gamedev.place

Written by Aras Pranckevičius on 2024-12-13 at 12:24

@sschoener at least one lesson might be: not all games code is that of boids simulation. glue code is the game code.

=> More informations about this toot | More toots from aras@mastodon.gamedev.place

Written by Josh Simmons on 2024-12-13 at 13:08

@aras @sschoener I would say though, the kernelization approach does work quite well at AAA scale when it's used pervasively, but we can be far more heavy handed with "this is how you do this" than an engine like unity which needs to cater to a wide variety of project scopes. I always read it that the plan would be that burst would take over everything one day, in which case it makes more sense imo, just exceedingly difficult to actually achieve that in a shipping engine.

=> More informations about this toot | More toots from dotstdy@mastodon.social

Toot

Written by Sebastian Schöner on 2024-12-13 at 14:13

@dotstdy @aras Yeah, I don't think it is necessarily wrong or misguided to shoot for kernelization. That's the ideal code you want. But I bet that most games that end up doing this also have glue code that is already 10x to 100x faster than the glue code in Unity :( A lot of problems hide within those two orders of magnitude.

=> More informations about this toot | More toots from sschoener@mastodon.gamedev.place

Descendants

Written by Josh Simmons on 2024-12-13 at 14:14

@sschoener @aras yeah plus a lot of unity customers just flat out don't need it, so whatever you do it's probably going to look like pointless churn for a significant part of the userbase.

=> More informations about this toot | More toots from dotstdy@mastodon.social

Written by Sebastian Schöner on 2024-12-13 at 14:20

@dotstdy @aras Exactly, fully agreed. Those users would be way better off if their glue code got 10x or 100x faster instead (= compile it natively), yet if you repurpose a solution for Kernels for that, then pain awaits :(

=> More informations about this toot | More toots from sschoener@mastodon.gamedev.place

Written by Arseny Kapoulkine on 2024-12-13 at 19:21

@sschoener @dotstdy @aras My understanding was that Unity does already have the native compilation path through IL2CPP?

=> More informations about this toot | More toots from zeux@mastodon.gamedev.place

Written by Aras Pranckevičius on 2024-12-13 at 19:32

@zeux @sschoener @dotstdy yes but… while it is faster than Mono, it is not close in perf how it “could be”

=> More informations about this toot | More toots from aras@mastodon.gamedev.place

Written by Stefan Reinalter on 2024-12-13 at 19:40

@aras @zeux @sschoener @dotstdy Is there a thorough explanation somewhere how Unity's IL2CPP works in general?

With all the "behind the scenes" stuff?

=> More informations about this toot | More toots from molecularmusing@mastodon.gamedev.place

Written by Sebastian Schöner on 2024-12-13 at 20:07

@aras @zeux @dotstdy Additionally, IL2CPP doesn't help you in the editor :(

=> More informations about this toot | More toots from sschoener@mastodon.gamedev.place

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113645924219061143
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
345.143985 milliseconds
Gemini-to-HTML Time
2.30818 milliseconds

This content has been proxied by September (3851b).