The TrapC compiler can avoid most memory-safe-pointer boundary checks by using AI code reasoning

2 years ago by 0xDEADBEEFCAFE to c/programmingcirclejerk

TrapC extension promises to enable recompiling legacy C code into executables that are safe by design and secure by default with minimal code refactoring.

Turns out we don't need a borrow checker after all. We can just use vague "AI code reasoning". This seems highly credible and I'm sure we're going to see a fully functional compiler and source release within the next 10 decades.

_stranger_ 14 points 2 years ago

Why write dozens of lines of C when you can set the planet on fire to summon an edge case bug generator instead!

path: 0 15691006, hotness: undefined, score: 14, children: 0
crmsnbleyd 8 points 2 years ago

Rowe told us this week — “The thing about union is it is widely used in C for SSO Short String Optimization… more common than I’d thought.”

surely a good idea to let this guy design a C compiler

path: 0 15703406, hotness: undefined, score: 8, children: 0
Binette 6 points 2 years ago

Did you ask AI if it was a good idea?

path: 0 15696032, hotness: undefined, score: 6, children: 0
programmingcirclejerk
programmingcirclejerk

@programming.dev

login for more options
304
53
1

Community to talk about enlightened programming takes

Rules:

  • read and follow the programming.dev code of conduct
  • no flamewars
  • mark your unjerks
  • only programming related content allowed
  • link to the original source
  • do not mention this community in places like hackernews, lobste.rs, or the general programming communities on Lemmy where we source jerk material from.

go to feed...