News for hackers. Stuff that matters.
Re:PyScript: An open source platform for Python in the browser by giancarlostoro on Friday August 16, 2024 @11:42AM (#41267364)
Honestly, WebAssembly with C#'s Blazor is the best development experience I've ever had. I can fully debug the front-end and back-end within Visual Studio.
Re:PyScript: An open source platform for Python in the browser by maleldil on Friday August 16, 2024 @12:36PM (#41267914)
But then you have to use Visual Studio.
Re:PyScript: An open source platform for Python in the browser by camdenreslink on Friday August 16, 2024 @12:57PM (#41268156)
Visual Studio is really good if you are doing C# development on Windows.
Re:PyScript: An open source platform for Python in the browser by giancarlostoro on Friday August 16, 2024 @01:26PM (#41268411)
MonoDevelop was also really nice. So much so, it looks like they copied it into Visual Studio for Mac???[0]

In any regard, C# has some of the richest tooling I've seen for any programming language, I do wish Microsoft would invest even marginally into MonoDevelop again.

[0]: https://www.monodevelop.com/

Re:PyScript: An open source platform for Python in the browser by neonsunset on Friday August 16, 2024 @02:13PM (#41268842)
VS4Mac is MonoDevelop. Well, it was - VS4Mac is dead now as it has been stagnating, and at the end of its life was likely more harmful to .NET adoption by developers using macOS.

Its niche is now replaced by VS Code, particularly after base C# extension switched to Roslyn LSP from Omnisharp, and, of course, Rider which has been a strong cross-platform offering for a long time.

With that said, I heard only positive things about MonoDevelop back in the day and my impression from the feedback is that it was something its authors really put care into. I suppose it is part of history now.

On Blazor - both Rider and VS Code support it. Contrary to the belief of slowly but surely diminishing group of developers that think .NET is still stuck in Windows land, there is nothing that ties you to Windows here.

Re:PyScript: An open source platform for Python in the browser by pjmlp on Friday August 16, 2024 @04:56PM (#41270339)
Not really.

The original VS4Mac was Mono Develop.

Afterwards the team started to share code between Visual Studio and VS4Mac, written in .NET Standard libraries, until they started the full rewrite, using .NET Core proper with Cocoa bindings, as the team did not consider MAUI with Catalyst mature enough for the rewrite.

Only to have the project cancelled and replaced by our Electron shell friend, after they reached the 1.0 of the rewrite efforts.

Which still doesn't have the graphical tooling and storyboards integration from VS4Mac.

Most folks are rather adopting Rider.

Re:PyScript: An open source platform for Python in the browser by giancarlostoro on Tuesday August 20, 2024 @08:47AM (#41299581)
> Afterwards the team started to share code between Visual Studio and VS4Mac, written in .NET Standard libraries, until they started the full rewrite, using .NET Core proper with Cocoa bindings, as the team did not consider MAUI with Catalyst mature enough for the rewrite.

Do you have a source for this? I really love these historical dev tidbits. Would love to read some of the talks on it.

My understanding was that ultimately they used C++ code from the original VS itself for the new VS4Mac eventually.

Re:PyScript: An open source platform for Python in the browser by giancarlostoro on Friday August 16, 2024 @01:24PM (#41268400)
One of the best IDE's I've ever used. JetBrains IDE's come close, but Visual Studio is a gem.
Re:PyScript: An open source platform for Python in the browser by noworriesnate on Friday August 16, 2024 @01:56PM (#41268684)
Visual Studio is nice but I vastly prefer Rider, even on Windows. It feels bit snappier, especially when you're comparing Visual Studio + Resharper versus Rider. TBH this is probably a matter of what is familiar though.
Re:PyScript: An open source platform for Python in the browser by giancarlostoro on Friday August 16, 2024 @02:33PM (#41269042)
I use Rider on other platforms.
Re:PyScript: An open source platform for Python in the browser by maleldil on Friday August 16, 2024 @01:46PM (#41268609)
IMO, it's somewhat polarising. Some people love it, but I personally can't stand it. It feels too heavy, trying to dominate every aspect of writing code. I prefer lightweight editors, but I recognise it's a personal thing.
Re:PyScript: An open source platform for Python in the browser by anakaine on Friday August 16, 2024 @08:20PM (#41271472)
Its totally a personal thing. I feel VS Code is the right combination of light weight, light touch, and keeps my focus where I need it whilst still having the ability to get to helpers that make life easier.
Re:PyScript: An open source platform for Python in the browser by pjmlp on Friday August 16, 2024 @01:46PM (#41268600)
The 2nd coming of Web Forms, or Silverlight, take your pick.
Re:PyScript: An open source platform for Python in the browser by giancarlostoro on Friday August 16, 2024 @02:32PM (#41269038)
In the case of WASM though, does it really matter? Ideally I want to see other languages do the same thing.
Re:PyScript: An open source platform for Python in the browser by pjmlp on Friday August 16, 2024 @02:36PM (#41269084)
It matters when debugging pile of WASM code, and the performance loss switching back and forth to JavaScript engine.

The very reason I haven't bothered that much with Blazor, are my debugging scars from Web Forms and JSF.

Given the choice, I will go with stuff that works directly with script tags and the built-in developer tools.

Re:PyScript: An open source platform for Python in the browser by bouncing on Friday August 16, 2024 @02:49PM (#41269217)
I'm curious what widgets/frontend tooling you use.

This is, I assume, Visual Studio for Windows. Have you tried it at all in VS Code or is that a non-starter?