inside coreclr
Post on 12-Aug-2015
229 Views
Preview:
TRANSCRIPT
#devsum15
Inside CLR – A New Look to Open Source CoreCLR
Martin Kulovwww.kulov.net
@kulov martin@kulov.net
This repo contains the .NET Core runtime, called CoreCLR, and the base library, called mscorlib. It includes the garbage collector, JIT compiler, base .NET data types and many low-level classes.
dotnet/coreclr
This repo contains the .NET Core foundational libraries, called CoreFX. It includes classes for collections, file systems, console, XML, async and many others.
dotnet/corefx
The .NET Compiler Platform ("Roslyn") provides open-source C# and Visual Basic compilers with rich code analysis APIs.
dotnet/roslyn
The DNX (a .NET Execution Environment) contains the code required to bootstrap and run an application, including the compilation system, SDK tools, and the native CLR hosts.
aspnet/dnx
#devsum15@kulov martin@kulov.net
High level steps
Install DNVM
Install .NET Core DNX
DNU restore
Run DNX
#devsum15@kulov martin@kulov.net
Execution Environment
.NET apps need host
They get bootstrapped, jitted, ngened,
configured
Hosts: Windows Shell, SQL Server, ASP.NET,
IE
#devsum15@kulov martin@kulov.net
.NET Execution Environment
The DNX (a .NET Execution Environment) contains the code required to bootstrap and run an application, including the compilation system, SDK tools, and the native CLR hosts.
aspnet/dnx
#devsum15@kulov martin@kulov.net
Detailed steps
Install DNVM /@powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object
net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}"
Install .NET Core DNX / dnvm install -r coreclr latest -u
Install dependencies / dnu restore
Run DNX / dnx . run*https://github.com/dotnet/coreclr/blob/master/Documentation/get-dotnetcore-dnx-windows.md
#devsum15@kulov martin@kulov.net
Prerequisites
CMake - http://www.cmake.org/download
NuGet - https://nuget.org/nuget.exe
Restore NuGet dependencies
*https://github.com/dotnet/coreclr/blob/master/Documentation/windows-instructions.md
#devsum15@kulov martin@kulov.net
> git clone https://github.com/dotnet/coreclr
> build.bat clean VS2015
*https://github.com/dotnet/coreclr/blob/master/Documentation/windows-instructions.md
#devsum15@kulov martin@kulov.net
> csc.exe csc /nostdlib /noconfig sample.exe …
> CorRun.exe sample.exe
*https://github.com/dotnet/coreclr/blob/master/Documentation/windows-instructions.md
top related