Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3875142
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T22:13:57+00:00 2026-05-19T22:13:57+00:00

Is there a way to compile Objective-C code to C? I’d be interested to

  • 0

Is there a way to compile Objective-C code to C? I’d be interested to know how various things are really represented under the hood, but I’m uncomfortable in dealing with Assembly.

For example, I read in a book that methods were represented as functions with unique names based on the class and method name, and that the id type is defined a struct with a single member (isa). Is it possible to view this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T22:13:57+00:00Added an answer on May 19, 2026 at 10:13 pm

    I read somewhere that Objective-C once was implemented as a preprocessor over C, but it’s not the case anymore. While the runtime is accessible in C, I don’t think there’s a way to generate C code from Objective-C code with modern compilers (though it is probably technically feasible without things getting too ugly).

    There are, however, a few relics of that past. If you right click id and select Jump to definition, you’ll see the typedef. If you debug your code and look at the structure of an object, you’ll see that its first field is always the structure of the superclass, and that it goes all the way up to isa. And Apple provides documentation on the runtime that can give you some insight on how things work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there an easy way to compile c code in visual studio 2005? Its
I have the following code that won't compile and although there is a way
Is there a way to compile multiple java source directories in a single maven
Is there a way to compile a .vbproj or .csproj project file directly, just
Is there a way to have the compile deduce the template parameter automatically? template<class
Assume I have created a compiled re: x = re.compile('^\d+$') Is there a way
Is there a way to compile a GWT application so that all the files
So is there a way I can share whole environment, edit, compile and execute
Is there a way to utilise the GCC compiler whilst still being able to
Is there a way you can run your UnitTest project against a compiled DLL

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.