News for hackers. Stuff that matters.
Re:Guide to the CoreCLR Source Code by giancarlostoro on Friday March 24, 2017 @01:01PM (#13950361)
>> Just over 2 years ago Microsoft open-sourced the entire .NET framework,

Except they open-sourced a new .NET stack, not really the entire .NET Framework, .NET Core and .NET Framework are similar but not fully backwards compatible. I've been porting .NET Framework code to .NET Core and depending on how specialized your project is you may not always find the same libraries supporting your project. A project that perfectly compiles with .NET 2.0 will not just compile for .NET Core, at least not as easily as using a .NET Framework 2.0 project in .NET Framework 4.6. I love Microsoft and .NET but I think Core is executed poorly. You also have EntityFramework vs. EntityFramework Core which lacks features from EF which were deemed "unused" which bites some people in the face.

Re:Guide to the CoreCLR Source Code by manigandham on Friday March 24, 2017 @01:39PM (#13950678)
.NET Standard/Core 2.0 will add back many APIs. It'll be the real release of the newer framework, similar to how the original .NET Framework took until v2 to get things into shape.

.NET Standard is all about compatibility - so you can use that to determine which framework you can/need to use. However .NET Core is a distinctly designed for cross-platform reach so it will be a break from .NET Framework in some ways - this is just a given, otherwise they would've just released another .NET Framework version instead of doing all this.

Re:Guide to the CoreCLR Source Code by giancarlostoro on Friday March 24, 2017 @01:55PM (#13950832)
Yeah I know this, and hopefully they get it right, unfortunately I'm not there yet. To be fair .NET Core has been great otherwise, I have been able to develop from Ubuntu (used Sublime Text, which I didn't use the plugins since they seem abandoned or something) gave Rider a try but it was buggy at times. I wish Microsoft releases either a plugin for MonoDevelop, or "Visual Studio for Linux" at some point.
Re:Guide to the CoreCLR Source Code by WorldMaker on Friday March 24, 2017 @02:14PM (#13950953)
Have you tried VS Code yet? It's not a full "Visual Studio for Linux", but in terms of intellisense and debugging it has a lot more than you might expect.
Re:Guide to the CoreCLR Source Code by giancarlostoro on Friday March 24, 2017 @02:29PM (#13951071)
I've used it, but I never took the time to figure out how to make it run code / debug and I like how fast Sublime Text / CudaText are by comparison.
Re:Guide to the CoreCLR Source Code by jyrkesh on Saturday March 25, 2017 @04:35PM (#13957447)
Me too, but I've been trying out newer builds and Code is getting a lot faster than it started out
Re:Guide to the CoreCLR Source Code by matthewwarren on Friday March 24, 2017 @01:18PM (#13950532)
Well, it depends how you look at it, but you have a point.

I guess I could've written 'Microsoft open-sourced the entire .NET stack'. I wanted to make it clear that they open-sourced everything, i.e. runtime, JIT, GC, base-class libraries, etc

Re:Guide to the CoreCLR Source Code by giancarlostoro on Friday March 24, 2017 @01:46PM (#13950736)
I understood what you meant, but I figure some might not understand what you meant, overall I appreciate the write up, I will take the time to read through it when I'm not working. It also inspired me to want to read through the source code behind .NET's CoreCLR.
Re:Guide to the CoreCLR Source Code by matthewwarren on Friday March 24, 2017 @06:52PM (#13952885)
> I will take the time to read through it when I'm not working. It also inspired me to want to read through the source code behind .NET's CoreCLR.

Excellent, that's the effect I hope my posts have!

Re:Guide to the CoreCLR Source Code by WorldMaker on Friday March 24, 2017 @02:12PM (#13950943)
About the same time the .NET Framework "Reference Source" for the old .NET Framework moved to a much more permissive open source license, but not open source/community-driven development (partly because development has been focused on .NET Core). It includes a lot more than people think it might (including most/all of SWF and WPF).

You still might quibble over "entire" .NET Framework, but a lot of the .NET Framework is open source in addition to .NET Core.

Re:Guide to the CoreCLR Source Code by matthewwarren on Saturday March 25, 2017 @12:05PM (#13956242)
Oh yeah, I'd forgotten about 'Reference Source', although AFAIK that's only the equivalent of CoreFX, not CoreCLR
Re:Guide to the CoreCLR Source Code by UK-AL on Friday March 24, 2017 @01:16PM (#13950504)
I think it needed to be done. There is a lot of stuff .net framework that doesn't really make sense anymore.
Re:Guide to the CoreCLR Source Code by abiox on Friday March 24, 2017 @01:21PM (#13950565)
being 100% backwards compatible may be nice, but it would also be severely restrictive. this is a good a moment as any to clean up (where possible) bad choices made in .net's younger days.
Re:Guide to the CoreCLR Source Code by justin66 on Friday March 24, 2017 @01:29PM (#13950621)
> .NET Framework 2.0

It'd be a shame if the progress they are making were stymied in order to be compatible with the .Net of a decade ago.

> I've been porting .NET Framework code to .NET Core

Yeah, but you probably don't need to do that. .Net Framework is still supported, and will be for a long time.

Re:Guide to the CoreCLR Source Code by giancarlostoro on Friday March 24, 2017 @01:40PM (#13950687)
I feel like .NET Framework is going to be replaced by .NET Core eventually as its use rises more. I wish I didn't need to port to .NET Core, but I don't pay my own salary.
Re:Guide to the CoreCLR Source Code by ygra on Saturday March 25, 2017 @05:55AM (#13954814)
Only for things that are possible within .NET Core. Which currently seem to be web services and console applications. At the current point I doubt that .NET Core will get an official desktop UI framework for now, simply because of the problems of getting those cross-platform.
Re:Guide to the CoreCLR Source Code by giancarlostoro on Sunday March 26, 2017 @09:43PM (#13964518)
I can agree with that. Though I mean in the sense of cloud focused technology. Though if Java can do it, and Python can do it, it would not surprise me, I guess it's just a matter of when. Microsoft is more focused on providing tooling and services now than ever, I've said it a couple of times, their competitors are those who offer cloud hosting and services as well as JetBrains and similar companies who offer tooling.
Re:Guide to the CoreCLR Source Code by UnoriginalGuy on Friday March 24, 2017 @03:36PM (#13951596)
> You also have EntityFramework vs. EntityFramework Core which lacks features from EF which were deemed "unused" which bites some people in the face.

Where did you get this "unused" claim? I've been following EF Core and EF6 for quite a while and I've never heard them say this about most of the major features missing from EF Core.

EF Core is a complete re-write from the ground up of Entity Framework. They're attempting to fix some design issues that cropped up in the original Entity Framework, improve performance, and improve the underlying architecture (the APIs are similar, but the "under the hood" layout/design has shifted).

They've been extremely clear that the current release isn't on feature parity to Entity Framework 6, and they've told people to avoid it until it is. If you look at their EF Core TODO list it will come back into EF 6 feature parity eventually and with some new functionality provided by the underlying changes they're making in EF Core.

Honestly your whole post is full is misleading claims, this is just one example. You've started using brand new technology (which is a rewrite) and are complaining because you ignored their very specific warnings about the state of it. Then you justify your own lack of research by making wild outlandish claims about how it is everyone else's fault.

To quote EF Core Team's Roadmap[0]:

> Because EF Core is a new code base, the presence of a feature in Entity Framework 6.x does not mean that the feature is implemented in EF Core.

> We have provided a list of features that we think are important but are not yet implemented. This is by no means an exhaustive list, but calls out some of the important features that are not yet implemented in EF Core.

> The things we think we need before we say EF Core is the recommended version of EF. Until we implement these features EF Core will be a valid option for many applications, especially on platforms such as UWP and .NET Core where EF6.x does not work, but for many applications the lack of these features will make EF6.x a better option. [Big List of missing features]

> There are many features on our backlog and this is by no means an exhaustive list. These features are high priority but we think EF Core would be a compelling release for the vast majority of applications without them [Big List of missing features]

> Our team is currently working on the EF Core 2.0 release. It's early days, so our plans will likely change as the release progresses, but here are the major features we are planning to address in this release. [Big List of missing features]

The truth is that YOU started using a piece of technology they expressly told you not to use and told you why you shouldn't. Then created fictional justifications for why it is their fault you screwed up.

But I welcome you to cite your "[won't implement features] which were deemed 'unused'" claim. Somehow I don't think you will...

[0] https://github.com/aspnet/EntityFramework/wiki/Roadmap

Re:Guide to the CoreCLR Source Code by giancarlostoro on Friday March 24, 2017 @04:54PM (#13952142)
1) I didn't pick .NET Core because I'm not in a leadership position, I'm probably the developer in my job who gets paid the least, and has the lowest of job titles, unless we at some point have an intern.

2) My Team Lead picked .NET Core, we are porting from Silverlight, not from ASP .NET which I have a feeling eventually will stop being included as a project template for Visual Studio as more people swap to ASP .NET Core so if that becomes the case I could see why I wouldn't be asked to develop a project in ASP .NET just to recode it later on down the road.

3) I might of mistaken EF Core not implementing features with ASP .NET Core, they seem to be shifting a lot of things for ASP .NET Core, especially with Identity being a new way of doing things. ASP .NET has always "lost" features along the way, need we remember when it was not even called .NET and was just "ASP"? Not sure why I need citations for that, you could form your own conclusions. I'm just a "Junior" anyway what do I know?