Hello there, fellow programmers! I am an Aeronautical Engineering student who is doing research on Multidisciplinary Optimization (MDO) since the beginning of this year.

All the code I’ve written so far is in Python, but I want to move it to C so I can learn more about low level programming and so I can have more control over what my code actually does (since it is an MDO code, it needs to be very optimized because every 0.5 seconds added to each iteration add 500 seconds over 1000 iterations (9 minutes!)). I am taking an online course on C from edX, but I still cannot understand how to actually substitute objects for C compliant code. The main problem is that my original code uses lots of objects, and I simply do not know how to eliminate objects from my code.

Can someone help me? Any help is welcomed.

[edit] Thanks for all your answers, I think I’m getting it now.

  • ATGM 🚀@beehaw.org
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Is this community going to be for noon questions and people who won’t read tutorials?

    Just trying to decided if I should block it like the noob only programming reddits.

    • The_Terrible_Humbaba@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I’m neither a mod nor an admin, but, as far as I know, all the communities on Beehaw are supposed to be very general and not too specific one way or another. This is due to the relatively low numbers of the platform.