Sorry for opinion-based question, but I'm a newbie in C++ so I'm not able to make decisions on my own yet :-)
Today I've done a proof of concept of live reload C++ code that could be okay for level editors / scripts and so on. I think there're a lot of people who also use such mechanism in their game editors.
What do you think about it? How do you keep the save of app when it changes? What problems does it have? Is it better for you than lua/python/js?
I see the next advantages:
- After I've done with experiments, I can just include source code to my project and compile it statically.
- I can use all low-level API that, usually, is not available in scripting languages.
- Should work fast (but I haven't measured yet).
- Full-featured IDE is available (in Python I have some problems with autocomplete, JS also doesn't know about types/etc, for your own script you I also need my own IDE :-) ).
- I'm not sure that it's fast yet (virtual functions, dynamic linking).
- I'm not sure it's stable yet. Perhaps, between reloading it'll give me some kind of segfault. But not in my hello worlds it's still stable :-/
- Perhaps, C++ is not good at scripting? :-/
Edited by petya-kurochkin, 20 April 2017 - 12:38 PM.