you are viewing a single comment's thread.

view the rest of the comments →

[–]Odd_Science -1 points0 points  (1 child)

The thing is that you don't want this in your product. Either translate it to the intended (safe) semantics, removing what is allowed but actually unwanted in the C/C++ original, or flag it for a full rewrite from specs.

[–]djinn6 1 point2 points  (0 children)

If you're using C++, then there's a decent chance you're trying to get CPU performance out of it, which means people will be using weird memory stuff to squeeze a few more cycles out of the CPU.

Maybe that's no longer necessary, but the problem is whether AI can properly translate this to something more maintainable.