Live data from Hacker News

.NET 6 is now in Ubuntu 22.04

devblogs.microsoft.com

261–270 of 351 posts

Re: .NET 6 is now in Ubuntu 22.04

#261
post #193

Earlier quoted context omitted.

Amen to that. We had a high-level engineer who sincerely believed that Rails and Postgres were the right tools for Everything. Consequently he shipped a mission-critical query engine whose API is - you guessed it - just ActiveRecord! It's great if your users are disciplined and experienced Rails engineers who understand how the system works, but we don't live in fantasy land and a year later, we are so very constrain…

> It's great if your users are disciplined and experienced Rails engineers who understand how the system works. I'm continuously shocked at how much bad ActiveRecord code there is lying around given that it's so easy to just look at the SQL it generates and be like "yeah this looks reasonable". WHY SPONGEBOB WHY!?! Why do you pass around your relations making all of ActiveRecord part of your external API? It's so har…

> given that it's so easy to just look at the SQL it generates and be like "yeah this looks reasonable".

This makes the assumption that the viewer knows what reasonable SQL looks like in the first place.

Re: .NET 6 is now in Ubuntu 22.04

#263

Earlier quoted context omitted.

I was talking with a Microsoft employee that works in azure. Something like 60% of their VMs are Linux.

How much of that 60% is running .NET apps, though? Not everyone who uses Azure is a "Microsoft shop", in terms of programming tech stack. Plenty of people use Azure as a cross-cloud redundancy play, or because they do business with Amazon competitors that refuse to have their data on AWS.

My understanding is that a growing percentage of that is .NET. Even "big corporate" realizes .NET Linux deployments on Azure are cheaper and are trying to cost-cut/cost-save. There's still a small feature parity difference in Azure between Linux and Windows servers, primarily in my experience in "no touch" Application Insights telemetry/logging for application state (and user) monitoring as a major one. If that feature gap closed I expect that 40% to drop rapidly in Azure simply for cost cutting reasons. Anecdotally, I've been feeling internal pressure in my company to move .NET deployments to Linux servers for cost savings and we've done some initial trial balloons on the engineering effort for working around that feature gap.

Re: .NET 6 is now in Ubuntu 22.04

#264

Earlier quoted context omitted.

And ASP.Net Core is an insanely fast web framework. It beats every other major framework written in a managed language by a mile. There's no way your backend will outgrow it if your workload isn't RAM-limited.

> And ASP.Net Core is an insanely fast web framework. It beats every other major framework written in a managed language by a mile* * In synthetic benchmarks

It produces best performance OOB with minimal API way of registering your endpoints. Which is expected to be the default way for many newcomers to the framework. On 5800X, hello world with some logic and cached JSON output (not raw bytes but actual response object so no cheating) produces over 4GB/sec when benchmarked over localhost on .NET 7.

Host: https://gist.github.com/neon-sunset/767cb0693c3ff222f78b236c...

HTTP Benchmark: https://gist.github.com/neon-sunset/d936e54bfec1031d1628c338...

Re: .NET 6 is now in Ubuntu 22.04

#265
post #210
post #14

Young me would’ve lost a good bottle of Scotch over this headline - especially coming straight from Microsoft. The times sure have changed

You are a few years late :) From the .NET Core 1.0 announcement made in June 2016: https://devblogs.microsoft.com/dotnet/announcing-net-core-1-... : > Today we are at the Red Hat DevNation conference showing the release and our partnership with Red Hat. Watch the live stream via Channel 9 where Scott Hanselman will demonstrate .NET Core 1.0. .NET Core is now available on Red Hat Enterprise Linux and OpenShift via cer…

I wasn’t young in 2016 either :”)

Re: .NET 6 is now in Ubuntu 22.04

#266
post #114

Earlier quoted context omitted.

Your rubicon is about 5 years out of date. VS Code and Rider are excellent tooling for .Net on or off Windows OS.

This is not quite true on an M1 Mac. The VS Code C# extension only supports .NET Core, and the latest and deprecated release 3.1 has no ARM build. .NET 6 does, but is somehow unsupported. To me, it's clear Microsoft wants to force people to use VisualStudio over VSCode. Likely not an issue for a .NET shop, but it's yet more shenanigans by Microsoft

