Navigate Select ESC Close

TRACTOR - C to Rust AI Compiler By DARPA

2024-08-21 Science & Technology
116.4k
2.9k
511
ThePrimeTime
ThePrimeTime
1.1m subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

Recorded live on twitch, GET IN ### Article https://thenewstack.io/can-darpas-tractor-pull-c-to-rust-for-memory-safe-overhaul/#:~:text=%E2%80%9CNot%20surprisingly%20it%20is%20DARPA,he%20told%20The%20New%20Stack. By: Darryl K. Taft ### Guest Low Level Learning | https://www.youtube.com/@LowLevelTV ### My Stream https://twitch.tv/ThePrimeagen ### Best Way To Support Me Become a backend engineer. Its my favorite site https://boot.dev/?promo=PRIMEYT This is also the best way to support me is to support yourself becoming a better backend engineer. MY MAIN YT CHANNEL: Has well edited engineering videos https://youtube.com/ThePrimeagen Discord https://discord.gg/ThePrimeagen Have something for me to read or react to?: https://www.reddit.com/r/ThePrimeagenReact/ Kinesis Advantage 360: https://bit.ly/Prime-Kinesis Get production ready SQLite with Turso: https://turso.tech/deeznuts

Top Comments (10)

@fiendishhhhh 2024-08-21

Do not hallucinate.

347 10 replies
@subrezon 2024-08-21

You have to assume that whatever gets adopted by the government will never be upgraded or replaced, unless you're fine with a great deal of pain and expenses. Which is why ANYTHING to do with AI in this decade should NOT be touched by any government on Earth.

281 22 replies
@daltonyon 2024-08-21

LowLevelAgen

143 1 replies
@tashgordon 2024-08-21

The DoD has a history of attempts of translating code from language A to language B. All of these attempts failed, as a shocker to nobody. In the mix were C, Ada or Java in the early 2000s. At some point they realized they cant do without a low level systems programming language like C++, so they employed the man himself Bjarne to write some safe code guidelines for what is now known as the Joint Strike Fighter program. Every experienced devs will tell you, code is only as good as it is maintained. And that is the core issue of these humongous DoD/government code bases: they get shit out by LockMart and Co but years down the line its extremely challenging to maintain it. In a safety context, where even the compiler needs to be certified to create the correct output, you cannot just feed it with a statistical error creating machine that is a LLM and call it a day.

126 8 replies
@alexnoman1498 2024-08-21

bare Metal to Rust? There's a joke in there somewhere.

75
@psteven5 2024-08-21

imagine hating C so much you’d prefer a dream-powered transpiler to Rust

54 12 replies
@Heater-v1.0.0 2024-08-21

Ha! Twenty years ago I was hired for a 9 months contract to rewrite some thousands lines of bare metal x86 assembly language in C and adapt it to run under a real-time operating system. It worked very well and is still in service today. However still today people occasionally ask me questions about how it works or why it works as it does. I have no idea, never did have. There were no requirement docs or tests for the original assembler version. There were almost no comments in there either. As far as I know nobody ever dared working on that new shiny C code.

52
@alc5440 2024-08-21

I agree with the general pessimism on the outcome but I don't think this is an instance of government misunderstanding the technology. DARPA's mission is to invest in moonshot projects that would be bolster national security if successful but would struggle to get funding elsewhere (usually because they're too risky). This is exactly the type of project they should be investing in.

29 1 replies
@TheSulross 2024-08-21

The known universe is based near entirely on C ABI boundaries

29 1 replies
@Combat_Corgi 2024-08-23

“70% of exploits are memory exploits” Social engineers: 🙂

13 3 replies

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot