Live data from Hacker News

.NET 8

devblogs.microsoft.com

301–310 of 374 posts

Re: .NET 8

#301
post #265
post #217

Earlier quoted context omitted.

How is Graal better. Half of the Java ecosystem wouldn't work with Graal.

Half of the .Net ecosystem doesn't work with AOT either.

(Corrective upvote from me. Pretty much any use of reflection dooms you, and reflection is very common.)

Re: .NET 8

#302
post #252
post #204

Earlier quoted context omitted.

You might be interested in Orleans: https://learn.microsoft.com/en-us/dotnet/orleans/overview

Orleans is definitely interesting, but I have never looked into it much because it's my understanding that it is a cloud-only solution, in that it requires some Orleans or Azure service. Is that correct?

Further to the other reply you can run it alongside asp.net; one process can be an Orleans node and and an asp.net server.

Re: .NET 8

#303
post #269
post #67

Earlier quoted context omitted.

I was asking about Orleans integration. They are working on it ( https://twitter.com/reubenbond/status/1724463381686686075 ). I think it's a matter of time for Dapr stuff to be integrated. It is after all the first preview. edit: here's more info about Dapr and Aspire https://learn.microsoft.com/en-us/dotnet/aspire/reference/as...

Orleans seems to have stagnated greatly past year or two. Someone raised this issue over a year ago(that only like one person was working on it and seemingly part time) and they swore it was still going to be getting resources and continuing R&D. Fast forward to now and it's only bug and compatibility fixes. A shame cause reminders v2 would have been an amazing addition.

There were a bunch of new features added to Orleans in the past year, including Live Grain Migration, IAsyncEnumerable support, Cosmos DB & Redis providers.

I think workflows (durable async/await) are more useful than Reminders v2 alone (in some sense, workflows are Reminders v2), but an enhanced reminders system is likely part of that, as is the new log-structured storage system. The log structured storage issue discusses this: https://github.com/dotnet/orleans/issues/7691. We've been experimenting with a programming model for workflows and intend to share that more broadly soon. Currently, we are planning for .NET 9, so feedback is welcome (best provided via GitHub rather than here). Aspire will make it easier to build and deploy Orleans apps, which is one of the harder points for people getting started with Orleans currently.

Re: .NET 8

#304
post #264

Super stoked for a few things. List expressions I'm overly excited about. Can't wait to use and of course dictionary expressions will be amazing in the future. EF Core complex types. Also it'll be fantastic when these can be used to model composite keys. The using enhancements. Hopefully I don't end up overusing tuples. If Orleans had secretly been working on reminders v2 it'd be early Christmas.

We should chat more about Reminders v2 - I want to learn more about what you'd like it to provide. Can you comment on the issue (https://github.com/dotnet/orleans/issues/7573)? If you'd like to see some of what is in the works, please message me on Discord and we can chat more about it (https://aka.ms/orleans/discord)

Re: .NET 8

#305
post #48

Earlier quoted context omitted.

I would say Blazor is really very very good now. One of the most awesome things about it is that your skill with it transfers almost directly between a desktop app, web API, or web site. All the code is almost the same.

Blazor is just history repeating itself. This is Web Forms with a shiny coat of paint and the "magic" this time is WebAssembly and a different proprietary web interface that is undebuggable. I've heard this "Microsoft has finally created a completely cross platform UI framework" like twenty times...

It is nothing like Web Forms (I've built dozens of Web Forms and Blazor apps so I know), and WASM is just one delivery vehicle for it. You can also render it server side or locally in-process in a full .net runtime (no WASM needed). The debuggability for the WASM runtime has improved alot as well since .net 7.

Re: .NET 8

#306
post #269

Earlier quoted context omitted.

Orleans seems to have stagnated greatly past year or two. Someone raised this issue over a year ago(that only like one person was working on it and seemingly part time) and they swore it was still going to be getting resources and continuing R&D. Fast forward to now and it's only bug and compatibility fixes. A shame cause reminders v2 would have been an amazing addition.

There were a bunch of new features added to Orleans in the past year, including Live Grain Migration, IAsyncEnumerable support, Cosmos DB & Redis providers. I think workflows (durable async/await) are more useful than Reminders v2 alone (in some sense, workflows are Reminders v2), but an enhanced reminders system is likely part of that, as is the new log-structured storage system. The log structured storage issue dis…

For anyone following along; Reuben is that "one person" lol.

I was being a bit hyperbolic with "only bug fixes" but.. A bit.

Haven't seen anything around workflows but will check it out and the structured storage stuff. Interested in running my own workflow engine on Orleans and reminders v2 looked like the perfect Quartz.Net replacement for my needs.

Thanks for replying; hoping you would. Someone asked about the future of Orleans 8 on GH a couple weeks back but nobody from the project chimed in last I looked. Know how it is with PMs and BAs and other work though.

Re: .NET 8

#307

Earlier quoted context omitted.

Every even release is LTS (including .NET 8 today). New projects should not use Framework at all. It's really not confusing at all.

Yes, but that parent has a point: that new LTS is 3 years of support. Which is not that "long term". We're on .NET 6 now, because it's LTS. But as of today, it has 1 more year of support (1) .NET Framework 4.8 as an OS component, is actually supported for longer - no end date given (2). Note that .NET Framework 4.6.2 is supported until Jan 12, 2027 - that's longer than .NET 6 and 7, and maybe 8 1) https://learn.micro…

[deleted]

Re: .NET 8

#308

Earlier quoted context omitted.

It depends... .NET 6 was already capable of most things you are looking for, but there are some limitations. I personally think it is a really versatile language and if you know it, you can get the most things done somehow. I wrote a little cross platform C# command line tool called `tone`[1] for tagging audio files and it compiles via github actions for windows(x64), linux(x64,arm64,arm6,arm7), macOS (x64, arm64) as…

I would target the main desktop, and maybe raspberry and android but it's very far from my horizon and not a criteria. I was thinking that flutter is a dart library/framework ? How is it compatible with C# ?

Flutter is written in Dart, nothing to do with C#, but a cross platform UI library.

I think Flutter has a lot of advantages over the C# UI libraries and is worth learning when planning a Cross Platform UI or App.

It's possible with C#, but you have to work around a lot of shenannigans depending on the use case.

Command line apps are totally ok with C#...

Re: .NET 8

#309

I'd love to hear from some .NET fanatics, how would you convince someone to use that ecosystem over another?

Great standard library - really good API design.

Very strong tooling. Compiler APIs, debuggers, very strong IDEs (Visual Studio with free extensions and Rider)

Re: .NET 8

#310
post #189

Earlier quoted context omitted.

Any tips or tutorials for a PHP dev who wants to pick .NET up after a couple decades of not using it? I looked at the project templates in Visual Studio 2022 just for web apps and the options made my head spin. My wife has worked QA for a number of .NET teams and it just seems like something I should at least keep my thumb on, but I've had nothing but frustration with it so far, even just trying to figure out what te…

PeachPie may be worth a look. It’s a php to .net compiler. https://www.peachpie.io/

Oh dang is that really still around? I remember playing with it like 15 years ago. It's been about as long since I've done .Net
Post reply on HN