Unity at GDC - C# to Machine Code

  Рет қаралды 21,813

Unity

Unity

Күн бұрын

March 23, 2:30 pm (San Francisco) - Get an overview of the performance initiatives underway at Unity and share a deeper look at the technology developed to transform high-level C# code to efficient machine code. Dive into examples and look at traditional C++ engine code and compiler output to compare with our approach. Gain a better understanding of how Unity is solving the problem of optimizing game code and the technology that we’ve built to enable our solution.
Speaker:
Andreas Fredriksson, Principal Engineer at Unity

Пікірлер: 24
@reyanroy1070
@reyanroy1070 6 жыл бұрын
that's probably the best unity presentation ever..awesome... always wanted to know under the hood of unity code optimization...more this type of talk plzz
@bitesizedtech8095
@bitesizedtech8095 2 жыл бұрын
One of the best presentation that I've seen till date. Thanks a lot for making this topic so palatable!
@Rennan24
@Rennan24 6 жыл бұрын
I really like the direction that Unity is heading in now. Especially since Unity has had a bad track with performance for a long time... I'm looking at you UnityScript. Can't wait to mess around with this and see what performance gains can be had! 2018 seems like a really good year for Unity! 😊
@deusxyz
@deusxyz 5 жыл бұрын
I just rewrote my voxel engine, and the performance for the new archtecture as well as using ECS, its about 20 times better!
@saniel2748
@saniel2748 3 жыл бұрын
I love how programmers talk about compilers like they are living things on their own, so they don't "program" them, they "teach" them etc
@onerimeuse
@onerimeuse 2 жыл бұрын
As a beginner programmer (day two over here) this is fascinating. It's so far over my head, and yet still mostly digestible. I can't wait air to come back to this in a few months and say to myself "oh, yeah, duh, all of this makes sense".
@matejzajacik8496
@matejzajacik8496 5 жыл бұрын
Another excellent Unity talk! I love the way they're going about things forward. Very well presented with lots of useful info.
@aa-xn5hc
@aa-xn5hc 2 жыл бұрын
Very impressive presentation
@danieljohns1318
@danieljohns1318 4 жыл бұрын
What do I need to study/read to understand most everything he talks about ? (SIMD, AOS, etc etc)
@themostamazingguy
@themostamazingguy 6 жыл бұрын
I wanna be his guy when I grow up...
@CariagaXIII
@CariagaXIII 6 жыл бұрын
is this ready yet?
@BxBL85
@BxBL85 5 жыл бұрын
IF he ever solve the Determinism problem, multiplatform networking included, he effectively rises Unity above Unreal and all other engines ever made. No game engine have ever solved that problem..
@WaqasAhmadVlogs
@WaqasAhmadVlogs 6 жыл бұрын
What is ECS and native collections?
@shaggun
@shaggun 6 жыл бұрын
ECS (Entity component system) is the pattern that you can use with Unity 2018 where everything is supposed to be an entity or a component, it basically separates data and logic, and by Native collections, I think they're talking about arrays, lists, dictionaries, queues, stacks etc
@WaqasAhmadVlogs
@WaqasAhmadVlogs 6 жыл бұрын
yes, native collection gives control over the memory as it has no garbage collection and the developer has to allocate it and dispose it himself to make it work with job system. I like the direction Unity is taking.
@Gmania999
@Gmania999 6 жыл бұрын
You need make a tool to translate all C# code into native, otherwise all scripts are easily disassemble into readable code =(
@naikrovek
@naikrovek 6 жыл бұрын
They already do. It's called IL2CPP.
@Gmania999
@Gmania999 6 жыл бұрын
At the moment, I found a tutorial - "IL2CPP for WebGL" IL2CPP for windows not working yet? if it works please share the link how to use it for windows build
@thomaskey7388
@thomaskey7388 6 жыл бұрын
IL2CPP for standalone builds is in 2018.1, at least for Windows and Mac OS
@CanKarakuzulu
@CanKarakuzulu 4 жыл бұрын
You really should integrate Rust or Rust like ownership into HPC#. That will take care of lots of problems too IMHO.
@FuZZbaLLbee
@FuZZbaLLbee 6 жыл бұрын
So it will still be easier then writing optimized C++ code yourself
@neociber24
@neociber24 6 жыл бұрын
That's something I was thinking, I appreciate the effort for bring us techniques and tools to write highly optimizated C# code but I think choose C++ over C# could be better for the engine. But well, I don't really know how could be if they implement C++, because the amount of speed you gain with all these techniques and tools is really high.
@FuZZbaLLbee
@FuZZbaLLbee 6 жыл бұрын
Freddx L. Just to clarify, what I meant was that this automatically optimized C# code is probably easier to write than writing optimized C++ code myself. But I also agree that for someone who is proficient with C++ this might not make a difference.
@tetsuoiiii
@tetsuoiiii 6 жыл бұрын
Yes, but lamers prefer C#
Dynamic #gadgets for math genius! #maths
00:29
FLIP FLOP Hacks
Рет қаралды 19 МЛН
La final estuvo difícil
00:34
Juan De Dios Pantoja
Рет қаралды 29 МЛН
Can you beat this impossible game?
00:13
LOL
Рет қаралды 46 МЛН
Secondary textures - Lit sprites and 2D VFX tutorial
22:41
CppCon 2014: Mike Acton "Data-Oriented Design and C++"
1:27:46
After 2.5 Years, They're Turning Victoria 3 Into EU 4.5
24:40
Ludi et Historia
Рет қаралды 52 М.
Unity at GDC - Evolving Unity
57:43
Unity
Рет қаралды 25 М.
Unity optimization tip: GPU instancing
0:40
Gamedev With Mark
Рет қаралды 14 М.
You have to know how C# compiler works!
2:05
Software Nerd
Рет қаралды 3,9 М.
Unite Austin 2017 - Game Architecture with Scriptable Objects
1:04:29
Made With Unity games sizzle reel - Spring 2024 | Unity
1:34
BRONZE LEAGUE HEROES! Episode 1 - Grubby
39:17
Grubby
Рет қаралды 22 М.
HEROBRINE vs NIKOCADO AVOCADO Rank Up Challenge
0:20
Mazizien
Рет қаралды 9 МЛН
Факты, Спасающие Жизнь 7 🔥
0:38
Глеб Рандалайнен
Рет қаралды 3,3 МЛН
MAIZEN But Everything is weird - MAIZEN Minecraft Animation #shorts
0:27
Kamui - Minecraft Animation
Рет қаралды 29 МЛН