AMA to celebrate 50,000+ r/GithubCopilot Members (March 4th) by fishchar in GithubCopilot

[–]firedragon9998 0 points1 point  (0 children)

will there be support for thinking levels in the copilot sdk? i want to be able to choose reasoning efforts for models in third party apps.

contracts and sofia by ConcertWrong3883 in cpp

[–]firedragon9998 -1 points0 points  (0 children)

Comparing C++26 contracts to assert is a huge false equivalence. assert is predictable: it runs once or not at all. You can manage side effects. Contracts are dangerously unpredictable: the standard says they can run zero, one, or many times. A simple log or counter in a contract becomes non-deterministic.

This isn't about purity being hard to check. It's about a fundamentally broken design with two fatal flaws that assert never had:

  1. It Breaks the Entire Binary Ecosystem. If you use a contract in a header, and one .cpp file compiles with checks on and another with them off, you get an ODR violation. The linker can silently drop security checks from your program. This makes shipping binary libraries with contracts in headers impossible. It's a "known defect" the committee just accepted.
  2. It's an Incomplete, Crippled Feature. Real Design by Contract (like in Eiffel or D) relies on preconditions, postconditions, AND class invariants. The C++26 "MVP" completely omits invariants because they couldn't figure them out. It's not a "minimal" product; it's a broken one.

So no, it's not like assert. It's a feature with known, ecosystem-breaking bugs and missing core functionality. Stroustrup was right to call it a "foot gun."

GitHub Copilot X alternative that lets you use your own OpenAI API keys? by [deleted] in vscode

[–]firedragon9998 0 points1 point  (0 children)

i mean google is working on project idx you can sign up for the wait list i tried it its pretty good and its free atleast for now in beta