Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Which programming language for MSFS

Featured Replies

Hi,

with which programming language can I access the msfs sdk to programm stuff for msfs? Do I need objectoriented languages like c++ or can I use other languages either?

  • Replies 35
  • Views 16.1k
  • Created
  • Last Reply

Mostly web... It's all webish like the hell...

 

Search for Web Assembly...

 

Mostly C++ or C#...

 

Look here: https://docs.flightsimulator.com/html/index.htm#t=Programming_Tools%2FProgramming_Tools.htm

Edited by jcomm

Flying gliders since 1980

Flightsimming since 1992

AMD Ryzen 5600x, 32GB RAM, GPU Nvidia RTX 3060 Ti 8 GB, 1 TB and 500 GB nvme2 SSD drives, HP 27" 60Hz LED monitor @ 1920x1080, T16000, Hotas from old X52 Pro, Saitek Combat Rudder Pro (2010 model)

For avionics as well running in inside the sim, JavaScript as well as wasm (c++ or rust compiled to wasm). Though JavaScript has more a first class citizen support in the sim.

Running outside the sim, any language you like as long you can access the simvars.

AMD Ryzen 7 7800X3D, 64GB DDR5 6000MHZ RAM, RX7900XT, FreeSync 165hz 1440p display 

... that's we have come too - essentially writing in HTML.

coding, a lost art.

CPU: Core i5-6600K 4 core (3.5GHz) - overclock to 4.3 | RAM: (1066 MHz) 16GB
MOBO: ASUS Z170 Pro |  GeForce GTX 1070 8GB | MONITOR: 2560 X 1440 2K

21 minutes ago, Mike S KPDX said:

... that's we have come too - essentially writing in HTML.

coding, a lost art.

Since when JavaScript became HTML, what nonsense is that?

AMD Ryzen 7 7800X3D, 64GB DDR5 6000MHZ RAM, RX7900XT, FreeSync 165hz 1440p display 

Just use COBOL, my instructors in college 40 years ago swore it was all I should ever need.

I9-13900kf - rtx4090

32gb ddr5 4800mhz, 2TB M.2 PCIe NVMe SSD

internet - 300+ mbs / Honycomb Alpha yoke / Saitek Throttle

Dell 43” 4K 

So you're saying my BASIC coding skills won't allow me to create a "study level" An225 any time soon?

 

"I am the Master of the Fist!" -Akuma
 

Here ya go - a friend told me this is making a big comeback - https://medium.com/@axayjha/getting-started-with-masm-8086-assembly-c625478265d8


i7 [email protected] | 32GB RAM | EVGA RTX 3080Ti | Maximus Hero VII | 512GB 860 Pro | 512GB 850 Pro | 256GB 840 Pro | 2TB 860 QVO | 1TB 870 EVO | Seagate 3TB Cloud | EVGA 1000 GQ | Win10 Pro | EK Custom water cooling.

For the OP, the link that jcomm gave is all you need to find out what you're up against (though I find his comments not totally useful).  That being said, the nature of your question reveals that the learning curve you're about to face is best described as a cliff, enjoy!

Edited by TheFamilyMan

CPU: AMD 9800X3D PBO MB +200 CO -25| Motherboard: MSI MAG X870e Tomahawk WiFi | GPU: MSI RTX 5090 Ventus 3X OC | RAM: G.Skill 2x32GB DDR5 6000 cas 30 | M.2 SSDs: Samsung 990 EVO Plus 2T, WD Black SN750  M.2 1T | Hard Drive: WD Black HDD 6T 7200 | Optical Drive: LG Bluray writer, internal | Cooling: Thermalright Phantom Spirit 120 EVO | Case: Fractal Design Focus G | PSU: NZXT C1200 1200W

Win 11 Pro 64|HP Reverb G2 revised VR HMD|Asus 25" IPS 2K 60Hz monitor|Saitek X52 Pro & Peddles|TIR 5 (now retired)

