magnetic Posted December 29, 2024 Posted December 29, 2024 Here's my wish! An even more optimized and modern DCS core, ChaGPT tell me: Would Eagle Dynamics consider rewriting all or part of DCS in Rust? Currently, Eagle Dynamics (ED) has not announced any plans to rewrite its DCS (Digital Combat Simulator) codebase in Rust, but the idea raises an interesting discussion. Why Rust could benefit DCS: Improved Memory Safety: Rust eliminates common vulnerabilities like memory leaks or buffer overflows, which are common in C++. For a complex simulator like DCS, this could enhance stability and reduce debugging overhead. Better Multithreading Support: Rust offers modern concurrency primitives and enforces thread safety at compile time. For DCS, where computational tasks like physics, AI, and rendering heavily rely on multithreading, Rust could help achieve better performance. Future-proofing: Rust is increasingly adopted by major tech companies like Microsoft and Google for its combination of performance and safety, making it a strategic option for modernizing older C++ codebases. Challenges of adopting Rust for DCS: Legacy Codebase: The DCS engine has decades of development history in C++. Migrating to Rust would involve a significant effort in rewriting, testing, and validating functionality. Resource Intensive: Rewriting even parts of the engine in Rust would require time, resources, and specialized Rust expertise, which may not align with ED's current priorities. Development Delay: Transitioning to a new language could slow down the development of new features and modules—a risk that might not sit well with the DCS community. Conclusion: While Rust offers significant long-term advantages, such a transition would likely be a gradual and selective process, if at all. Eagle Dynamics' focus remains on iterating and improving the existing engine rather than embarking on a costly rewrite. How Could AI Accelerate the Transition of DCS to Rust? You’re correct in noting that the rise of AI tools has significantly reduced barriers to migrating code between languages, making such a transition more viable than ever. AI-Powered Migration: Automatic Translation Tools: AI tools like Codex or specialized transpilers (e.g., c2rust) can assist in converting large portions of C++ code to Rust, while flagging areas that need manual adjustment or optimization. Automated Optimization: AI can not only translate code but also refactor it to adhere to Rust’s best practices (e.g., improving thread safety or using idiomatic constructs like Rust’s ownership model). Testing Automation: AI can generate comprehensive unit tests and integration tests to validate that Rust code functions identically to the original C++ version, ensuring smoother transitions without regressions. AI's Role in Game Development: Redefining Developers’ Roles: As the NVIDIA CEO suggested, AI is shifting programmers’ focus from writing code to overseeing, curating, and validating AI-generated solutions. Strategic Advantage for Studios: Studios like Eagle Dynamics could harness AI to modernize their architecture while continuing to release updates and new modules. AI assistance would reduce the bottleneck associated with refactoring large, legacy codebases. Industry Adoption: Although Rust is gaining traction, especially for system-level programming, adopting it fully for a complex simulation like DCS requires time and careful integration into the current workflow. Conclusion: While AI would undoubtedly accelerate any migration effort, the key challenges remain the sheer size of the DCS codebase, its high complexity, and the need for ongoing feature development. If ED were to adopt Rust, AI would likely serve as an indispensable tool for selectively modernizing critical parts of the engine. This perspective combines both the promise of modern Rust programming with the evolving capabilities of AI to reshape the future of software engineering. 1
rcjonessnp175 Posted December 29, 2024 Posted December 29, 2024 Imagine AI doing it in one night.... not far off 2 I7 4770k @ 4.6, sli 980 evga oc edition, ssdx2, Sony 55 inch edid hack nvidia 3dvision. Volair sim pit, DK2 Oculus Rift.
AndyJWest Posted December 29, 2024 Posted December 29, 2024 So, an 'AI' make-stuff-up-from-internet-scrapings-bot says that using an 'AI' make-stuff-up-from-internet-scrapings-bot to rewrite complex software it cannot possibly have any understanding of is a good idea? What a surprise. 7
MiG21bisFishbedL Posted December 29, 2024 Posted December 29, 2024 1 hour ago, AndyJWest said: So, an 'AI' make-stuff-up-from-internet-scrapings-bot says that using an 'AI' make-stuff-up-from-internet-scrapings-bot to rewrite complex software it cannot possibly have any understanding of is a good idea? What a surprise. My self correcting scripts which are highly susceptible to errors and will churn out garbage are telling me that it'll churn out garbage? Wow! 1 Reformers hate him! This one weird trick found by a bush pilot will make gunfighter obsessed old farts angry at your multi-role carrier deck line up!
NytHawk Posted December 29, 2024 Posted December 29, 2024 3 hours ago, magnetic said: Would Eagle Dynamics consider rewriting all or part of DCS in Rust? My goodness, what an idea! Why didn't I think of that! 1
okopanja Posted December 29, 2024 Posted December 29, 2024 5 hours ago, magnetic said: Here's my wish! An even more optimized and modern DCS core, ChaGPT tell me: Would Eagle Dynamics consider rewriting all or part of DCS in Rust? Currently, Eagle Dynamics (ED) has not announced any plans to rewrite its DCS (Digital Combat Simulator) codebase in Rust, but the idea raises an interesting discussion. Why Rust could benefit DCS: Improved Memory Safety: Rust eliminates common vulnerabilities like memory leaks or buffer overflows, which are common in C++. For a complex simulator like DCS, this could enhance stability and reduce debugging overhead. Better Multithreading Support: Rust offers modern concurrency primitives and enforces thread safety at compile time. For DCS, where computational tasks like physics, AI, and rendering heavily rely on multithreading, Rust could help achieve better performance. Future-proofing: Rust is increasingly adopted by major tech companies like Microsoft and Google for its combination of performance and safety, making it a strategic option for modernizing older C++ codebases. Challenges of adopting Rust for DCS: Legacy Codebase: The DCS engine has decades of development history in C++. Migrating to Rust would involve a significant effort in rewriting, testing, and validating functionality. Resource Intensive: Rewriting even parts of the engine in Rust would require time, resources, and specialized Rust expertise, which may not align with ED's current priorities. Development Delay: Transitioning to a new language could slow down the development of new features and modules—a risk that might not sit well with the DCS community. Conclusion: While Rust offers significant long-term advantages, such a transition would likely be a gradual and selective process, if at all. Eagle Dynamics' focus remains on iterating and improving the existing engine rather than embarking on a costly rewrite. How Could AI Accelerate the Transition of DCS to Rust? You’re correct in noting that the rise of AI tools has significantly reduced barriers to migrating code between languages, making such a transition more viable than ever. AI-Powered Migration: Automatic Translation Tools: AI tools like Codex or specialized transpilers (e.g., c2rust) can assist in converting large portions of C++ code to Rust, while flagging areas that need manual adjustment or optimization. Automated Optimization: AI can not only translate code but also refactor it to adhere to Rust’s best practices (e.g., improving thread safety or using idiomatic constructs like Rust’s ownership model). Testing Automation: AI can generate comprehensive unit tests and integration tests to validate that Rust code functions identically to the original C++ version, ensuring smoother transitions without regressions. AI's Role in Game Development: Redefining Developers’ Roles: As the NVIDIA CEO suggested, AI is shifting programmers’ focus from writing code to overseeing, curating, and validating AI-generated solutions. Strategic Advantage for Studios: Studios like Eagle Dynamics could harness AI to modernize their architecture while continuing to release updates and new modules. AI assistance would reduce the bottleneck associated with refactoring large, legacy codebases. Industry Adoption: Although Rust is gaining traction, especially for system-level programming, adopting it fully for a complex simulation like DCS requires time and careful integration into the current workflow. Conclusion: While AI would undoubtedly accelerate any migration effort, the key challenges remain the sheer size of the DCS codebase, its high complexity, and the need for ongoing feature development. If ED were to adopt Rust, AI would likely serve as an indispensable tool for selectively modernizing critical parts of the engine. This perspective combines both the promise of modern Rust programming with the evolving capabilities of AI to reshape the future of software engineering. Have you ever tried to give an AI a task more complex than a single function? 1
cfrag Posted December 29, 2024 Posted December 29, 2024 11 hours ago, magnetic said: An even more optimized and modern DCS core, ChaGPT tell me: Hmmm. Here's some unsolicited advice: don't get your stock advice from your hairdresser, and don't ask a party novelty for strategic software development insight. I do realize that Betteridge's law of headlines ("if it ends and a question mark, the answer is 'no'") also applies to most forum posts, but still... ChatGPT's answers are - as expected - a low-effort assemblage of truisms and buzzwords, arranged to sound like it affirms your question (it's a "yes"-bot, designed to make you you feel good). I won't go into details because a good deal of me believes that you know all this and are simply trolling. 8
magnetic Posted December 29, 2024 Author Posted December 29, 2024 I think that those who criticize chatGPT or AI associated with coding and programming, and I'm not talking about other capabilities, don't understand the current and future technical leap. Have fun asking him for examples 1
okopanja Posted December 29, 2024 Posted December 29, 2024 10 minutes ago, magnetic said: I think that those who criticize chatGPT or AI associated with coding and programming, and I'm not talking about other capabilities, don't understand the current and future technical leap. Have fun asking him for examples Taken for the meme... 1
MiG21bisFishbedL Posted December 30, 2024 Posted December 30, 2024 (edited) 8 hours ago, magnetic said: I think that those who criticize chatGPT or AI associated with coding and programming, and I'm not talking about other capabilities, don't understand the current and future technical leap. Have fun asking him for examples Or are investors wondering why they've pumped so much money into the tech only to see little, if any, ROI. And then for the people running the firms developing AI to beg for even more money. Edited December 30, 2024 by MiG21bisFishbedL 1 1 Reformers hate him! This one weird trick found by a bush pilot will make gunfighter obsessed old farts angry at your multi-role carrier deck line up!
ssamayoa Posted December 30, 2024 Posted December 30, 2024 1000s of hours have been spent to get what we currently have then move thousands of lines of code in C, C++, LUA and who knows what else languages to rust just because? That would cost MILLIONS of dollars, QA nightmare, hundreds (more likely thousands) of new bugs and lost revenue - those adventures proven to be companies' killers! If you are in application development business I recommend you two books: - The mythical man-month - In Search of Stupidity - Over 20 Years of High-Tech Marketing Disasters 1
Rikus Posted December 30, 2024 Posted December 30, 2024 Absolutely yes. The code is so old that is a caos for so many planes, maps, 3rd parties. It works at the cost of very powerfull hardware, and also with that many times won´t work.
ED Team BIGNEWY Posted December 30, 2024 ED Team Posted December 30, 2024 On 12/29/2024 at 3:01 AM, magnetic said: Here's my wish! An even more optimized and modern DCS core, ChaGPT tell me: Would Eagle Dynamics consider rewriting all or part of DCS in Rust? Currently, Eagle Dynamics (ED) has not announced any plans to rewrite its DCS (Digital Combat Simulator) codebase in Rust, but the idea raises an interesting discussion. Why Rust could benefit DCS: Improved Memory Safety: Rust eliminates common vulnerabilities like memory leaks or buffer overflows, which are common in C++. For a complex simulator like DCS, this could enhance stability and reduce debugging overhead. Better Multithreading Support: Rust offers modern concurrency primitives and enforces thread safety at compile time. For DCS, where computational tasks like physics, AI, and rendering heavily rely on multithreading, Rust could help achieve better performance. Future-proofing: Rust is increasingly adopted by major tech companies like Microsoft and Google for its combination of performance and safety, making it a strategic option for modernizing older C++ codebases. Challenges of adopting Rust for DCS: Legacy Codebase: The DCS engine has decades of development history in C++. Migrating to Rust would involve a significant effort in rewriting, testing, and validating functionality. Resource Intensive: Rewriting even parts of the engine in Rust would require time, resources, and specialized Rust expertise, which may not align with ED's current priorities. Development Delay: Transitioning to a new language could slow down the development of new features and modules—a risk that might not sit well with the DCS community. Conclusion: While Rust offers significant long-term advantages, such a transition would likely be a gradual and selective process, if at all. Eagle Dynamics' focus remains on iterating and improving the existing engine rather than embarking on a costly rewrite. How Could AI Accelerate the Transition of DCS to Rust? You’re correct in noting that the rise of AI tools has significantly reduced barriers to migrating code between languages, making such a transition more viable than ever. AI-Powered Migration: Automatic Translation Tools: AI tools like Codex or specialized transpilers (e.g., c2rust) can assist in converting large portions of C++ code to Rust, while flagging areas that need manual adjustment or optimization. Automated Optimization: AI can not only translate code but also refactor it to adhere to Rust’s best practices (e.g., improving thread safety or using idiomatic constructs like Rust’s ownership model). Testing Automation: AI can generate comprehensive unit tests and integration tests to validate that Rust code functions identically to the original C++ version, ensuring smoother transitions without regressions. AI's Role in Game Development: Redefining Developers’ Roles: As the NVIDIA CEO suggested, AI is shifting programmers’ focus from writing code to overseeing, curating, and validating AI-generated solutions. Strategic Advantage for Studios: Studios like Eagle Dynamics could harness AI to modernize their architecture while continuing to release updates and new modules. AI assistance would reduce the bottleneck associated with refactoring large, legacy codebases. Industry Adoption: Although Rust is gaining traction, especially for system-level programming, adopting it fully for a complex simulation like DCS requires time and careful integration into the current workflow. Conclusion: While AI would undoubtedly accelerate any migration effort, the key challenges remain the sheer size of the DCS codebase, its high complexity, and the need for ongoing feature development. If ED were to adopt Rust, AI would likely serve as an indispensable tool for selectively modernizing critical parts of the engine. This perspective combines both the promise of modern Rust programming with the evolving capabilities of AI to reshape the future of software engineering. Hi Magnetic, we have no plans to use RUST. We are currently updating code and preparing for Vulkan. thank you 5 1 Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, PIMAX Crystal
cfrag Posted December 30, 2024 Posted December 30, 2024 19 hours ago, magnetic said: I think that those who criticize chatGPT or AI associated with coding and programming, and I'm not talking about other capabilities, don't understand the current and future technical leap I believe the opposite to be true: those with a deeper understanding of the current state of AI know the futility of asking a vector-based, large data basin based algorithm to even understand the question. Currently, our best AI efforts cannot understand the question, so their answers are deterministic linear results -- all they can do is look for troughs in the first derivative of the landscape defined by the question set applied to the learned data model. It works, but it can't generate new insights, it can't yet infer knowledge. Yes, people with little knowledge in the field don't know that, and they may even believe that newer AI algorithms like LLM-based chat bots do understand their questions. That's merely an unfortunate combination of good marketing, and a hefty dose of Dunning-Kruger. They don't. At some point in the future, AI surely can make that leap. It hasn't yet. 6
obious Posted December 31, 2024 Posted December 31, 2024 On 12/30/2024 at 10:18 AM, BIGNEWY said: We are currently updating code and preparing for Vulkan. When you say preparing for Vulkan, what does that mean? Is there any update on delivery, is it planned for 2025? Thanks 1 Intel 12900k @ 5.2Ghz, RTX 4090, Samsung 1TB NVME, Thrustmaster Warthog & F-18 stick, Pendular Rudder Pedals - Quest Pro AV8B N/A UFC Build Log AV8B N/A PCBs for sale
Beirut Posted December 31, 2024 Posted December 31, 2024 26 minutes ago, obious said: When you say preparing for Vulkan, what does that mean? Is there any update on delivery, is it planned for 2025? Thanks Two-weeks. 2 Some of the planes, but all of the maps!
Dangerzone Posted January 1 Posted January 1 5 hours ago, Pillowcat said: Whoa there - so AI is now making suggestions on forums that we should be developing using AI.... It's the beginning of skynet psyops! 2
MAXsenna Posted January 5 Posted January 5 Whoa there - so AI is now making suggestions on forums that we should be developing using AI.... It's the beginning of skynet psyops! Hopefully they've been taught about the first rule of robots. Sent from my SM-A536B using Tapatalk 2
Dangerzone Posted January 6 Posted January 6 6 hours ago, MAXsenna said: Hopefully they've been taught about the first rule of robots. ... that you don't talk about Robots? (Fight club reference) 1
SharpeXB Posted January 6 Posted January 6 I think the rule about robots is they should never be allowed to make smarter versions of themselves without our help. i9-14900KS | ASUS ROG MAXIMUS Z790 HERO | 64GB DDR5 5600MHz | iCUE H150i Liquid CPU Cooler | ASUS TUF GeForce RTX 4090 OC | Windows 11 Home | 2TB Samsung 980 PRO NVMe | Corsair RM1000x | LG 48GQ900-B 4K OLED Monitor | CH Fighterstick | Ch Pro Throttle | CH Pro Pedals | TrackIR 5
viper34 Posted January 6 Posted January 6 Here's an interesting read on the topic of Rust in game development: https://loglog.games/blog/leaving-rust-gamedev
MAXsenna Posted January 6 Posted January 6 ... that you don't talk about Robots? (Fight club reference)Got the reference. Smarter than that actually.Law One – “A robot may not injure a human being or, through inaction, allow a human being to come to harm.” Law Two – “A robot must obey orders given to it by human beings except where such orders would conflict with the First Law.”Sent from my SM-A536B using Tapatalk 1
pjbunnyru Posted January 6 Posted January 6 16 минут назад, MAXsenna сказал: Got the reference. Smarter than that actually. Law One – “A robot may not injure a human being or, through inaction, allow a human being to come to harm.” Law Two – “A robot must obey orders given to it by human beings except where such orders would conflict with the First Law.” Sent from my SM-A536B using Tapatalk what about 3rd law?
Recommended Posts