Live data from Hacker News

Announcing .NET Core 1.0

blogs.msdn.microsoft.com

161–170 of 327 posts

Re: Announcing .NET Core 1.0

#162

If I'm an experienced Python developer who develops a lot of websites and APIs using Django or Flask and SQLAlchemy, is there any reason to try this stuff? C# is a great language, but what about the libraries? What replaces Flask? What replaces SQLAlchemy? How do I deploy? Looking for some practical reasons to invest time on this if Windows development is not in my roadmap.

Well, besides libraries, performance.

.NET supports proper multithreading (no GIL) and it is also much faster than CPython.

If IronPython gets ported to .NET Core (maybe it already has, I don't know), then you'd get those benefits for free.

Re: Announcing .NET Core 1.0

#163

A few years ago, I wouldn't have thought I would write this, but it looks like Microsoft is definitely changing, for the best! Two questions: - Does .NET Core offers something similar to Go goroutines or Erlang "lightweight" processes? - And something similar to gofmt?

1. I can't say for sure. Maybe this? http://getakka.net/

2. There's https://msdn.microsoft.com/en-us/library/ff926074.aspx + your favorite IDE which can automatically reformat the code. Visual Studio can do this. If you want to enforce things, there's: https://stylecop.codeplex.com/

Re: Announcing .NET Core 1.0

#164

Earlier quoted context omitted.

I could be wrong, but I think this is what you are looking for. http://www.hanselman.com/blog/AnUpdateOnASPNETCore10RC2.aspx

Thanks, that sort of helps. It's still a little confusing though. Branding and naming isn't something Microsoft is awesome at.

What's your current stack? Maybe we can compare and contrast the two stacks.

Re: Announcing .NET Core 1.0

#165
post #97

Earlier quoted context omitted.

Like when they removed Macros from Visual Studio because according to telemetry only 1% of users used them.

I always suspected that there was probably significant overlap between users of macros and users who opted out of telemetry. Lesson learned: leaving "yes" checked from now on.

Big Brother has trained you well. ;-)

Re: Announcing .NET Core 1.0

#166

A few years ago, I wouldn't have thought I would write this, but it looks like Microsoft is definitely changing, for the best! Two questions: - Does .NET Core offers something similar to Go goroutines or Erlang "lightweight" processes? - And something similar to gofmt?

I don't know of any green threads in .NET -- at least, not built in. However, .NET does have a built-in thread pooling / task execution service. You generally interface via `System.Threading.Tasks.Task`[0], which has static `Run` functions, or use the `Factory` property to get the underlying `TaskFactory` for more fun. Since the executors are pooled, the creation costs will be amortized over your program's lifetime.

Then there's `async`/`await`[1], which is built on top of tasks.

[0] https://msdn.microsoft.com/en-us/library/system.threading.ta...

[1] https://msdn.microsoft.com/en-us/library/mt674882.aspx

Re: Announcing .NET Core 1.0

#167
post #49

Earlier quoted context omitted.

The general idea of .NET as a platform is easy to understand. The naming of .NET Core, .NET Framework, ASP.NET, etc. and the difference between them is not.

.NET Framework = the whole shebang, the full runtime including Windows-only bits. .NET Core = portable subset of .NET Framework. Therefore not entirely compatible with .NET Framework. ASP.NET Core = portable rewrite of ASP.NET. AFAIK not fully compatible with previous versions.

iirc asp.net core does not contain the web framework part, just the server stuff

Re: Announcing .NET Core 1.0

#168
post #162

If I'm an experienced Python developer who develops a lot of websites and APIs using Django or Flask and SQLAlchemy, is there any reason to try this stuff? C# is a great language, but what about the libraries? What replaces Flask? What replaces SQLAlchemy? How do I deploy? Looking for some practical reasons to invest time on this if Windows development is not in my roadmap.

Well, besides libraries, performance. .NET supports proper multithreading (no GIL) and it is also much faster than CPython. If IronPython gets ported to .NET Core (maybe it already has, I don't know), then you'd get those benefits for free.

In the public repos, there no substantial new work taking place with IronPython.

Re: Announcing .NET Core 1.0

#169
post #67

FYI, from the announcement. Probably the most important part at the end, italicized by me. Also note (elsewhere) that licenses are MIT and Apache2: .NET Core Tools Telemetry The .NET Core tools include a telemetry feature so that we can collect usage information about the .NET Core Tools. It’s important that we understand how the tools are being used so that we can improve them. Part of the reason the tools are in Pr…

Microsoft is looking to do more data-driven design; this is the reason for all the telemetry in Windows as well. Raymond Chen pointed out an example where a button was removed File Explorer (prime real-estate) because the telemetry showed that hardly anyone ever pressed it. It's unfortunate they are so tone-deaf about the PR implications in Windows.

> a button was removed from File Explorer

Would that be the "Go up to the parent directory" button that was removed in 7 by any chance?

Re: Announcing .NET Core 1.0

#170

I don't see mention of FreeBSD anywhere in the .NET Core 1.0 announcements -- has official support for FreeBSD dropped or been postponed?

* FreeBSD is listed on CoreCLR GitHub repo (https://github.com/dotnet/coreclr). See current build status here: http://dotnet-ci.cloudapp.net/job/dotnet_coreclr/job/master/...

* Also, see doc here (last updated in feb though): https://github.com/dotnet/coreclr/blob/master/Documentation/...

* Laslty, FreeBSD arrived on azure last week, so it would be quite surprising if support was dropped.

Post reply on HN