Reynald discusses RyuJIT - the new 64-bit JIT Compiler For .NET 2015 and Roslyn - a new .NET Compiler Platform. He then talks about the differences between them. Roslyn converts code like C# to CIL/byte code and is the new version of CSC.EXE, while RyuJIT, at runtime, converts IL to native code and is the New version of JIT.
- [Narrator] The Just-in-Time Compiler also known as JIT is part of the CLR, the common language runtime, which manages the execution of all .NET applications. The CLR is not only responsible for garbage collection, type safety, and exception handling, but also JIT compilation at run time. Microsoft has introduced a new compiler, and it's called RyuJIT. It's a new 64-bit JIT compiler for .NET 2015. In Japanese, Ryu stands for dragon, and so RyuJIT is dragon JIT.The new JIT is supposed to be up to 30 percent faster at startup, twice as fast, and manages to still produce efficient code that runs steadily throughout the server process.
And because it's based off of the same code as the original JIT, they're less likely to have compatibility issues. Microsoft has also introduced Roslyn, which is also referred to as a .NET Compiler Platform. Roslyn provides an open-source C# and visual basic compilers with rich code analysis API's. So it enables a building code analysis tools with the same API's that are used by Visual Studio. So, for example, if you wanted to use the same feature that Visual Studio has such as IntelliSense, you could actually write code that will evoke IntelliSense just like Visual Studio by using Roslyn's API.
Now just to make sure that there's no confusion between RyuJIT and Roslyn, just keep in mind that Roslyn converts code like C# to CIL essentially bytecode. It's the new version of the C# Compiler. RyuJIT, on the other hand, at runtime converts IL to native code. It's the new version of JIT. So, if we look back at our graph from earlier, Roslyn replaces these compilers, such as the C# Compiler, the Visual Basic Compiler, and so forth.
RyuJIT replaces the JIT compiler. Features are added to .NET constantly. Let's look at some of the latest and where to keep up to date on the new ones coming out.
- Understanding CLR and FCL
- Working with the .NET compiler
- Setting up Visual Studio to code with ASP.NET Core
- Creating an ASP.NET MVC 6 app
- Creating a web API
- Working with C# features
- Testing in C#
- Deploying cross-platform .NET apps