Live data from Hacker News

.NET 6 is now in Ubuntu 22.04

devblogs.microsoft.com

271–280 of 351 posts

Re: .NET 6 is now in Ubuntu 22.04

#271
post #122

Earlier quoted context omitted.

You can get most of the new language features to work with .Net Framework by overriding the LanguageVersion in the build. I did this to get nullable type annotations and pattern matching to work when I inherited a .Net Disaster. There are a few that require compiler interop which don't work, like using new syntax on records for specifying the fields (e.g., "record A(int a, int b)").

Not all, some rely on the runtime, like static interface methods. Records can be enabled like this [1] [1] https://github.com/louthy/language-ext/blob/main/LanguageExt...

I found that, but I didn't want to introduce more complexity into the build by requiring those same stubs be defined for just a slight advantage.

Re: .NET 6 is now in Ubuntu 22.04

#272
As a recruiter, it is clear that the most successful languages still growing in popularity in 2022 are:

C#

JavaScript/TypeScript

Python

Edit: golang is small in terms usage but is on the way up definitely

All the rest are in decline or remaining at a constant level of acceptance.

So if hiring / recruiting is important, use C# or TypeScript or Python.

If you want to cause yourself deep hiring/recruiting pain, build your systems with Ruby or use lesser known frameworks and languages such as Erlang/Elixir.

C# seems like an excellent choice for Linux based development - it's mature, there's a vast talent pool, theres vast knowledge and community resource for getting problems and questions answered.

Re: .NET 6 is now in Ubuntu 22.04

#273
post #129

Earlier quoted context omitted.

I just jumped on the .NET Core gravy train after 6+ years of Ruby on Rails development. I feel so productive and confident working with .NET. Ill be riding this rollercoaster with you for a while!

If you're on that .NET train check this out as well, keep it on the DL though https://fsharpforfunandprofit.com/why-use-fsharp/

My friend works at an F# consultancy - from what I’ve heard it’s definitely growing in popularity! I used it for some windows profiling in 2020 which was pretty cool too, albeit only really a single script.

Re: .NET 6 is now in Ubuntu 22.04

#274
post #243

Earlier quoted context omitted.

MIT does not have a patent-grant clause though. There is a good reason projects like the Rust Language are dual-licensed under MIT AND Apache2 because only the later protects you from software patent claims. So I wouldn't be so sure about MS not having any legal means to shut down forks. Even if they might not win in court, as long as they can make up something up, they still have enough legal war money to effectivel…

Microsoft publishes a patent promise here, though: https://github.com/dotnet/runtime/blob/main/PATENTS.TXT

"We promise not to sue you" is much weaker than a proper patent-grant.

That promise seems only to apply if you use the .NET runtime. If you used a forked project, it might not apply.

See also: https://endsoftwarepatents.org/2014/11/ms-net/

Re: .NET 6 is now in Ubuntu 22.04

#275

Earlier quoted context omitted.

FWIW, I'd approach other FAANG with the same "get ready to be betrayed" attitude I have to MS as well. Try to entrust as little as possible into their hands, but still do what's necessary to your business (i.e. don't be fanatical about it).

Alright, then let's hear: What is your go to stack?

Not sure it matters, but my go-to is Python/Django/nginx/Ubuntu Server (VMs). I like open things with a track record (no chancing the latest shiny thing) that have proven to work for small-to-mid scale and I can count on in terms of securing talent. None of that "3 years of experience" for a framework that is 1 year old.

I also have no issues depending on corporate things that I don't like, for example GitHub, as long as they can be replaced with minimal loss. I'd git remote set-url origin and be done with it.

Re: .NET 6 is now in Ubuntu 22.04

#276

As a recruiter, it is clear that the most successful languages still growing in popularity in 2022 are: C# JavaScript/TypeScript Python Edit: golang is small in terms usage but is on the way up definitely All the rest are in decline or remaining at a constant level of acceptance. So if hiring / recruiting is important, use C# or TypeScript or Python. If you want to cause yourself deep hiring/recruiting pain, build yo…

I’m curious, why not Java? I’m sure Java and JVM languages like Kotlin are quite popular in the industry.

Re: .NET 6 is now in Ubuntu 22.04

#277
post #252
post #198

Earlier quoted context omitted.

Yes, telemetry collection is still opt-out. I just tried it.

Are you sure about that? Can you share the steps I can run to reproduce that? I am looking at the sources at https://packages.ubuntu.com/source/jammy-updates/dotnet6 and (as far as I can tell) they are applying a patch called 1500sdk-telemetry-optout.patch (originally from Fedora https://src.fedoraproject.org/rpms/dotnet3.1/blob/f36/f/cli-... ) that is supposed to make telemetry opt-in. There's a better fix landing u…

Repro steps:

  sudo apt install dotnet6
- Observe the “telemetry enabled” message.

Re: .NET 6 is now in Ubuntu 22.04

#278

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

Would you call TechEmpower benchmarks synthetic? I think they're a pretty useful data source and indeed support the claim that the performance of .NET is rather good.

https://www.techempower.com/benchmarks/#section=data-r21

Personally I think that some of their tests are pretty close to what web applications might actually do a lot of the time (fetching the data, processing it, saving it), for example, see here: https://github.com/TechEmpower/FrameworkBenchmarks/tree/mast...

Sure, sometimes the code you see in benchmarks can be a bit more clever than the code you'd see normally, but for the most part TechEmpower seems close enough to be a vague indicator towards what frameworks/languages/stacks have decent performance.

It also helps you get a feel for how big the differences are between any two given platforms, like using something like Java + Spring and Python + Django, which may or may not be relevant in actual business conditions, since you might also want to iterate quickly.

Re: .NET 6 is now in Ubuntu 22.04

#279

As a recruiter, it is clear that the most successful languages still growing in popularity in 2022 are: C# JavaScript/TypeScript Python Edit: golang is small in terms usage but is on the way up definitely All the rest are in decline or remaining at a constant level of acceptance. So if hiring / recruiting is important, use C# or TypeScript or Python. If you want to cause yourself deep hiring/recruiting pain, build yo…

I’m curious, why not Java? I’m sure Java and JVM languages like Kotlin are quite popular in the industry.

It's just my opinion that Java is waning in popularity.

It will always be big and always be around, but it's losing popularity.

Re: .NET 6 is now in Ubuntu 22.04

#280
post #89

Earlier quoted context omitted.

I knew there'd be at least one of you guys in this thread.

There always is. 1) Don't trust Go because of Google 2) Don't trust C#,F# because M$ (yes with dollar sign) 3) Don't trust Java because Oracle 4) You gotta use XXX tech, which has no jobs in your area Yada Yada... yet is probably using VSCode or GitHub. Just ignore it.

[deleted]
Post reply on HN