Jump to content

Programming Languages of choice for FS Addons


Guest Fuerteventura

Recommended Posts

Guest Fuerteventura
Posted

I'm sure one of PMDG's developers can help me out here. I assume that for programming the PMDG Aircraft, C+ will be used. I'm about to start a job where I'll be fully trained in Java - is it possible to create good FS Addons in Java (aircraft, scenery or other) or is C the only real solution?Many thanks,Mark

Posted

Depends on your addon, and what its requirements are. For example, if the addon requires code in the "modules" directory, then you need to use a language that can create a Windows .dll with appropriate interfaces. C++ or C would be suitable, Java would not.What, specifically, are you looking to do?- Bill

- William Ruppel, CYTZ, VATSIM 816871

  • Commercial Member
Posted

Mark,many years ago when I had to learn to programme Java (which later on turned out that I have NO talent for programming at all) they told me over and over again that Java and C++ are very similar. So I guess once you are a pro in coding Java you'd have a big advantage once you start doing C++. It is my understanding that Java can NOT be used for gauge-programming.Regards,Markus

Markus Burkhard

 

Posted

Markus,As a senior member on a very large team that develops in C++ and Java, my experience has shown: going from C++ to Java is relatively trivial. The other direction... is not. :)C++ has many quirks and pitfalls, many of which are a result of the legacy requirements of C. One of the biggest issues Java programmers have with C++: heap management. Another biggie is legacy "return code" error control paradigms (although that wouldn't be a problem for a new project).- Bill

- William Ruppel, CYTZ, VATSIM 816871

Posted

HeyI study software engineering in college, I have studied Java before and done a small amount of C++, I was wondering if it were possible for you guys to give me links to some topics/tutorials/books on guage and module programming for flight sim. I figure its a good way to learn some more programming skills and design my own FS stuff at the same time.Thanks Guys,Patrick.

Posted

Patrick,I used to have a good tutorial on this some time ago. A quick google and it seems you need to look for a tutorial written by Dai Griffiths of Dragonflight Design. The latest revision of this document was 17 and included the FS2004 SDK.EDIT: A little more search revealed a rev 18 and it's right here in the AVSIM library: http://library.avsim.net/search.php?Search...=root&Go=SearchHappy studying,

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...