Live data from Hacker News

Announcing .NET Native Preview

blogs.msdn.com

1–10 of 85 posts

Re: Announcing .NET Native Preview

#2
I'm kind of scratching my head here, can someone explain what problem this solves? There's already a CLR and already a way to build native apps for Win 8, etc. This is a new CLR that can run new 'native' apps?

Re: Announcing .NET Native Preview

#3
post #2

I'm kind of scratching my head here, can someone explain what problem this solves? There's already a CLR and already a way to build native apps for Win 8, etc. This is a new CLR that can run new 'native' apps?

CLR apps require just in time compiling which can take a little time to first run. So this should speed up opening the apps.

Re: Announcing .NET Native Preview

#4
post #3
post #2

I'm kind of scratching my head here, can someone explain what problem this solves? There's already a CLR and already a way to build native apps for Win 8, etc. This is a new CLR that can run new 'native' apps?

CLR apps require just in time compiling which can take a little time to first run. So this should speed up opening the apps.

Sure, but ngen solved that problem years ago: http://msdn.microsoft.com/en-us/library/6t9t5wcf(v=vs.110).a...

Re: Announcing .NET Native Preview

#5
post #3
post #2

I'm kind of scratching my head here, can someone explain what problem this solves? There's already a CLR and already a way to build native apps for Win 8, etc. This is a new CLR that can run new 'native' apps?

CLR apps require just in time compiling which can take a little time to first run. So this should speed up opening the apps.

It seems like this is basically just the same thing that Mono has done for a long time with AOT. I'm not really sure how it differs from the Ngen tool, though.

Re: Announcing .NET Native Preview

#7
post #4
post #3

Earlier quoted context omitted.

CLR apps require just in time compiling which can take a little time to first run. So this should speed up opening the apps.

Sure, but ngen solved that problem years ago: http://msdn.microsoft.com/en-us/library/6t9t5wcf(v=vs.110).a...

Yeah, and mono's AOT too. I wonder if this is really just ngen integration into VS and thus not really a big deal.

Re: Announcing .NET Native Preview

#9
post #2

I'm kind of scratching my head here, can someone explain what problem this solves? There's already a CLR and already a way to build native apps for Win 8, etc. This is a new CLR that can run new 'native' apps?

It gives faster startup time (due to AOT compilation rather than JIT), and doesn't require that the .NET framework be installed. Possibly better runtime performance, but I wouldn't expect huge gains there. P/Invoke should have lower overhead, which may be highly relevant for some things.

I suspect that there's things that require this which they haven't announced yet, since on its own it seems like something kinda nice but not beneficial enough to justify creating.

Post reply on HN