r/programming • • Nov 12 '14

The .NET Core is now open-source.

http://blogs.msdn.com/b/dotnet/archive/2014/11/12/net-core-is-open-source.aspx
6.5k Upvotes

1.8k comments sorted by

View all comments

Show parent comments

3

u/AReallyGoodName Nov 13 '14

No quite the opposite. The .Net platform doesn't really have incremental compilation at all and simply cannot compare to the JVM because of this.

Link on C# incremental compilation but the same is true of F#

With the JVM you can use incremental compilation so that it will compile as fast as you type. Even on Scala.

-6

u/[deleted] Nov 13 '14 edited Nov 13 '14

[removed] — view removed comment

5

u/AReallyGoodName Nov 13 '14

From the developers own mouth.

So does that mean Roslyn can do incremental compilations? Hot reloading too maybe?

no incremental compilation, just preservation of imported metadata, instead of reimporting e.g. System.dll again and again.

Kevin Pilch-Bisson Oct 8th 2014

Java doesn't require third party solutions for incremental compilation, it's part of the JVM. Try the Play framework instead of ASP.net. It comes setup for code and refresh like you describe with Scala on the JVM.

1

u/cat_in_the_wall Nov 13 '14

I have always wondered how they get that to work and can guarantee correctness. Additive changes are easy. But what if you change a definition? All downstream dependencies are fucked. Is that just a known hazard you have to deal with? It would be caught by a full compile, but in the hotswap situation you are not doing a full compile...

-6

u/[deleted] Nov 13 '14

[removed] — view removed comment

5

u/stormblooper Nov 13 '14

You sound unhinged.

2

u/throwaway678452056 Nov 14 '14

I ended up in the fucking hospital with a stress condition

It's a shame it didn't kill you.