Get your *FREE 4-Day Rust training* : letsgetrusty.com/bootcamp
@TRK--xk7bb4 ай бұрын
We are about to see the shittiest Rust ever written
@valor67114 ай бұрын
>be me, work for US government >translating 40 year old C into Rust >waiting for compile >nuclear missile strikes in 10 minutes!! >waiting for compile >5 minutes launch now or the silo will be destroyed and anti missile system stop working! >waiting for compile >missile countdown reaches 0, breathe sigh of relief since it was just rust compiling >wtf why’s the sun rising at 2:39 AM?
@samuraijosh15954 ай бұрын
LMAO
@PeterSahanaya4 ай бұрын
@@valor6711😂😂
@spht9ng4 ай бұрын
Will still be safe at least
@C4rb0neum4 ай бұрын
Well luckily they will disable AI training since they are secretive so no problem
@stillness00724 ай бұрын
I'm sure they will need Rust cheatsheet
@letsgetrusty4 ай бұрын
I’m on it
@tuna56184 ай бұрын
@@letsgetrusty the NANOSECOND someone even THINKS about writing rust and Bogdan is like: "Hey so I heard you needed a cheatsheet"
@rescyy22354 ай бұрын
@@tuna5618 Ahh, so he's romanian? Name all job opportunities for Rust in Romania. (I will not use this information for doing bad things)
@Mempler4 ай бұрын
The US government literally just said: "Let's rewrite C in Rust"
@shanehebert3964 ай бұрын
They said "hey, anybody have any ideas on how we might could make something that can translate legacy C code to Rust, if we wanted to?"
@d1namis4 ай бұрын
Nah, they will never use Rust them self oor work on it. Reason just because Rust have many backdoors and cyberweapon inside. Basically it's an end of Rust.
@jeffreyjdesir4 ай бұрын
Can you provide any evidence for this? @@d1namis
@tuna56184 ай бұрын
Even the US government is doing hype driven development.
@mikekong18744 ай бұрын
😅lol got what cyberweapon? u joking?@@d1namis
@jonscaplan4 ай бұрын
As others have said this is not a US government announcement that they are going to convert C to Rust. What happened is that somebody wrote a grant proposal to DARPA saying we'd like some money to investigate creating tools for automatic conversion of C to Rust. A grant review committee decided to fund the grant. The committee probably understood how challenging these told can be, but thought it worthwhile line of research. DARPA likes to fund big ideas. That is very different from a policy decision where the owners of any C code base (government or contractor) have decided to convert existing code to Rust.
@michael_r4 ай бұрын
Yeah. This.
@gareth41684 ай бұрын
They're not "Planning to convert all C Code to Rust". It's a research project, launched by a research agency, to look into the feasibility of automatically converting C to Rust. "US Gov to convert all C to Rust": I like your videos but this title and content is clickbait BS.
@pluto84044 ай бұрын
well if you take it literally, you should start repla(rust™)ing all your letter (rust™)'s with rust™
@radosmirkovic83714 ай бұрын
He has to use clickbait titles. That is traditional communist tactics.
@shabadrandhawa38294 ай бұрын
@@radosmirkovic8371what?? You mean capitalist?
@radosmirkovic83714 ай бұрын
@@shabadrandhawa3829 No I meant what I wrote. In order to trick people into impossible and nonsensical ideas you have to use click bait titles, like:no more fossil fuel, the burgoisse are secretly oppressing the working class (what ever the class really is), tear down every building in America a.k.a The Green new deal. Or current: rewrite every c line of code in rust. Like that is going to magically swipe all the problems away.
@tacorevenge874 ай бұрын
Hmm because government is eventually moving away from c/c++
@PrivateUsername4 ай бұрын
It's just an experiment. This is just a call for papers, more or less. It isn't a directive or anything of the sort.
@BruceDArcus4 ай бұрын
This. DARPA does advanced projects, many of which fail.
@amielvasco35034 ай бұрын
The benefits if it works, though.
@letsgetrusty4 ай бұрын
Right but the fact that they are even persuing this is really interesting!
@zoeherriot4 ай бұрын
@@letsgetrusty they will find that Rust is still capable of the same class of bugs C is. Rust doesn't solve memory safety issues. It reduces them in some cases.
@Andrew-jh2bn4 ай бұрын
@@zoeherriotwhat do you mean? Rust helps with a whole host of memory safety bugs. Use after free, data races, dangling pointers, and buffer overflows all become impossible.
@compilejason4 ай бұрын
Private sector defense tech engineer here. We are also converting all C to Rust, primarily in our robotics org. Being a language zealot is usually not the move, but, Rust is DEFINITELY the move.
@emperorpalpatine60804 ай бұрын
How many loc ?
@letsgetrusty4 ай бұрын
Interesting insight. Thank you for sharing!
@honkhonk80094 ай бұрын
rust sounds too fun. My Uni is using it too. Fixes alot of the reasons that turn people into soydevs
@satyam1684 ай бұрын
Bro I am looking for job in defense tech Could you share your socials
@straightup7up4 ай бұрын
How are you going about the conversion?
@shanehebert3964 ай бұрын
This is an R&D thing... basically a call for ideas on how it might be done. In the PDF, they are clear that they are not even promising that anything will come from it. It's more like an NSF SBIR Phase 1 type thing if you're familiar with that terminology.
@enzolombardi96314 ай бұрын
It's a research project, so it might be bound to fail, but it's clear that Rust is the language we must learn as we used to do with C in the past.
@araarathisyomama7874 ай бұрын
Totally waiting for the next 3 years just to see no progress whatsoever in the matter
@dakata24164 ай бұрын
The NSA has backdoored Rust confirmed!
@nlmaster98114 ай бұрын
Yeah I’m sure they want a back door in all of their own stuff.
@h.s31874 ай бұрын
So why many ransomware groups are migrating they stack to Rust explain me why Blackcat and Lockbit are migrating to Rust ?
@_lod4 ай бұрын
@@h.s3187bro it’s a joke
@h.s31874 ай бұрын
@@_lod I think it's schizophrenia
@T1Oracle4 ай бұрын
@@nlmaster9811LOL, imagine if an NSA backdoor had a zero day and they all got pwned for it? 😂
@lwwells4 ай бұрын
US government then said: “BTW, we use Arch”
@Onyx-it8gk4 ай бұрын
As another person said, regardless of the outcome of this specific project, it sends a clear message that Rust will be the way forward!
@d1namis4 ай бұрын
Nah, it's clear message that everyone should abandon Rust. Because it just confirmed that it have many NSA backdoors and cyberweapon. It's just a question of time when another huge ransomware will terrorize the internet. Especially now when practically the war with Russia and China is going.
@yuridelossantos5694 ай бұрын
at first...
@aniketbisht28234 ай бұрын
It's so over for C-cels.
@ptarslatinum28064 ай бұрын
is that analogous to in-cels?
@aniketbisht28234 ай бұрын
@@ptarslatinum2806 You tell me.
@ptarslatinum28064 ай бұрын
@@aniketbisht2823 yes I guess
@Le_Dislike_ButtonАй бұрын
>make low level programming easy for wahmen and diversity hires Face it, C chads mog rustfags everytime
@Olodus4 ай бұрын
My guess is only a small subset of C programs can easily be rewritten in safe Rust. Rest would probably need unsafe Rust, where I don't think it has proven itself as much as a better alternative. Personally would prefer them setting requirement for testsuites to be run with ASan and fuzz'd or something like that, but what do I know.
@danwellington35714 ай бұрын
They'll find a way to fumble it but they've sent a clear signal to the world
@taragnor4 ай бұрын
The government still runs systems with ancient technology like floppy disks. So it's highly unlikely it's going to be any kind of mass upgrade.
@jeffcauhape68804 ай бұрын
Remember when the US Govt thought that ADA would solve all of their problems?
@themoviesite4 ай бұрын
Their problems started when they went off that policy. F35, anyone?.....
@vectorphresh4 ай бұрын
Yeah some of those Ada projects are still running today.
@StephenMinkin4 ай бұрын
Like really...or is to make sense of a group of people who failed to learn c++?
@nombreapellido90384 ай бұрын
We will just have to wait and C. (I will C myself out).
@DevelTime4 ай бұрын
For sure, the name is top-notch 🙂 At this stage it cannot be considered nothing more than an experiment, however this is a big thing for Rust in sense of "official" recognition of the language. So, while I am not Rust-dev, I am very happy about it.
@qinlingzhou88154 ай бұрын
Man, the US gov'ts will take forever to do it. Looking at those mainframe apps in the US gov'ts. :)
@JarheadCrayonEater4 ай бұрын
DARPA does NOT make those decisions. Your title us very misleading. - I've been working with the government for over 25 years, and absolutely hate seeing this kind of garbage.
@anotherelvis4 ай бұрын
The white house has published a statement about memory safe languages, so that part has government backing. But TRACTOR seems to be a limited research project with a catchy name.
@MichaelKefeder4 ай бұрын
I've translated too much C code into Rust, to believe that this is possible. Converting all the e.g. pointer arithmetic used in C to idiomatic and safe Rust is hard - to understand the pattern and then make something well typed and sane out of it. Also while doing so I regularly find bugs in the C source, because the compile time checks of Rust are so much stricter. Then this TRACTOR software does what? fix the bug in C first, write a test and replicate it in Rust afterwards? They might be able to come up with some form of helper toolset but in no way a translator.
@complexity55454 ай бұрын
Yeah they're not going to convert mechanical/electrical drivers. They'll use it to write future programs and the non-mission critical drivers. Most of the good C drivers were written by people who knew what they were doing and didn't introduce pointer problems and out of range memory problems. Rust is for the new teams of programmers that don't know how computers work at the microchip/microcode/IO level.
@deftlawson3 ай бұрын
I swear dude, the military awards contracts/initiatives based on how good of an acronym the name creates… TRACTOR program man?
@maneeshs38764 ай бұрын
DARPA has taken big and bold initiatives earlier too like Autonomous Self-driving Vehicles and others.
@complexity55454 ай бұрын
Like the internet. LOL and computers. DARPA started most of it (in the USA) and also after/during WW2.
@NineInchTyrone4 ай бұрын
What happened to ADA ?
@MostIntelligentMan4 ай бұрын
rust is top dawg of programming langs, hands down. only reason to use any other is speed of development, but for quality is rust and rust only
@KyleHarrington4 ай бұрын
They've had Ada at their disposal for years, not sure why they haven't used it...
@me_12-vw1vi3 ай бұрын
Ada is their language (the us military) and no one wants to be part of that cult that’s why they can’t find enough Ada programmers to work on their ridiculous projects
@10ahm014 ай бұрын
Are they suggesting that making tools that translate C into Rust is easier than making tools that can debug C?
@StephenMinkin4 ай бұрын
Still going to have to know c++
@loop88364 ай бұрын
will it create psychological effect on private indusrty and open more positions for rust devs just my thoughts
@anotherelvis4 ай бұрын
Tractor looks like a somewhat limited research project with a catchy name. - But in general it is a great idea to ask subcontractors to use Rust.
@StephenMinkin4 ай бұрын
The problem with rust is if dosnt have an easy covert way, say tractor dosnt do it all, it will have to be re written in rust.
@AndrewBrownK4 ай бұрын
does this mean there's finally going to be some rust jobs?
@rsalmei4 ай бұрын
One can only hope...
@tuna56184 ай бұрын
There will be 1 rust job! Yay!!
@thehady14 ай бұрын
There support doesn't mean anything people either forgot or don't know that Ada is a memory safe language and it was backed by the US government yet C is still the lingua franca . It doesn't matter who endorses it the tech chooses itself . I advise ppl to use C it conserves energy 😂
@thehady14 ай бұрын
@@RustIsWinning they said it since your mother and father weren't born. Why do they ensure compatibility with C then?
@thehady14 ай бұрын
@@RustIsWinning should I like yours too. Get a valid counter or just shut up kid
@johnanderson83244 ай бұрын
And we were all supposed to write applications in type safe Ada 30+ years ago. Look how well that went over. Now that Rust is becoming an everything language and people want to write web apps with, it's hopeless. Designing languages by committee is a really bad idea. You just end up with a language that can do a lot of things and none of them very well. It's been proven time and time again. The more things change, the more they stay the same.
@F_Around_and_find_out4 ай бұрын
For new learner it is still better to start with C. Sometimes you just don’t get it why thing has to be this way until you see how it all began. Don’t go head first into Rust.
@radosmirkovic83714 ай бұрын
As someone who doesn't like government meddling in life and also as a fan of C and C++ I would like they succeed in the endeavor, because then world will see what stinking pile of hype Rust is. And after january 2025 C and C++ are making huge comeback.
@radosmirkovic83714 ай бұрын
@@RustIsWinning Did the borrow checker allowed you to think? Because you are not the owner of your thoughts. Just wait and see. Rust will go down in history as an attempt to destroy freedom of programmers.
@dirlrido25224 ай бұрын
@@radosmirkovic8371 What
@gavinlew82734 ай бұрын
Interesting alternate viewpoint, what makes Rust such a stinking pile compared with C / C++?
@radosmirkovic83714 ай бұрын
@@gavinlew8273 The fact that it is highly politically opinionated. Especially when it's Marxist tone in it. And history showed us time and time again that Marxism makes their followers technically castrated. Second, why would Government preach any programming language? Are we going to virtue signaling by using rust? Are you coding in rust to be obedient comrade or to produce high quality software? When programmer starts asking these questions than programer starts to think for themselves.
@dirlrido25224 ай бұрын
@@radosmirkovic8371 Buddy take your meds, it's being endorsed because it's memory safe and by nature less vulnerable to attacks
@belkamax054 ай бұрын
Most of the time they react slow, now they did it too fast. Seems like just because of null pointer issue recently now they are changing all to be made on language which prevents this specific issue. Is it the only one to have? Let's see when they complete refactoring.
@redcrafterlppa3034 ай бұрын
I like rust a lot. But it's not the holy Gral of programming languages. I would love to see more languages that are compile time memory safe. I think rust needs some competition. I'm writing my own language that fits this description but as a single developer I don't expect anyone using it except myself once it's done as it's more of a hobby project. Still we need more time invested in different strategies to prove memory safety at compile time. While at the same time trying to make the system as implicit as possible to not become difficult like in some cases rust is.
@ゾカリクゾ4 ай бұрын
what do you think about zig?
@redcrafterlppa3034 ай бұрын
@@ゾカリクゾ as far as I understood it doesn't really reject memory bugs at compile time. It's more similar to C which makes it pointless in regards of memory safety.
@josealonso73214 ай бұрын
What language is it ?
@redcrafterlppa3034 ай бұрын
@@josealonso7321 currently the language only exists in notes and my head. But I'm working on the compiler like I said as a private project. The goal is memory safety at compile time with reference and allocation management mostly done by the compiler. I'm basically trying to make it easier to write code that requires complex lifetimes in rust in an simple and more straightforward way.
@Onyx-it8gk4 ай бұрын
@@redcrafterlppa303 I definitely appreciate your effort, but Vale is likely far ahead, although you could certainly adopt some of its features.
@EngineerNick4 ай бұрын
Well if the computers can beat us at chess and Go, why not. But in my experience the translation is deeeply non-trivial if you want idomatic rust. And even if they pull off a translator, then you need to generate documentation, and verify it works the same. Gnarly problem.
@thingsiplay4 ай бұрын
The best part of this is, this will annoy lot of C fans. The others doesn't count.
@theevilcottonball4 ай бұрын
Why is it good to annoy C fans? Also, not every program cares that much about memory safety against adversaries (simulations, games, WASM web apps (already sandboxed), some embedded devices, most userspace programs, DOS applications, non-internet connected embedded devices, etc etc...
@Hollandvancewright4 ай бұрын
What did we ever do to you 😮💨
@olafschluter7064 ай бұрын
@@theevilcottonball Not caring about memory safety means not caring about code being correct. It isn't always the case that memory mismanagement in C yields a security vulnerability. But every time it yields buggy output or random crashes.
@NicholasMati4 ай бұрын
@@olafschluter706 That assumes you allocate at all. For a number of safety critical C and C++ embedded projects I've worked on, we've tweaked the linker script so that things don't even build if you try to call malloc or new. Memory safety issues solved. Everything is on the stack or statically allocated.
@theevilcottonball4 ай бұрын
@@olafschluter706 When it crashes it is easy to debug. C code can be thoroughly tested and reliable. It is Rust people who say that ASAN and fuzzing is not enough, because there might be a very weird edge case where it is possible to get the program in a confused state where it is possible that memory unsafety occurs. Software in C is not more buggy than software written in other languages.
@TylerR9094 ай бұрын
Atwood's Law needs an addendum... And then we need a Rust JavaScript Engine. And then Atwood's Law can just say "everything will be written in Rust" and anything written in JS auto-applies.
@DeepakKumar-uz4xy4 ай бұрын
Bro just release backend development course. And tell me which framework has more job opportunities. Is it axum or actix?
@azcatlm71754 ай бұрын
It is incredible that a government that spends its time supporting "private initiative" adopts so many systems and inventions related to collective projects.
@UweStrempel4 ай бұрын
Some issues - gccrs is not ready yet.
@edbertkwesi49314 ай бұрын
yeah i read this a day then i later saw it on your channel. i spent two years learning it and it was fun. gradually is the beginning of the end for C, we are talikng about DARPA and if Darpa is going for RUST then it means for a very long time they were assesing the RUST language finally they JUST have to say bingo . Remember GO lang is there but they choose RUST
@NicholasMati4 ай бұрын
While many applications would benefit from memory safe languages, there are large classes of problem where this just doesn't matter or makes overall safety worse. I'll submit hard real time embedded applications as an example. I've done these projects in both C and C++. For those types of applications, you simply don't allocate which takes care of memory safety. However timing bugs are really important and easily understanding what the compiler is going to emit becomes crucial. I'm this context, I have strong convictions that C is much safer than C++, Rust, or just about any other language.
@tychoides4 ай бұрын
Zig actually is a good language for that use case, and is a bit more safe than C.
@J-Random-Luser4 ай бұрын
In real time systems, I imagine it is much less of an issue because you dont have any heap allocation, but what about issues with indexing out of bounds of an array, erroneous use of unions, issues with void pointers, stuff which doesn’t require heap allocation to cause memory safety vulnerabilities?
@antifa_communist15 күн бұрын
Absolutely nonsense. Rust is 100% safe (without using unsafe Rust). C and C++ are unsafe languages. What's next? Is 1 + 1 = 3?
@titanandrews4 ай бұрын
So tools are not good enough to find memory bugs, but tools are good enough to convert C to Rust? What a bunch of dunce heads.
@hewhointheearthlydomainsee12724 ай бұрын
I hope they share. It would be nice.
@michaelutech47864 ай бұрын
If you could automatically transform C into safe Rust, then you wouldn't have to convert it. If they use LLM for a creative transformation, how are they planning to cope with hallucinations? For me, Rust is incredibly hard to read. I am fluent in many system programming languages, I know the technologies used in system programming. When I read Rust or C++ code, I get angry because I feel that stuff is unnecessarily cryptic and confusing. This is not to say that Rust is a bad language. It most certainly is not. It's fast, it eliminates most memory safety issues. Rust programmers love it. C code is easy to understand unless the developer has skill issues or uses strange idioms. There are a lot of developers with such issues. What happens if you let loose such developers on a Rust code base? Who is supposed to understand such code? Sure, you may have solved the memory safety problem. But what about all the other problems that are just as problematic? I would rather see a language like Zig replacing C. It would make a gradual transition trivially easy. It does not solve the memory safety problem, but mitigates it. It has the same abstraction level as C but offers much more comfort and is more expressive. It is as easy to understand as it gets (for a system programming language that is).
@tychoides4 ай бұрын
Agreed. Zig is better to replace C. But in my case, data processing without async, Rust is more ergonomic and almost feel high level, and this is coming from a Python guy. But I don't write fancy Rust. I am a user not a library builder. Therefore,I don't use polymorphism in general, so no traits or complex lifetimes of convoluted data types. Just functions and calls in main, as the Lord intended. So I write Rust like C and I like it. But there is Rust there that is surely written by a C++ dev, stuff that really need a day or a week to understand what is going on. So I understand you point. But is not unique of Rust. C++ is guilty of that. And functional languages have also a large amount of people that think is clever by doing puzzle solving what should be a simple loop.
@michaelutech47864 ай бұрын
@@tychoides You condensed what I wanted to express very nicely. Rust actually feels like a redo of C++, while Zig is a redo of C. You programming Rust C style reminds me on using C++ C style (as a consequence of trying C++ style C++ and despairing while looking at the result). I spend 2/3 of my three decades programming in higher level languages (Eiffel, Java, C#, TypeScript and others) and I liked it and the other third mostly in C. When I tried to learn Rust I didn't like it at all. It just feels dirty. Then I saw Zig and fell in love. It made me rediscover the feel of programming a computer instead of modelling abstractions. That might not be as productive, but it's more fun, at least after spending so much time on the other side of the moon. I doubt though that whatever software the White House uses is properly described as system software. I actually expected them using Excel and doing VB scripting. What are they using C for?
@Avalk4 ай бұрын
My jaw dropped after I played this video and found out this wasn’t a meme
@richardvonlehe45814 ай бұрын
I've seen what an established code converter has produced converting C# to C++. It was awful. It was meant to help speed the rewriting process, but it ended up getting mostly discarded.
@michaelmorris23004 ай бұрын
I'm sure most who have flown on an aircraft have put some of their lives in the hands of ADA. Well military pilots definitely have. Critical systems are written in ADA. I'm a C/C++ software engineer, and its not just memory, but also types, and type conversion. This aspect is easily dealt with by the Pascal type languages. Grammar and idioms and then the toolchain. Thats all there is. This understanding would be straightforward if you use LLVM tool chain, or transpile anything.
@SpikeRazorshards4 ай бұрын
You were great in The Punisher Season 1.
@notreallyme4254 ай бұрын
Are they still using legacy Ada code?
@hermestrismegistus91424 ай бұрын
My opinion of the government just improved by two segmentation faults.
@dadlord6894 ай бұрын
Tractor Contractor. Danm, sounds like Robocop
@4115steve4 ай бұрын
yes, it probably is the end of C and C++ in critical infrastructure
@romangeneral234 ай бұрын
Lol, no
@alejandroioio67844 ай бұрын
Sure, maybe in 3000 years is done, then they will find some problem with Rust and then they will move to another language for 3000 years more
@perc-ai4 ай бұрын
Why not zig.
@rayrwyr4 ай бұрын
DARPA's own do-all language was Ada.
@adamodimattia4 ай бұрын
If DARPA does so, that definitely end of C, at least in many zones.
@skydandelion25604 ай бұрын
Will they Fix Compile time. It's not a big deal, i mean if they will, it would be great too!
@adrianscarlett4 ай бұрын
It sounded to me like they are looking at methods to automate the translation.
@nakatash19774 ай бұрын
Why not Zig?
@GaryJohnWalker14 ай бұрын
Hopefully goes better than the Ada initiatives
@NuflynMagister4 ай бұрын
Дякую, Богдане!
@wissensfrosch4 ай бұрын
Usually, rewriting code introduces new bugs. It is not a good idea to do it. That‘s why TRACTOR tries to automate that process. LLMs will not help with this as they hallucinate too much and thus will also introduce new bugs. Anybody who understands AI just a little bit will not rely on it to make software safer (other than providing suggestions to a human programmer). However, any automatic tool will have to solve the problem of making unsafe code safe in order to convert potentially unsafe C code to safe Rust code. Once this problem is solved, we have the tools available that we could make C safe just by using these tools. Then we don‘t need to rewrite anything and don‘t introduce bugs, but just make existing code safer.
@jonscaplan2 ай бұрын
Agree that correcting unsafe C code is a hard problem. A big part is that the intent of the code may be ambiguous without knowing what the program's goals and constraints are. If a pointer use after free is detected, is the bug that the pointer was used too late or that it was freed too early? What do you do with code where the standard says the correct behavior depends on target? (size of int, ...) Should not checking for overflow be an error, a reasonable performance decision given knowledge of inputs, or is rolling over fine or even intended? etc
@ArnabAnimeshDas4 ай бұрын
Some constructs in C are simply not possible in Rust and idiomatic Rust code is simply very hard to produce automatically when converting from C. I wonder if they will be able to pull it off.
@arubaga4 ай бұрын
I think eventually Zig will kidnap C; eat it all up. 😅
@theevilcottonball4 ай бұрын
Nope, I think C will get 100 years old...
@tacorevenge874 ай бұрын
Love zig.
@RiwenX4 ай бұрын
Zig is the current thing, lol
@tychoides4 ай бұрын
For some stuff yes. I took a look to Zig. The syntax is ok. I prefer Rust the stuff I do as manual memory management is still a bother in Zig. I use Rust for data processing and simple algorithms and business logic that cannot be vectorized with Python numerical libraries.The lifetimes are simple and functional features work great, so I let the compiler do its work and feels great. It feels high level. Zig is close to the metal like C. I think that Zig will replace in new projects that need a bit more safety and good control of memory. Also it is better than C + macros. If you use C macros, stop it, you need help, used comptime in Zig.
@zoltanberkes85594 ай бұрын
I'm sure GPT 8 or 10 will be able to do this translation and it even won't need any darpa support. Until that: good luck to write an automated tool! 😂
@emperorpalpatine60804 ай бұрын
Yes I'm sure gpt 10 will be able to make sense of it's training data set which has all the bullshit from the previous gpt versions and other AIs to produce accurate conversion . 😂
@melodyogonna4 ай бұрын
You already know the effort will fail
@orbitalair21034 ай бұрын
The FAA needs to allow Rust for avionics under DO-178C.
@MichaFita4 ай бұрын
Ferrocene will get there.
@edbail43994 ай бұрын
Rust never sleeps
@rezwhap4 ай бұрын
Many languages can be transpiled between without a major redesign of the software. This is not true targeting Rust. It will require some seriously deep AI understanding. I hope they succeed, but there’s room to be skeptical.
@StephenMinkin4 ай бұрын
Do any of you actually know the memory safe concern?
@testtest-co9hk4 ай бұрын
skilled rust developer = chatgpt + c developer using rust;
@simplescreem55304 ай бұрын
Thing is now we need higher level program that are rust based...
@donwinston4 ай бұрын
Can I assume that Rust and an average software engineer are capable of actually doing this? I'm sure it would be an improvement but how much of an improvement can we expect? Is that amount of extra improvement worth the cost of doing this?
@donwinston4 ай бұрын
Some people in the comments are saying this is just an experiment and not a wholesale code rewrite of everything in the Defense Department. In that case go for it.
@christianm49064 ай бұрын
Good luck with that
@lucianobestia4 ай бұрын
Oh no, now the government will implant backdoors in Rust.
@clarkd19554 ай бұрын
I heard this same kind of mandate from the US government to use Ada. Firstly, the US government knows nothing about code or computer languages. Second, this initiative won’t work any better than Ada did some 50 years ago. Memory problems aren’t a C or a C++ problem. Poor programmers are the problem and Rust is at least as hard to get right as C++.
@StephenMinkin4 ай бұрын
It's not the work persay that is the fear with government stuff. It's the responsibility....
@joshelguapo55634 ай бұрын
I mean let's also just convert all birch to mahogany, or all steel to aluminum while we're at it.
@Korrmet4 ай бұрын
Why do they need it? Do they have the same infrastructure written for C but for Rust? They need: 1) Applied safe coding standards. 2) Certified compiler for all of that grandpa's processors. 3) Certified checking tools. That's the bare minimum to apply Rust language. Also, what advantage of using Rust in front of C or Cpp?
@edgardcz4 ай бұрын
why not in Java or Swift?
@jongeduard4 ай бұрын
I would not advice to replace most C and C++ code by some GC language, at least when it needs to be systems level or very performance oriented. And alright Swift is not a true GC language as far as I understand, but Rust still outperforms it. And in't Swift an Apply-only thing mostly (not sure here)? I also think that Rust may not be the best for everything, GC languages have their place too, but just not for low level stuff.
@me_12-vw1vi3 ай бұрын
@@RustIsWinningalright that one was funny lol
@StephenMinkin4 ай бұрын
Likely cleanup
@clusterdriven4 ай бұрын
This is great! thanks for sharing
@smwnl90724 ай бұрын
I think there will be a new language. One that incorporates the safety of rust and legibility of functional languages. I'm more productive in a language that is as close to "natural English" as possible. This way, you don't need do "context switching" in your mind, coding becomes natural like writing plain instructions. For me, the file system in rust is not really intuitive. My file system/directory experience is with C#/F#. I don't really like the python like syntax as well. I prefer pascal/camel case. I also don't like the keywords abbreviation. Like fn & mut.. The build is also slow. With that said, I last touched rust almost a year ago and probably I'm not versed in it yet.
@danh56373 ай бұрын
That’s lucrative work. Remember military spending is always bottomless! 😂
@CODEDSTUDIO4 ай бұрын
Skills Issues 😂😂🤣
@ceddymuhoza4 ай бұрын
my boy Joe Biden is working overtime on this one 😂😭😭
@batcat9k4 ай бұрын
dat hair
@BenjaminWheeler05104 ай бұрын
You lost me at "automate." Rust and C have completely different coding styles... How do we produce Rust code that follows best practices and conventions? I guess you don't have to lol, who needs Result? Maybe they *just* want the borrow checker for now.
@ARS-fi5dp4 ай бұрын
Awesome 👌 👏
@al30304 ай бұрын
They are looking into the idea, not impementing it😅
@niamotullah994 ай бұрын
After US gov spelling Rust trust of Rust got little less
@JeffCaplan3134 ай бұрын
Am I the only person who thinks this is, perhaps, the dubmest thing the government has ever done?