PyroFlareX / Vinegar

My multi-platform rendering engine. Requires C++14.
1 stars 0 forks source link

Potential Additions #12

Open PyroFlareX opened 4 years ago

PyroFlareX commented 4 years ago

Scripting API: C++ scripting, C#, Python, lua, etc.

Added for configurability

Plug-ins?

blockspacer commented 4 years ago

cling based C++ as scripting language / hot code reload Why? Able to run C++ script in runtime or compile it for max speed ( as in example https://github.com/derofim/cling-cmake ) Also: May be used to improve modules compile time

HOT code reload possible approaches:

store app state fix cling undo for files https://root-forum.cern.ch/t/loading-unloading-class-as-interpreted-macro-in-cling-multiple-times/32976/2

execute cling code to change callbacks & variables nested cling::Interpreter with multiple cling::MetaProcessor IDK how to do it, but you can create child cling::Interpreter

PyroFlareX commented 4 years ago

I have not heard of this before. Having Cling support seems like a great idea! I am going to look into it, thank you for the suggestion.