Nasal for C++ programmers: Difference between revisions

Jump to navigation Jump to search
m
m (Update forum links)
Line 156: Line 156:
== Some words on Nasal for fellow C++ programmers ==
== Some words on Nasal for fellow C++ programmers ==


Compared to C++, there is really nothing "low quality" about Nasal per se: Nasal is just the "script glue" that connects different parts of the simulator: Many Nasal scripts leverage C++ code - and it is very easy to add new C++ code that can be called from Nasal. So this is a perfect option to combine the speed of C++ with the flexibility of scripting.
Compared to C++, there is really nothing "low quality" about Nasal per se: Nasal is just the "script glue" that connects different parts of the simulator: Many Nasal scripts leverage C++ code - and [[Nasal/CppBind|it is very easy to add new C++ code]] that can be called from Nasal. So this is a perfect option to combine the speed of C++ with the flexibility of scripting, see [[Nasal/CppBind]] for details.


History has shown, that most code in FlightGear will eventually be made more configurable and more accessible, this usually happens in the same steps:  
History has shown, that most code in FlightGear will eventually be made more configurable and more accessible, this usually happens in the same steps:  

Navigation menu