319 points · by potentialstyx · 5y ago · 262 comments
Can we trust Microsoft with open source? - https://news.ycombinator.com/item?id=28968231 - Oct 2021 (223 comments)
The Azure side probably doesn't care about selling Visual Studio, but they care about developer mindshare and reputation. The Visual Studio side seems to be in a more difficult position, I assumed they can just live from the enterprise/everyone else split and focus on enterprise-y stuff to still sell Visual Studio. But it looks a bit to me like VS Code and the .NET cli have become more of a competition than they'd like.
And the worst mistake here might not have been pissing off the .NET community, but pissing of the people working on .NET for Microsoft. I mean in the end this is the same, but pissing off the people working on .NET would result in a much more thorough destruction of trust with the community in the end.
But I have zero inside knowledge here, might just be weird decisions driven by internal politics or whatever.
VS has no place anymore. The velocity and mindshare is with VS Code. VS with its visual designers had its place .. but desktop is dead and Xamarin competes with frameworks without costly IDEs.
There is a place for a featureful IDE with robustly implemented build, debug, and package management capabilities working out of the box with multiple languages and entrenched technologies.
I do very much like VSC and use it all the time for anything involving text, markdown, cross-platform C++, javascript, and even rust...but Visual Studio is as much of the Windows or .NET dev's toolkit as Xcode is a part of a dev in the Apple ecosystem.
VSCode is great. However, there is plenty of space for VS: it is also very strong, and has a long history of deep and extensive integration into very mature technologies. VS is still getting better year over year and while I see VSCode as competitive in some spaces, it is no contest in others. If VSCode is to replace VS, it has a very long tail of issues to address, the resolution of which would probably raise both boats anyways.
But, what I didn't know until this recent debacle, is how there is a theory that the reason the .Net-tooling in VSCode is so bad is the same reason we had this watch-debacle. There was some discussion on that in the other HN-thread: https://news.ycombinator.com/item?id=28968231
What doesn't feel so nice it's writing C/C++ as intellisense does not help as much as it does for other languages.
I've only ever used VS for hobby/side projects, and even 10 years ago it was leaps and bounds better than what I have to use for my professional day to day work now (code completion, debugger are the two things that I miss basically every day).
The tools that I use now have these features, but they're such a joke in comparison. The code completion has no notion of "code", it's just looking for similar words.
VS Code still has good code completion/etc but it doesn't seem able to match the instant responsiveness of VS.
For C/C++ on Windows, well, you have VS Code and also JetBrains CLion, but IMO CLion is surprisingly rougher than Rider, even though it's older. You can get stuff done though.
Presumably you are not using anything built on the Eclipse, Jetbrains or NetBeans with any language they support? (PHP, Java, Kotlin, Python)
Because out of the box and without any extras all these three beat Visual Studio easily once you start doing anything advanced except GUI, and NetBeans had a reasonable story to sell even there.
On refactoring the story is if not night and day then at least dusk and broad daylight.
It's not a replacement for VS itself in that regard, but the activities that used to be bound to that IDE moved on over the years.
Whenever I have to load some old project into VS, it feels old, slow and clunky compared to other tools. The limitations on the structuring on-desk, metadata, building, linking etc. are very annoying as well for projects that ended up having more than just generic Windows Desktop targets (or even if they are highly specific editions/versions). I suppose that might be because other tooling outside of the process of the 'write-debug-release' chain has moved to broader and more interchangeable concepts where VS has remained basically the same for the last decade.
I can only guess but I think Big Scott, lesser Scott and Julia will have a meeting soon. The .NET community is at a boiling point and they should really avoid a community which takes dev productivity in their own hands. Because that is the garantueed end of visual studio.
I was amazed they'd try something new like cloud. I thought they will stick to the desktop and and MS Office until someone will snatch it from their dead cold hands. But Ballmer went and Nadella came. I still think that the company has a lot of Ballmers hidden in a lot of places, waiting for the opportunity to pull the breaks if they sniff that something interesting might happen.
People keep saying this, but they obviously have no idea. Desktop isn’t dead and nowhere near it. Just because web and mobile app developers think so doesn’t make it true.
There are several industries in which desktop applications are a must. Any application with the needs of multiple windows automatically rules out web and mobile stacks, even if they happen to work on desktops.
I would say most industries. Anything that requires creating any kind of digital content (images, videos, CAD models, electronic schematics, chip design, PCB layout, etc), most of the scientific software, all rely on the computational power and the speed of the desktop applications.
While there are industries that still use local compute and local rendering, that is exactly what it's about: industries. You might have image and video and audio manipulation. There could be hardware control. Maybe there is 'appliance'-like functionality such as POS and vending systems. But those aren't really the mass-desktop scenario that it used to be. That is mainly 'work' usage.
There is this section that you can carve out that does still exist in the traditional form and that is gaming. But that essentially turns the 'desktop' into a gaming console.
Legacy configurations that require things like an actual mouse pointer and multiple windows (or that dreaded MDI document-window-in-a-window interface) are generally left in two categories:
1. bad implementations
2. niche implementations
The first one means investment to fix, which is generally not going to happen if there is no commercial incentive for a commercial piece of software. The second one is a niche and doesn't represent desktops in general.
It would be more precise to say: Desktop business apps are dead. That is almost 100% true. Some lingering ghosts still exist.
VS is on a whole other level than VSCode when it comes to C#. I suspect that many people here haven't really used the IDE features and VS' debugger for more than simple breaking and inspecting a variable.
Yes, if you have a hobby project, you can use VSCode instead of VS Community Edition just fine. But if you are dealing with concurrency errors, performance analysis, dump analysis, and very, very large projects, you can't use VsCode. VS' GUI is also a lot more flexible than VSCode's. In VS I can have a lot more information present where in VSCode I need to constantly switch windows.
That's exaggeration at best.
VS with extensions like Roslynator make C# development really good.
VS Code is nice, but I always felt like VS had significantly more reliable Intellisense than VS Code (for C#).
but I wish VS (real, not 4Mac) worked on Linux.
I use the community version. VS Code, while being extremely good, is still far behind VS. I love using VS, as a solo developer. The integration it has WRT .NET projects is amazing.
But VS Code is far more just a text editor and that you can run and debug many languages in it in my opinion means it meets the criteria of an IDE.
If I was forced to switch from VS to VS Code I would be miserable and feel handicapped, but infinitely more productive than just having a text editor and the dotnet CLI.
So VS Code is absolutely a “replacement” for VS, but only for a poor man with a very limited set of required features.
All the above being said, I don’t ever see VS Code truly replacing VS, but it’s a competent IDE considering its both cross platform and free as in beer.
And when .NET MAUI will ship, I guess we will have a visual designer for that.
That are endless features on VS that VSCode will never get.
Same for 'what was your first computer', there is a whole generation (or maybe two of them at this point) that started out with smartphones and didn't get to the 'using a desktop' level until much later when preparation for work life required it.
Maybe Satya should keep an eye on her.
While VS is my daily driver and I prefer it to Code and Rider, I have no idea how they make a profit. _No one_ buys the retail sticker priced SKUs, you either go through MSDN or Microsoft Partner Network and pay a fee hundred € for access to basically everything Microsoft puts out.
Microsoft is a big company with changing microcultures all the time. They alone as a whole should not take credit for their open-source endeavors. In general, big contributor names should be emphasized more, so that we know when they leave Microsoft or the project.
I really dislike this mindset. Sure, it's disappointing that some pieces of VSCode aren't open-sourced, but man, they open-sourced an entire IDE and plugin ecosystem. That's such a fantastic contribution to the open source community, and yet I see comments like yours that treat it as if it's negligible and somehow want even more? Why is it that, say, Intellij never has to deal with this level of scrutiny? The work MS did even includes a bunch work on existing plugins they don't even own - I know this because my plugin was one which they got their engineers to do a couple months of volunteer work on.
If MS wants to retain a few small pieces of tech to pay the engineers that make a fantastic IDE and ecosystem free and open source for everyone, so be it. You say "making money" as if it's some great evil - how do you think all those open source engineers get paid?
Things will get ugly sooner or later, to the dev industry’s detriment. Insisting that one of the biggest tech companies on earth, with a history of abusing its power, go further than smaller companies is not unfair. In order to retain trust, Microsoft needs to put restraints on its own behavior and be open about it.
I think you call it commoditize your complements.
What stops you or anyone else to reimplement those parts?
Jet brains makes a free open source product and has a paid for product with extra features
Ms makes a free open source product with a paid product with more features (thou different code base)
Somebody built awesome software and dares charging money for it? Bring on the tar and feathers!
VS Code behavior you can accept as a open core or commercial plugin thing. The other thing was just a theft.
Their GitHub acquisition, VSCode, and CodeSpaces are clearly a moat-building towards making GitHub yet another version of Office 365 where you have to pay $$$ for developer tools. GitHub's workflow already bears little resemblance to a "real" Git workflow, and in 7-10 more years I predict that they will try to marginalize it until you can't actually make commits if you're not using the web UI.
Everything Microsoft-related should be considered closed-source and avoided if you have interest in Open Source as more than just a license. The management at Microsoft has way too many non-technical people focused on "user engagement" and "mindshare" for them to think in terms of OSS principles. They are not evil – they just don't "get" it. So I would strongly suggest avoiding any developer-focused products from Microsoft for the next 10 years if cross-platform parity or Open Source are high on your list of values.
If not, that's fine too. I advise buying and using a Windows laptop for a first-class Microsoft Developer Experience.
Which is? Email lists? GitHub is much easier to deal with than scouring through email threads. It may work for Linux, GNU, and more, but it doesn’t for the majority of devs.
You know what else Git cooperates with better? Push, pull, rebase, squash, a whole world of branching strategies etc. GitHub's PR model is artificially gimped against many useful features of git, to the point where I suspect they actively hate users creating commits and want themselves to be the only ones who can make them. Their PR model actively fights any kind of commit-based review; to the point of erasing access to old, rewritten commits.
Even their diff model is proprietary — and inadequate. You can only diff individual files against previous pushes, and that too only if you manually marked each file as 'viewed'. Diff two tips (read: heads)? Forget about it. You can't have it. Do it out dumbed-down PR way, with a pileup of correction commits you can't squash properly, and be happy you were given the privilege.
https://github.com/{org}/{repo}/compare/{commitish1}..{commi...
Example:
https://github.com/facebook/react-native/compare/0.65-stable...
All the git operations you listed work perfectly fine locally on a repo from github, it's only once you want to push to main you have to go through the review-gate and that's configurable.
Gitlab works mostly the same as Github, and for both of them you can configure the merge-strategy and PR requirements per repo. Next competitor in line would be Gerrit with a quite different approach, which is more based on single commits rather than branches and pull-requests, but in a way their refs/for/master is very similar to a PR except it doesn't have a branch-name and you don't need to fork the repo first, but under the hood you could say a patchset on a change is the same as a commit on a branch sent for PR.
In the end, they are all the same and you learn to work with it. None of them really fight against the core of git.
But I agree with the thesis of your comment.
GitHub is a real hindrance for reviewing code, and the dumb practices its infantilised review system forces you into make it a nightmare to re-review code after check in.
Thank you for your nice advice. I started following it 20 years ago (with some short but numerous tries to use Linux and BSD as desktops).
I use Windows desktops and laptops for all kind of development. Which is now mostly web microservices running under Kubernetes on Linux.
When I developed Android apps and multiplatform games (Android, iOS and Web), Windows was still my preferred development platform.
In hindsight, editor independent language IDE features driven via a client-server model are such an obvious idea - to the point that I wonder why it took so long for this model to emerge. It makes so much sense to build the IDE features a single time, ideally re-using parts of the compiler infrastructure.
By now a lot language servers exist. They have various levels of quality, and the purpose built solutions like VS or the various Jetbrains products are often markedly superior.
But many of them are more than good enough for a lot of developers, and they allow turning even Vim into a full-featured, powerful editing environment. (Neovim 0.5 has built-in LSP support)
This all started out with VS Code, Typescript, and the LSP specification, and Microsoft deserves a lot of credit for kicking off this trend.
But something that probably started out as a way to popularize VS Code and Typescript has turned into a movement that makes the chosen editor much less crucial and more of a commodity.
This almost certainly wasn't the intended outcome, or at least a side effect that wasn't anticipated.
Hence also the recent steps to counter this trend, like restricting the new Python LSP or this newest .NET drama.
Microsoft earned back a lot of good-will from developers with Typescript, VS Code, .net core, Github, npm, .... Many younger devs have lost the mistrust and disgust that was common in certain spheres not that long ago.
They probably feel confident enough now to shift gears and aim for lock-in and control.
I am implementing an LSP for a pet language, and the state of the documentation is quite shocking. When I first read the "spec", I thought surely I must only be at the intro/marketing brief since so many details are missing.
This is a JSON-RPC protocol and the documentation for all the object types is written in typescript. There's nowhere you can go to see a list of all possible json messages in json. And as you get farther into it, it feels less like a generally designed protocol and more like an interface to vscode in particular.
In general I wanted to use SublimeText and nvim as test benches for my LSP, but in the end I gave up because there were too many subtle gotchas when not developing against vscode itself using the base test project MS provides.
Don't get me wrong, I think LSP has been a great thing for the industry, but I suspect the actual goal was to commodify this type of editor plugin so other competing editors would not gain an advantage over vscode, and to do that in such a way that the result will generally be better on vscode.
On first hand it'd be weird to expect MS to do everything for free
On the other hand the way they handled it (initially they made it free, OSS and promised fanciness) is kinda poor.
On yet another hand maybe they just really sucked at communication, priorities and stuff this time? hard to say.
On yet another hand2 .NET maintainers are really open about a lot of stuff, it's easy to talk to them - let it be asp .net or roslyn/compiler project which makes me giving them the benefit of doubt
That's a very odd way to say "modern developers don't use Visual Studio."
They knew they were going to lose some 'developer love' when they originally made the decision. They went ahead anyway. So, your framing isn't adequate.
What made them walk back is when they realised _how much_ they'd lose. Which happened only because lots of people were outraged and vocally spoke against it. Far more than the number of people they were expecting.
It'd be naive to believe they didn't know they're going to lose some, especially given how long they've kept up their charade of 'MS :hearts: OSS'. What's more likely, and supported from evidence of their similar behaviour in other parts of their OSS charade, is that they thought they could get away with it this time too.
That wasn't enough. I'm sure they fought for it before the public did. It took the public calling out Microsoft's duplicity for them to change face. I'm sure the insiders' voices helped, but they weren't adequate.
IOW, Microsoft will absolutely do it again, if they think they can slip it past the public. Outrage can't be a driving force for very long, and they know that.
Objectively, a good thing. Too bad it's useless, because the guests aren't gonna stay very long.
And community should keep an eye on .NET development. If we want to keep the nice things we have, we should work towards it.
I'm so glad I'm not at Microsoft anymore. Her decisions might be great for Microsoft's profit margins, but my god does she hate people getting "stuff for free"
Whoever approved this in the first place has shown a shocking level of incompetence in understanding how the developer ecosystems have tilted in the last decade.
On long term such decisions will hurt profit margins. I wouldn't hire managers that only think about short term, in an attempt to enlarge their bonuses.
But it’s not like everything is fine again. The Foundation is apparently a bit of a mess and the C# debugger is STILL not available on VScode versions built from source.
That and that they would ever even consider doing this still discourages serious investment into .NET.
Search Algolia for lots of posts about the recent .NET Foundation kerfuffles.
Well, maybe it would be avoided if ability to review would not be blocked from start. And community would note it during code review.
(obviously, no one believes this explanation and we understand what was actual reason. And thanks to all - hopefully anonymous and which will stay anonymous as long as needed - Microsoft employees who gave real info to Verge)
So far, they have been more convincing in getting me back into .NET than they have getting me back into Visual Studio, locking .NET features inside VS would just alienate me from both.
Doing .NET development is a very nice experience now. Especially with the ability to do fronted web with Blazor and cross platform mobile development with .MAUI.
.NET became usable for any kind of development beside low level systems programming where the garbage collector is not suitable. I would love to see the addition of AOT with the possibility to do manual memory management when you need to.
I wonder how this decision was made _behind the scenes_.
Either some negotiation happened and the Visual Studio team got some concessions (smaller target?) or it was mandated from the top.
Both alternatives do not bode well for the VS team.
>The Verge understands that the decision to remove the functionality from .NET 6 was made by Julia Liuson, the head of Microsoft’s developer division. Sources describe the move as a business-led decision, and it’s clear the company thought it would fly under the radar and not generate a backlash. Engineers at Microsoft that have worked on .NET for years with the open source community feel betrayed and fear the decision will have lasting effects on Microsoft’s open source efforts.
[0] https://www.theverge.com/2021/10/22/22740701/microsoft-dotne...
Reminds me of the people at Android that keep pushing big carrier SMS group chat protocols, where everyone can tell from miles afar they are just a blind caterpillar sensing their way along some local optimum gradient descent in whatever mismatched incentive hell their big corp job has landed them.
EDIT: grammar
You saw the same crap with Office vs everything new.
it takes at least 3 minutes to start, the UI designer takes 30+ seconds to appear, and starting your process for debugging takes 10+ seconds
every single autocomplete takes a few seconds to appear
even opening a 100 line .c file takes 10+ seconds, and they KNOW its bad because it pops up a dialog with a progress bar!
this is all on a azure "cloud" instance with 8 cores, 64gb of ram and SSD, with a clean install every 2 weeks
not to mention nearly all of the dialogs are as awful and exactly the same as they were in VS6 (e.g. run configurations)
and it's super expensive
meanwhile VSC is snappy and free, and the JetBrains IDEs of 2011 run rings round it
>even opening a 100 line .c
that I'm using it for C#.
There's something very wrong with your machine.
VS2022 is an amazing experience end-to-end.
If you have VisualAssist or Resharper installed, disable them and see the difference.
I have some moderately sized solutions that take forever to open and chug to a halt and start paging like crazy with unresponsive UI if I don't disable all the code inspections and Intellisense. This is on a brand-new i7 with 32GB of RAM and a NVME SSD. It pegs itself at that 32-bit process memory limit and thrashes. It's worse if it is a modern web app with a bunch of JS involved.
And so I've used Rider almost exclusively for the past fifteen months or so...
A step in the right direction.
Always remain vigil
This doesn’t sound like the full truth to me..
If you're not familiar, there's two different ways to authenticate against Graph API - either directly with the user's credentials, which is good for webapps and user-interactive desktop stuff, and using application credentials, which are suited for server-side workers and daemons and things like that. All the Graph APIs have weird hodgepodges of permissions that are allowed, which sometimes make sense (getting the current user's profile at /me) and often don't make any sense at all, and are just not supported because they didn't bother.
If you've got a lot of time on your hands, you can whine and open UserVoice items and rally other people up and lobby, and sometimes they'll get off their asses and do something. Or not, like some of the Teams presence and calling APIs that have been unimplemented for three or four years now...
If the only reason they walked back this decision is the backlash, they'll continue to try get away with whatever they can. Their culture obviously hasn't changed for the better.
Nothing about their strategy since has made me regret that decision.
Kind of sad to see them flailing about and screwing up, burning goodwill from VS Code and the like.
DevDiv still doesn’t get it, dinosaurs.
Is it fast, great, nice to use? Maybe -- but I won't ever use it because it's riddled with licenses and other bullshit I really don't care about.
I'll continue to use truly open source and free tools like Postgres and Elixir.
Also, C#/.NET is kind of jack of all trades, you can do anything but a small subset of development where having a garbage collector stays in your way.
As for alternatives, I dislike Java, Python is less performant and not usable for large projects, Rust, Nim, Haskell, Elixir are not as usable and well polished. Kotlin is nice but it does not have any benefit over C#.
I would love for Rust, Nim, Haskell, Elixir to pick up some steam, become more usable, have larger communities, much more libraries. But until then, C#/.NET is the sweeetspot for me. I still dabble in C/C++ from time to time and that makes me grateful C# exists. I am even inclined to double down on my .NET bet by starting using F# along with C# because it feels like a very nice language. It seems to enable even faster development while being more concise and needing less tests written.
They fumbled the cell phone era They half heartedly entered the hardware business with poor results. They have a few golden gooses that could be disrupted at any time (Windows, Office).
The biggest asset is dotnet and if they fumble that they will go down hard.
Specifically what I mean is current VS is just not usable for web dev (comparing to Jetbrains tools), but what is even more important - there is nothing close to Spring Boot in terms of ecosystem richness (important for corpos) and even newest .net 5 is much more cumbersome compared to eg. golang (important for startups).
Don't get me wrong - I do like C# - it is a nice language (at some point it was better than Java), but current Java and other jvm langs and tooling (lombok) are great too or better (Kotlin) and current web/cloud ecosystem is all but not .net related.
if you develop for windows desktop or some .net oriented organization (some do politicall decisions) use .net, but if you can make your own decision and you develop for web/cloud just don't use .NET
FYI .NET 6 + C# 10 has a ton of work invested into removing the "enterprise boilerplate" experience and making the language and frameworks more akin to node or go in terms of effort/LoC required to spit out a program:
https://docs.microsoft.com/en-us/dotnet/core/tutorials/top-l...
There's also a few epics that are specifically focusing on .NET as a compelling cloud framework: https://github.com/dotnet/core/issues/5397
We will see in 10 yrs if they catch up....
Sure, C# is more pleasant to use than Java, and the language has almost C++ like capabilities for low level coding, but it lacks the 25 years of cross platform experience. And one can always include a native library if required, JNI might be boilerplate but it doesn't bite.
One cannot pick random .NET library and use it on .NET Core, most likely it is using .NET Framework APIs, COM or Win32 calls.
So already there, the ecosystem is reduced to the libraries whose authors have bothered to port to .NET Standard or Core.
Then issues like this, or how MAUI is being handled versus what Uno and Avalonia achieved on their own, show the ongoing power struggle.
It's clear from the reaction of the well known alt.net people that this problem is strategic, and coming from above. Nothing in this move signifies a change in that strategy.
But I find it weird to expect perfect decision making out of an organization with hundreds of thousands of employees with a global influence. I don’t know any individuals with perfect decision making skills, so when you take the union of that and add hierarchy, I certainly wouldn’t expect a system of perfection. Especially when perfection is defined by some relative/personal standard.
I agree with your opinions that Microsoft will do weird stuff going forward and that this decision means nothing. It’s also irrelevant to me since I don’t use .NET for absolutely anything.
But if your “trust” in an org is based on them not making “terrible decisions”, I think it may be impossible to actually trust any org. Since inevitably at scale every org will make bad choices. Not criticizing you, just thinking out loud.
Change my view.
It was first done and presented in dotnet watch.
The community contributes a lot, why not letting them maintain it.
VS fights a uphill battle to stay relevant.
It empowers VS Code devs to do visual stuff. The only thing VS is still good in.
... Got bored of writing more.
So I avoid all Microsoft technologies, especially the lock-in ones like Visual Studio and .NET. I recommend you do as well.
.NET Framework is another story, and was (and still is) tightly coupled to Windows. It's the entire reason .NET Core was started as a separate open source effort. Honestly, we're lucky .NET Core was even allowed to live as long as it has. Now, it's philanthropic culture is directly butting heads with the profit-oriented culture of the Visual Studio team.
Does .NET have some breakthrough features or support that other languages don't have? Are job opportunities better than, say, Java?
I'm not understanding the upside here of following the Microsoft version of Keeping Up with the Kardashians.