Alex Rivera | Logout

Are LINQ expression trees Turing complete?

Asked 2008-10-30T14:37:16.293
11

As they are in .Net 3.5. I know they are in 4.0, as that's what the DLR works with, but I'm interested in the version we have now.

Edit
Report

1 Answer

4

Without defining the thing that will execute the tree, we don't know. In the CLR's own interpretation (when you compile them into delegates) they are. But if you translate them into SQL, they are not, and you can invent your own confusing interpretation of them with whatever properties you like.

Until you've decided how to interpret them, they're just data structures.

answered 2008-12-01T09:20:33.743

Your Answer