Er, what? The VS Code extension gets updated all the time, it was updated in tandem with .NET through to .NET 6 and is currently being developed for .NET 7.

https://marketplace.visualstudio.com/items?itemName=ms-dotne...

Works with Linux x64, Alpine Linux 64 bit, macOS Intel, Linux ARM64, macOS Apple Silicon, Alpine Linux ARM64, Windows ARM, Windows ia32, Windows x64

.NET 6 is the first where they fully supported M1 Macs, maybe you last looked before .NET 6 released? Either way, VS Code is definitely a supported way to work with .NET.

Re: .NET 6 is now in Ubuntu 22.04

#267
post #93

Earlier quoted context omitted.

Any interest in doing a short comparison? As in, why are you in no rush to switch back to rails? Any features you miss from rails? (edit: register beat me to it. I'll leave my post as a +1)

For the most part, I think there is a lot of feature parity between the .NET and Ruby on Rails frameworks when it comes to developer tooling. As I grow older I guess I am growing more fond of statically typed languages. It's easier for my decaying/distracted brain to reason about. There is less mental overhead I suppose [might be a good blog post?] They both have a good database migration system and various generator…

> As I grow older I guess I am growing more fond of statically typed languages. It's easier for my decaying/distracted brain to reason about. There is less mental overhead I suppose

I'm not even sure it's an "older" thing -- it's nice just to have less mental overhead.

The things that used to turn me off from static languages (eg: most of the benefits dynamic languages have) have disappeared. Generics allows creation of some powerful re-usable code (eg, List or RunningAverage). Tools to easily convert any random JSON or XML to concrete classes make it a simple extra step to consume any API.

The benefits are massive. Code-completion just frees your brain from having to remember or deeply think about what's available. Type-safety giving compile-time (or even coding-time) errors prevents so many stupid problems that, in a dynamic language, take a runtime check to find.

Re: .NET 6 is now in Ubuntu 22.04

#268
post #195

Earlier quoted context omitted.

> Asp.Net is a very mature framework for Web APIs and MVC applications. *ASP.NET Core

True, the non-Core versions really aren’t worth considering for a new dev entering the ecosystem, and MS has made it clear that .NET Core is .NET going forward.

ASP.NET is rumored to drop the "Core" name somewhere in major version 7/8/9, just as .NET dropped "Core" in .NET 5, which is a higher version number than both sides of the fork. There was briefly an ASP.NET 6 (technically, the baroque "ASP.NET 5 MVC 6"). There's never yet been a version higher than that. I think part of the hold up there were some builds of the old Entity Framework made to version 8 or 9, and ASP.NET is not likely to drop "Core" until EF Core is able to drop "Core"?

Re: .NET 6 is now in Ubuntu 22.04

#269
post #260

Earlier quoted context omitted.

Make us two. I didn't get the memo which states that we need to unconditionally trust Microsoft. We still have copilot case in front of us.

It's funny you say this because nobody in this thread is actually saying: > unconditionally trust Microsoft But the poster I was responding to was pretty clearly saying that we should: > unconditionally dis trust Microsoft

I'm also saying the same thing. We should not trust Microsoft, ever. However with your wording, you leave the impression that you don't agree with your parent (which is perfectly OK in my book), hence I'm not agreeing with you, but your parent.

Re: .NET 6 is now in Ubuntu 22.04

#270

Earlier quoted context omitted.

For the most part, I think there is a lot of feature parity between the .NET and Ruby on Rails frameworks when it comes to developer tooling. As I grow older I guess I am growing more fond of statically typed languages. It's easier for my decaying/distracted brain to reason about. There is less mental overhead I suppose [might be a good blog post?] They both have a good database migration system and various generator…

> with Rails I have to introduce React Do you know about Hotwire? It's Rail's html over the wire solution and seems comparable to Blazor.

Hotwire I believe wasn't introduced yet but was close to release when I left the Rails dev community.
Post reply on HN