文章作者: Josh Peterson

Scripting Runtime Improvements in Unity 2018.2

七月 11, 201833

We’ve been hard at work improving the updated scripting runtime since our last update. Unity 2018.2 ships with dozens of bug fixes related t... 阅读更多

Updated scripting runtime in Unity 2018.1: What does the future hold?

三月 28, 201832

Unity 2018.1 beta now includes a fully-supported, modern .NET runtime. As the .NET ecosystem continues to evolve, Unity is committed to main... 阅读更多

IL2CPP Optimizations: Avoid Boxing

八月 11, 201617

In this final episode of our IL2CPP micro-optimization miniseries, we’ll explore the high cost of something called “boxing”, and we’ll see h... 阅读更多

IL2CPP Optimizations: Faster Virtual Method Calls

八月 4, 20165

Last time we learned that virtual method calls are slower than direct calls, and we found out how to tell IL2CPP that a given virtual method... 阅读更多

IL2CPP Optimizations: Devirtualization

七月 26, 201660

The scripting virtual machine team at Unity is always looking for ways to make your code run faster. This is the first post in a three part ... 阅读更多

IL2CPP Internals: Testing frameworks

七月 20, 20157

This is the eighth and final post in the IL2CPP Internals series. In this post I’ll deviate a bit from the content of previous posts, and no... 阅读更多

IL2CPP Internals – Garbage collector integration

七月 9, 201510

This is the seventh post in the IL2CPP Internals series. In this post, we will explore a bit about how the IL2CPP runtime integrates with a ... 阅读更多

IL2CPP Internals: P/Invoke Wrappers

七月 2, 201510

This is the sixth post in the IL2CPP Internals series. In this post, we will explore how il2cpp.exe generates wrapper methods and types use ... 阅读更多

IL2CPP Internals: Generic sharing implementation

六月 16, 201512

This is the fifth post in the IL2CPP Internals series. In the last post, we looked at how methods are called in the C++ code generated for t... 阅读更多

IL2CPP Internals: Method calls

六月 3, 201514

This is the fourth blog post in the IL2CPP Internals series. In this post, we will look at how il2cpp.exe generates C++ code for method call... 阅读更多

IL2CPP Internals – Debugging tips for generated code

五月 20, 20157

This is the third blog post in the IL2CPP Internals series. In this post, we will explore some tips which make debugging C++ code generated ... 阅读更多

IL2CPP Internals: A Tour of Generated Code

五月 13, 201524

This is the second blog post in the IL2CPP Internals series. In this post, we will investigate the C++ code generated by il2cpp.exe. Along t... 阅读更多

An introduction to IL2CPP internals

五月 6, 201566

Almost a year ago now, we started to talk about the future of scripting in Unity. The new IL2CPP scripting backend promised to bring a highl... 阅读更多