从KRE到XRE:ASP.NET 5中正在消失的那些K

前几天写了篇博客ASP.NET 5中的那些K,刚把ASP.NET 5中的那些K搞明白了些,昨天发现微软正在让那些K消失。

首先是在 KRuntime 的git日志中发现的:

* Runtime renaming (2015-1-17)

- Rename klr to dotnet
- Support both DOTNET_ and KRE_ prefixed env vars
- Simplify dotnet usage in kpm
- Change HelloWorld tests to use dotnet in order to test new code path
- Rename runtime packages, add OS name to runtime package names
- Fix coreclr/dotnet crash when no --appbase is given
- Rename kre prefixes to dotnet in web.config
- Rename variables based on runtime renaming
- Rename runtime home structure from .kre/packages to .dotnet/runtimes
- Try %userprofile% before global installation path when search for runtime during kpm pack

KRuntime的代码中,KRE与KLR的命名被改为了dotnet。

今天早上又发现:

  • build.cmd(build.sh) 中的 kvm.cmd(kvm.sh) 被改为 dotnetsdk.cmd(dotnetsdk.sh)。(这是kvm要被干掉的节奏)
  • %userprofile%\.kpm\packages 也被改成了 %userprofile%\.dotnet\packages 。(难道kpm也要被干掉)

今天下午又发现连KRuntime也被改名了,改为了XRE(Cross-Platform Runtime SDK),https://github.com/aspnet/XRE 。

The .NET Cross-Platform Runtime SDK (.NET XRE) contains the code required to bootstrap and run an application, including the compilation system, SDK tools, and the native CLR hosts.

难道是因为K也代表着“坑”的意思,微软不想被大家误读?

当然不是啦,这是ASP.NET 5正式版发布前,微软开始对ASP.NET 5(更进一步地可以说是对.NET)进行大调整的信号。

Project K毕竟只是ASP.NET vNext的项目代号,当初也许只是为了实现ASP.NET的跨平台,而现在微软要的是整个.NET的跨平台。KRuntime难以担此重任,XRuntime(Cross-Platform Runtime)应运而生,这是.NET正进入跨平台时代更明确的信号。

.NET的开源、跨平台正在一步步变为现实,2015年对.NET社区来说,是非常重要,也是非常精彩的一年!

posted @ 2015-01-21 17:10  dudu  阅读(2478)  评论(7编辑  收藏  举报