Project-ARTist / meta

Meta repository for matters related to more than one repository or even the whole project as such.
2 stars 0 forks source link

Module SDK and dynamic loading #3

Closed schrnz closed 6 years ago

schrnz commented 6 years ago

We want to be able to write modules without requiring to compile them with/into the compiler and load them dynamically.

One possible approach is to create a module sdk that is used to create and compile modules as regular c++ projects without the need to ever touch the compiler. The idea is that the resulting compiled module registers itself with the compiler so that we can not only control externally which of the modules in the compiler are executed (see Project-ARTist/ARTist#4 ) but actually move the module code out of the compiler and only have module-agnostic code in there.

There are multiple advantages:

  1. Developing modules does NOT require building (in the context of) AOSP anymore, which lowers the gap to use artist tremendously.
  2. We can load or unload modules from the GUI (see also Project-ARTist/ARTist#4)
  3. Modules can be separate projects and do not bloat the ARTist codebase.

(moved here from Project-ARTist/ARTist#5)

Affected Projects

schrnz commented 6 years ago

This issue is the major blocker for the Beta Launch milestone. Actually, there will be a lot of changes and also new repositories will be created in the process, so this is more like the initial issue that will later split into more precise ones.

schrnz commented 6 years ago

Finished, done and merged =)