|
| ▲ | cpgxiii 3 hours ago | parent | next [-] |
| Because "brand new" doesn't mean devoid of context. Within your domain, there will still be common libraries, interfaces, and tools. C++ is very flexible, with a lot of very mature tooling and incredibly broad platform support. If you're writing some web server to run on the hardware of your choosing, then sure, that doesn't matter. But if you're writing something deeply integrated with platform/OS interfaces, or graphics, or needs to support some less common platforms, then C++ is often your only practical option for combining expressiveness and performance. |
| |
| ▲ | galangalalgol 39 minutes ago | parent [-] | | This is the sort of info I was trolling for, but what are those platforms and os? Targets llvm doesn't handle yeah c++ makes sense, or c. A sibling mentions xcode, which makes sense. Graphics seems questionable, vulkan support is fine. Windows support has seemed finetoo, the same gui has worked as what we wrote for Linux. |
|
|
| ▲ | bigstrat2003 an hour ago | parent | prev | next [-] |
| Maybe, maybe not. But either way it's just plain rude to charge into a C++ thread to drop a comment saying how the language sucks and you should use (insert other language) instead. |
|
| ▲ | BearOso 3 hours ago | parent | prev | next [-] |
| Rust becomes a significant burden if you need a GUI or hardware-accelerated graphics. |
|
| ▲ | kstenerud 2 hours ago | parent | prev | next [-] |
| Yes. If you're targeting Apple platforms and want to allow clients to use your product in Xcode (the common case) or even need Swift/ObjC interop yourself, using rust or anything not explicitly supported by Apple and Xcode is just too fiddly. |
| |
|
| ▲ | 2 hours ago | parent | prev | next [-] |
| [deleted] |
|
| ▲ | CamperBob2 3 hours ago | parent | prev [-] |
| (Shrug) If I want Rust, I'll feed my C++ to an LLM and tell it to port it to Rust. Since we've been assured that Rust magically fixes everything that's wrong, bad, or unsafe about C++, this seems like a sound approach. |
| |
| ▲ | galangalalgol an hour ago | parent [-] | | We probably aren't that far off actually. Even taking asm with no symbols back into rust works well. You have truth, just have the agent repeat until the asm matches. Doesn't work on giant codebases, but on a few functions it absolutely does. And while the llm may get the algorithm wrong, the type system does seem to help it generate useful code in rust for a starting place v |
|