Live data from Hacker News

Microsoft subtracts C/C++ extension from VS Code forks

theregister.com

341–350 of 354 posts

Re: Microsoft subtracts C/C++ extension from VS Code forks

#341

Earlier quoted context omitted.

Fun fact, adblockers are often a violation to ToS as well. Should we all uninstall them?

I have no problem with you violating TOS. But a corporation openly doing it is problematic. I get Microsoft is a Megacorp, but I don't think too highly of all these ai startups either.

I don't like the AI startups either. My main concern is this behavior being normalized and the non-AI startups (or open source projects) getting shafted.

Re: Microsoft subtracts C/C++ extension from VS Code forks

#342

I love Cursor deeply but choosing to be a VSCode fork instead of a VSCode extension was a fatal choice. In the long term I think they either have to retool as an extension or they will go out of business. You can only publicly flout Microsoft's licenses for so long while making a competitor to one of their AAA products.

Off-topic: I initially thought you misspelled 'flaunt,' but 'flout' is indeed the correct word to use. Nice!

Re: Microsoft subtracts C/C++ extension from VS Code forks

#343
post #312
post #70

Earlier quoted context omitted.

Yeah. I think project governance matters more than license, and the BSDs are great examples. Having said that, I’ve soured on the GPL. V3 more-or-less bans companies from selling you hardware that runs free software, but lets Google, Meta, etc use the software to expand their cloud-based monopolies where surveillance capitalism and enshittification have won out. AGPL or BSL seem much better if you want free as in fre…

Are there AGPL or BSL success stories? (Ie. projects that started as such and became/remained sustainable?)

The whole Grafana ecosystem afaik. They are thriving as a company and they don’t risk amazon or some other company coming in and selling a forked version of their software (see redis/valkey, elasticsearch/opensearch, etc)

Re: Microsoft subtracts C/C++ extension from VS Code forks

#344
post #111

Earlier quoted context omitted.

What are the ways that VScode is better than Emacs?

vscode does three things extremely well: defaults, defaults and defaults. The most important ‘you just need M-x do-whatever after installing the whatever-doer package’ is supported out of the box (no details on purpose, try running emacs or vim without any config and compare to a clean fresh install of vscode).

Re: defaults.

Sometimes i wonder if it’s worth giving those new emacs distributions a shot. I’m thinking about spacemacs or doom emacs.

They look cool but so far i’ve been okay with stock emacs.

Re: Microsoft subtracts C/C++ extension from VS Code forks

#345
post #314

Earlier quoted context omitted.

I’ve just lost all hope and have rock bottom expectations. Probably not the healthiest coping mechanism.

find one/your community and contribute there?

You know, you’re right. I’m going to try this.

Re: Microsoft subtracts C/C++ extension from VS Code forks

#346
post #312
post #70

Earlier quoted context omitted.

Yeah. I think project governance matters more than license, and the BSDs are great examples. Having said that, I’ve soured on the GPL. V3 more-or-less bans companies from selling you hardware that runs free software, but lets Google, Meta, etc use the software to expand their cloud-based monopolies where surveillance capitalism and enshittification have won out. AGPL or BSL seem much better if you want free as in fre…

Are there AGPL or BSL success stories? (Ie. projects that started as such and became/remained sustainable?)

A little off-topic but a few companies (e.g. Aerospike) use AGPL in the free versions of their paid products to avoid getting leeched off.

Re: Microsoft subtracts C/C++ extension from VS Code forks

#347
post #8

The intellisense from clangd is much better and faster than the Microsoft C++ extension, if you can set up a compile_commands.json. Although debugging still relies on the Microsoft extension. Although I don't think it's going to be hard to create an extension just for debugging (if it does not already exist?)

Is there a ‘right’ (or simple/direct) way to generate this using various buildchains? I remember setting this up so I could use Sublime with intellisense a while ago, and finding that I could only get it to generate with a specific compiler chain on windows (ninja I think?) Minor annoyance to have to make my c make project generate buildchain files for a compiler I’m not using & copy that file into my project root to…

> and finding that I could only get it to generate with a specific compiler chain on windows (ninja I think?)

Yes, you're right about that.

Basically, it boils down to "use CMake with Ninja/Makefile" (even if you don't strictly have to, you could write a script that creates the json yourself, for example). When cross-compiling, you may also have to whitelist compiler paths.

Add -DCMAKE_EXPORT_COMPILE_COMMANDS=ON as command-line arg during the config step, or add the equivalent "set" call to your CMakeLists.txt, restart clangd (ctrl+p, restart clangd), and you're good to go.

There are minor annoyances when cross-compiling (it using clang -- some compile options are incompatible and need to be removed in global user config, and it not extracting default compiler defines from compilers) but they are very easily worked around

I more or less use this as config: https://gist.github.com/TuxSH/0220d1235dace77f82738c96718011...

Re: Microsoft subtracts C/C++ extension from VS Code forks

#349

Earlier quoted context omitted.

Eh MS wasn’t going to just let VSCode derivatives soak up all the AI gold rush money, these companies knew the risks. I wonder what it’s going to mean for projects like Zig, a migration of VSCode refugees could crank things up to 11 pretty quick.

Zed don't have many extensions like VSCode.

I guess the point is that VSCode won because it collected critical mass (despite people practically chanting Microsoft’s “embrace, extend, extinguish” game plan). If a sort of exodus were to happen, perhaps that same critical mass would stoke the flames of mass plugin catch-up.

I have no skin in the game, I’m just a guy in the internet back alley throwing down a couple bucks on a dice game.

Re: Microsoft subtracts C/C++ extension from VS Code forks

#350

Earlier quoted context omitted.

What cursor clone?

Agent mode in Copilot. It all went down on April 4th: the rollout of agent mode to all users, and the sudden enforcement of the license in their C++ extension.

Thanks. Copilot agent is total crap for me unfortunately. Fails constantly
Post reply on HN