I think they prepare already a while the shift to .NET Core as the primary .NET platform (also on Windows). - .NET Core will soon run all three UI technologies of modern Windows UWP, WinForms and WPF (.NET Core 3). - The Windows Compatability Pack for .NET Core shifted some popular .NET Framework libraries to .NET Core (some only on Windows). There are one thing, Microsoft is really bad with: Telling the world that s…
We live in a world where Cobol mainframes are still around and in use. Microsoft can not depreciate ten year old technologies when the vast majority of their clientele in this sector are enterprises.
.NET Standard 2.1
91–100 of 124 posts
Re: .NET Standard 2.1
#92Suggested naming standard: - .Net API Specification - (now known as .Net Standard) - .Net Windows - (now known as .Net Framework) - .Net Cross Platform - (now known as .Net Core)
There’s already universal windows platform, which is basically windows 10 only.
Re: .NET Standard 2.1
#93I think they prepare already a while the shift to .NET Core as the primary .NET platform (also on Windows). - .NET Core will soon run all three UI technologies of modern Windows UWP, WinForms and WPF (.NET Core 3). - The Windows Compatability Pack for .NET Core shifted some popular .NET Framework libraries to .NET Core (some only on Windows). There are one thing, Microsoft is really bad with: Telling the world that s…
> Microsoft is really bad with: Telling the world that something is deprecated. There is a set of technologies in the .NET Framework which have no future: AppDomains, WCF, Code Access Security, Workflow Foundation, Cardspace, ... (just to name a few). There's no reason to deprecate a mature product if there's need for it, it has sufficient test coverage, and there's low/no maintenance. There is however a risk involve…
Re: .NET Standard 2.1
#94Earlier quoted context omitted.
> The "desktop app packs" for WPF and WinForms WinForms work quite nice on Linux with Mono. Won't they cooperate?
I think Mono Winforms is a total rewrite of the Windows Winforms. There is no shared code.
Re: .NET Standard 2.1
#95Earlier quoted context omitted.
Well, both implementations do have a strict which has the length as last member. Is there any special reason for it? Something like struct-layout optimization?
I don't think so. My guess would be that it is because a pointer to the struct can be cast to a pointer to T. I /think/ that is defined behaviour.
Re: .NET Standard 2.1
#96Earlier quoted context omitted.
Well, both implementations do have a strict which has the length as last member. Is there any special reason for it? Something like struct-layout optimization?
You can re-interpret the struct to a pointer (length would simply be truncated). Apart from that there wouldn't be any benefit: the pointer and length would be aligned no matter which position they take (on x86 and amd64 at the very least).
Wrong. It will be pointer-to-pointer.
Reinterpretation (to treat struct as a pointer to C string) is only possible if you have something like this:
struct BSTR {
size_t length;
WCHAR chars[N]; // N is length + 1
};
and you return pointer to chars[0]. This is so called Basic string - BSTR is a WCHAR* pointer to memory location prepended by string length field.Re: .NET Standard 2.1
#97I thought the Java framework nomenclature was bad, but .Net is way more confusing.
JRE, JDK, Java EE, Java SE, Beans, Enterprise Beans, Managed Beans, JEE APIs vs Implementations etc, containers, app containers, app servers.
'Enterprise' has to be the worst prefix/name ever for an API or technology.
It is a tough contest.
Re: .NET Standard 2.1
#98Earlier quoted context omitted.
> The "desktop app packs" for WPF and WinForms WinForms work quite nice on Linux with Mono. Won't they cooperate?
I think Mono Winforms is a total rewrite of the Windows Winforms. There is no shared code.
Re: .NET Standard 2.1
#99Earlier quoted context omitted.
I think Mono Winforms is a total rewrite of the Windows Winforms. There is no shared code.
Sure it is but why not use that code to let .Net Core support WinForms on Linux the way it is going to support it on Windows?
Re: .NET Standard 2.1
#100So they added Span as a big thing ... > (Span is) at the heart of most performance-related improvements in .NET Core 2.1. Since it allows managing buffers in a more efficient way, it can help in reducing allocations and copying. We consider Span to be a very fundamental type as it requires runtime and compiler support in order to be fully leveraged. Small struct that is declared as public readonly ref struct Span { p…
Well, to be fair Modula-3 and Eiffel did it first. And I bet Sciter is younger than any of them.