Live data from Hacker News

.NET MAUI: .NET Multi-Platform App UI

github.com

241–250 of 260 posts

Re: .NET MAUI: .NET Multi-Platform App UI

#241
post #154

Earlier quoted context omitted.

You struggle to imagine because you went elitist. "University level strong in CS", I said college. A lot of colleges teach Visual Basic. No, Ivy League schools might not, but a lot of colleges do. Heck, my community college taught a class for kids on it in the late 90s (my intro to programming) and still teaches college students a VB track today.

I have never heard anyone from any school in any country mention they used VB in school. Everyone I know who used VB, including me, learned it outside of school (either as a hobby or at work). I don't think VB in colleges was ever as widespread as you claim.

It is a thing for Excel courses. My sister was an accountant a few years ago and had to learn VB to write macros (because businesses are still stuck in the 80s)

Re: .NET MAUI: .NET Multi-Platform App UI

#242
post #228

Earlier quoted context omitted.

And how does OOP result in slower code?

indirections, abstraction cost, vtables, cache misses, slow datastructures etc etc etc you might not see it on your i9 with 64gb of memory but your mom's android phone will struggle

Objective C’s whole thing is based on calls to objc_msgSend instead of directly to the intended function. And yet, the first iPhone (running at 400 MHz) handled it fine.

Re: .NET MAUI: .NET Multi-Platform App UI

#244
post #229

Earlier quoted context omitted.

> stuff like Xamarin Forms and abandoning it half-way through Eh? I've worked on projects using Xamarin Forms, and they turned out just fine. Yes, it would be nice if there were a few more controls in the main Xamarin Forms library, but I don't see a problem with the community picking up some of the slack (which they have).

"I've worked on projects using Xamarin Forms, and they turned out just fine." Same here, but it is my experience with Xamarin that has led me to conclude that it's the wrong choice almost 100% of the time. Sure, it can be made to work but at the end of the day you're coercing C# to do something it was not designed to do. For mobile I am convinced that PWA/hybrid mobile is the correct choice 95% of the time with the r…

> at the end of the day you're coercing C# to do something it was not designed to do

Hmm, not sure I can agree with this statement, as I don't see what would make C# itself unsuitable here.

> For mobile I am convinced that PWA/hybrid mobile is the correct choice 95% of the time

But this I fully agree with :)

While the Xamarin Forms projects I've worked on turned out well, I feel like the whole experience of developing, experimenting, building, debugging and testing would all have been so much easier with a PWA. A PWA would also make it much easier to build what your UI designer really wants, instead of having to compromise all the time with what is readily available - having CSS at your fingertips makes all the difference.

Re: .NET MAUI: .NET Multi-Platform App UI

#245

Earlier quoted context omitted.

I'm not well versed with PWA topics but as long as Apple doesn't curve around this, we can't expect a wide adaptation of it. Don't get me wrong, PWA can be the future but not without the whole Apple ecosystem missing.

You can use pwabuilder and ship a "native" app to Apple Appstore.

Not anymore. And Apple has been removing many PWA and "app generator" style apps from App Store.

Re: .NET MAUI: .NET Multi-Platform App UI

#246
post #185

Earlier quoted context omitted.

I feel the same way. I’ll bite once I see Microsoft release Outlook built with this.

New Outlook is being written with a web UI, using WebView2 on Windows. MAUI lets you do something similar (embed a web view, do your UI in that with Blazor or any other web tech).

Do you have a source for this? I'd love to see them move in this direction based on the success they've had with VSCode.

Edit: Nevermind, found one myself:

https://www.youtube.com/watch?v=-ri7TmPeqLc

Re: .NET MAUI: .NET Multi-Platform App UI

#247

Earlier quoted context omitted.

New Outlook is being written with a web UI, using WebView2 on Windows. MAUI lets you do something similar (embed a web view, do your UI in that with Blazor or any other web tech).

Do you have a source for this? I'd love to see them move in this direction based on the success they've had with VSCode. Edit: Nevermind, found one myself: https://www.youtube.com/watch?v=-ri7TmPeqLc

Some high level info: https://www.onmsft.com/news/heres-an-early-first-look-at-mic...

An internal binary leaked a while ago, someone confirmed the WebView2 aspect: https://twitter.com/teroalhonen/status/1346196838840463360

Re: .NET MAUI: .NET Multi-Platform App UI

#248
post #160

Earlier quoted context omitted.

> The amount of energy Microsoft is pouring into these front-end efforts is pretty incredible. After winforms, silverlight, wpf, webforms and WinUI I don't want energy, I want to see them focus for more than 5 minutes. The only stable UI tech from MS with any long term support has been Win32 that came out 25 years ago. I predict blazor will be quietly dropped (they won't actually admit it for 5 years), just like the…

Other than Silverlight, the rest are still available today. Microsoft is unmatched in backwards compatibility. How are you being forced to rewrite your software?

.net core broke compatibility with many more, c#/.net is now decoupled from MS legendary backwards compatibility.

Then you've got things like hiring concerns, $nextJob will want people with $nextTech on their resume, it doesn't matter if something is still technically supported because hiring people willing to work on dead platforms is a tough ask, moreso when the tech is a couple of generations old. This churn isn't happening in a vacuum.

Re: .NET MAUI: .NET Multi-Platform App UI

#250

How likely will it be that F# is supported out of the box? I understand that this is a push for mobile but hopefully a linux support will be considered. https://github.com/jsuarezruiz/forms-gtk-progress/issues/31

F# will be supported out of the box insofar as it's always able to call into any .NET API. For a more functional-friendly set of APIs, I've no doubt that the community will need about 5 minutes to put together a solid MAUI back-end for Elmish.

Will be easier than now.

For who are interested take a look on https://fsprojects.github.io/Fabulous/Fabulous.XamarinForms

Post reply on HN