3 hours ago, Paul J said:

Here ya go - a friend told me this is making a big comeback - https://medium.com/@axayjha/getting-started-with-masm-8086-assembly-c625478265d8

Oh my god, why did you have to remind me about segmented address space 16 bit processors? Now that's a bad dream that's best forgotten.  Long live the 68000!

Edited by TheFamilyMan

CPU: AMD 9800X3D PBO MB +200 CO -25| Motherboard: MSI MAG X870e Tomahawk WiFi | GPU: MSI RTX 5090 Ventus 3X OC | RAM: G.Skill 2x32GB DDR5 6000 cas 30 | M.2 SSDs: Samsung 990 EVO Plus 2T, WD Black SN750  M.2 1T | Hard Drive: WD Black HDD 6T 7200 | Optical Drive: LG Bluray writer, internal | Cooling: Thermalright Phantom Spirit 120 EVO | Case: Fractal Design Focus G | PSU: NZXT C1200 1200W

Win 11 Pro 64|HP Reverb G2 revised VR HMD|Asus 25" IPS 2K 60Hz monitor|Saitek X52 Pro & Peddles|TIR 5 (now retired)

4 hours ago, FrankR409 said:

Just use COBOL, my instructors in college 40 years ago swore it was all I should ever need.

That's what one instructor said to me too. You'll never be unemployed if you know COBOL (ie common business language used in banks).  But, I ignored that advise after a semester of punch cards. 

Hardware: i7-8700k, GTX 1070-ti, 32GB ram, NVMe/SSD drives with lots of free space.
Software: latest Windows 10 Pro, P3Dv4.5+, FSX Steam, and lots of addons (100+ mostly Orbx stuff).

 Pilotfly.gif?raw=1

1 hour ago, TheFamilyMan said:

For the OP, the link that jcomm gave is all you need to find out what you're up against (though I find his comments not totally useful).  That being said, the nature of your question reveals that the learning curve you're about to face is best described as a cliff, enjoy!

This could be the understatement of the century... lol

https://docs.flightsimulator.com/html/index.htm#t=Additional_Information%2FFlight_Model_Physics.htm&rhsearch=depth&rhhlterm=depth&ux=search

 

Hardware: i7-8700k, GTX 1070-ti, 32GB ram, NVMe/SSD drives with lots of free space.
Software: latest Windows 10 Pro, P3Dv4.5+, FSX Steam, and lots of addons (100+ mostly Orbx stuff).

 Pilotfly.gif?raw=1

3 hours ago, Paul J said:

Here ya go - a friend told me this is making a big comeback - https://medium.com/@axayjha/getting-started-with-masm-8086-assembly-c625478265d8

The AMD and Intel processors we use for Win10 gaming all use the AMD64 assembler - even if the hardware happens to be Intel.

I believe the only Intel processors that ever used Intel 64 was a few of the older Xeons with Linux - at least as far as I know, assembly languages for servers is a wee bit outside my area.

AMD64 is actually an extension of the original X86 assembler but with a lot more registers and a lot more features.

Edited by Glenn Fitzpatrick

  • Commercial Member
12 hours ago, 737_800 said:

Hi,

with which programming language can I access the msfs sdk to programm stuff for msfs? Do I need objectoriented languages like c++ or can I use other languages either?

That depends on what you do. 

If you want to create programmatic addons that use SimConnect, then you need C++ when they are running inside the sim (aircraft systems modules, gauges). The C++ code is compiled into WASM by the MSFS plugin in VisualStudio (2017 and 2019 are currently supported). If the module is running outside of the sim you can use C++ or C# natively, and there are SimConnect wrappers for other languages out there too.

If you are creating aircraft instruments, it is HTML with Javascript.

If you need to write Animation code it is XML with RPN.

...and all combinations and variations of the above...

Edited by Lorby_SI

LORBY-SI

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.