DEV Community

Discussion on: Visual Studio 2022 is here✅ (5 features that you will love)

 
stojakovic99 profile image
Nikola Stojaković • Edited

Exactly.

And there are bunch of other cross-platform options for desktop development. You don't even need to use C++ - you can use Rust or Java or some other language depending on the needs of your project. Tauri is a good Rust solution which doesn't use Chrome instances like Electron but webviews. You can use HTML, CSS and JS and do performance intensive parts in Rust.

Thread Thread
 
jwp profile image
John Peters • Edited

I've done XAML since release 1.0 that's around 20 years now. I also worked front-end for 10 years. Apart from the fact that Javascript dominates in a major way now, and that Node is winning (as a direct competitor to .net), and that node can run multiple threads, and that the Chrome V8 engine killed all competitors, and that V8 is in node, and isomorphic design is rampant, and that Microsoft has only TypeScript which Javascript people hate.

Go ahead, let the XAML Love bite you. In the meantime, I will forgo Microsoft's throw adopters under the bus syndrome until I see something from them approaching Npm. That will never happen as bodies in motion stay in motion. Bodies at rest require a push to get going. But when NPM is already light years ahead there will not be an equal.

I used the Electron inspired Visual Studio Code for 7 years. It is lightning fast and acts just like a desktop application.

Thread Thread
 
jwp profile image
John Peters

Java desktop is worse than Windows forms.

Thread Thread
 
stojakovic99 profile image
Nikola Stojaković

and that node can run multiple threads

What do you mean by this? Yes, there are thread workers, but it's not the same as having "pure" multi-threaded application.

and that Microsoft has only TypeScript which Javascript people hate.

Yes, it's hated so much by the JS community that pretty much all popular JS libraries adopted it (and it has great adoption among JS community overall).

But when NPM is already light years ahead there will not be an equal.

NPM is not light years ahead, and I say this as someone who works as JS developer on the daily basis. It's good but nowhere near great. There are far too many packages where authors didn't put much thought into design, there are no agreed standards for many things and it's easy for dependencies to screw the project.

Compare that to Cargo which is light years ahead of pretty much every package manager out there.

I used the Electron inspired Visual Studio Code for 7 years. It is lightning fast and acts just like a desktop application.

Which, surprise, has been designed by Microsoft and is written in TypeScript. Also, Microsoft invested heavily into V8 to make VSC fast. Go run five Electron apps at once and see how performant that is. It's like running five Chrome instances. That's definitely not the way to go.

Thread Thread
 
jwp profile image
John Peters • Edited

Read up on the Node cluster module and nodeaffinty. Full support for multicore cpus.
Node matches dotnet async patterns.

Thread Thread
 
jwp profile image
John Peters

TypeScript is way better than Javascript. It MSFTs only real universal contribution to the Web world.

Thread Thread
 
jwp profile image
John Peters

Compare NPM to NUGET and we find that nuget is a minnow compared to the whale NPM

NUGET is a wimp. In every way.

Thread Thread
 
jwp profile image
John Peters

When you say Electron is non performant what links do you have supporting that?

Thread Thread
 
jwp profile image
John Peters

I can tell you are still hoodwinked into dotnet is better than chewing gum feeling. That will change once MSFT throws you under the bus like they did us their loyal adopters over the past 20 years.

Thread Thread
 
aheisleycook profile image
privatecloudev

i droppped dotnet for php