Hacker News new | past | comments | ask | show | jobs | submit login

There are any number of DSLs that are Turing-complete...



True. That doesn’t answer my question though. Can you give an example of a practical problem you can solve in Objective-S that you can’t solve in (say) C++?


Yes it does answer your question.

1. Anything that can be solved in any one Turing-complete language can be solved in any other Turing-complete language.

2. Both of these are Turing-complete languages, so obviously anything that can be solved in one can be solved in the other.

3. Lots of domain-specific languages are also Turing-complete, so anything that can be solved in C++ or Objective-S can be solved in them and vice versa.

4. It thus follows that (a) "can be solved" vs. "cannot be solved" is not a useful criterion for distinguishing between Turing-complete languages. Or that (b) there are no relevant differences between Turing-complete languages.

5. My money is on 4a.


OK so the claim that Objective-S is more general purpose than other languages is wrong then. Thanks for clarifying that.


No it isn't.

I could just re-post the post you replied to, as it is explained there, but that probably won't help at this point... ¯\_(ツ)_/¯




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: