.Net Native Compilation

Status
Not open for further replies.

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
FAQ and announcement

Dammit, windows store only right now!

I'll be interested to know what happens if you create generic types through reflection. They indicate they have heuristics to detect use cases, but I make use of a lot of reflective stuff in tandem with templatesgenerics...

Looks like the plan is to make it more widely available but dammit I would love to try this out on our codebase.

I wonder if they poached anyone from Xamarin? :)

Edit: generics dammit, managed<->unmanaged transition fail
 

KallDrexx

Ars Tribunus Militum
2,040
I'm so confused on why this is so big.

1) How is this different than NGEN currently?
2) Besides startup time and less memory, what advantage is there when forgoing the runtime performance enhancements gained by JIT?

Outside of startup times and memory usage of not having the JIT running, most cases I've seen of requiring C++ instead of C# has really dealt around memory modelling and garbage collection, neither of which are solved by this.
 

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
A) you no longer need the framework installed
Not a big deal to me, but to many that's big.
B) you get something a lot closer to the C++ compiler level of optimisations
That's a big deal if you're doing lots of tight loops, NGEN is identical to the jit, but with a couple of possible speed ups *disabled*
C) significant memory saving for most apps from not having the jit infrastructure loaded.
Again, not a big deal to me
D) as with NGEN, sharing dll pages if you have multiple processes running.
E) not having to piss about with the GAC and strong names
That's actually a huge win for a scenario where you release often, I looked into the GAC route to deal with reducing our startup hit and it was monstrously unpleasant.
 

wallinbl

Ars Legatus Legionis
14,336
Subscriptor
[url=http:/civis/viewtopic.php?p=26578815#p26578815:kl0ms1gg said:
ShuggyCoUk[/url]":kl0ms1gg]E) not having to piss about with the GAC and strong names
That's actually a huge win for a scenario where you release often, I looked into the GAC route to deal with reducing our startup hit and it was monstrously unpleasant.
We only use it on the web servers, not for client apps.
 

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
We only use it on the web servers, not for client apps.

The server infrastructure my app interacts with compasses over around twenty different sites, incorporating hundreds of production servers with daily upgrades. Plus a compute farm of thousands, with ad-hoc jobs running all the time (though start up time not so important in terms of monetary impact they do matter for efficiency of throughput).
 
Status
Not open for further replies.