Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module SDK and dynamic loading #3

Closed
3 of 8 tasks
schrnz opened this issue Sep 29, 2017 · 2 comments
Closed
3 of 8 tasks

Module SDK and dynamic loading #3

schrnz opened this issue Sep 29, 2017 · 2 comments
Assignees
Milestone

Comments

@schrnz
Copy link
Member

schrnz commented Sep 29, 2017

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 API for controlling modules from outside the compiler ARTist#4)
  3. Modules can be separate projects and do not bloat the ARTist codebase.

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

Affected Projects

  • ARTist
  • art
  • ArtistGui
  • dexterous
  • monkey-troop
  • Codelib
  • codelib-gen
  • other: new repo for module sdk, I guess
@schrnz
Copy link
Member Author

schrnz commented Mar 24, 2018

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.

partipan-dot added a commit to Project-ARTist/ARTist that referenced this issue Apr 7, 2018
partipan-dot added a commit to Project-ARTist/ARTist that referenced this issue Apr 7, 2018
partipan-dot added a commit to Project-ARTist/art that referenced this issue Apr 7, 2018
- add new command line argument to pass dynamic modules
	to dex2oat

relates to Project-ARTist/meta#3
partipan-dot added a commit to Project-ARTist/ArtistGui that referenced this issue May 12, 2018
partipan-dot added a commit to Project-ARTist/ArtistGui that referenced this issue May 26, 2018
schrnz pushed a commit to Project-ARTist/ArtistGui that referenced this issue Jun 10, 2018
schrnz pushed a commit to Project-ARTist/ARTist that referenced this issue Jun 10, 2018
schrnz pushed a commit to Project-ARTist/ARTist that referenced this issue Jun 10, 2018
schrnz pushed a commit to Project-ARTist/art that referenced this issue Jun 10, 2018
- add new command line argument to pass dynamic modules
	to dex2oat

relates to Project-ARTist/meta#3
schrnz pushed a commit to Project-ARTist/art that referenced this issue Jun 10, 2018
- add new command line argument to pass dynamic modules
	to dex2oat

relates to Project-ARTist/meta#3

(cherry picked from commit d04dfba)
schrnz added a commit to Project-ARTist/ArtistGui that referenced this issue Jun 10, 2018
partipan-dot added a commit to Project-ARTist/ArtistGui that referenced this issue Jun 15, 2018
@schrnz
Copy link
Member Author

schrnz commented Jun 22, 2018

Finished, done and merged =)

@schrnz schrnz closed this as completed Jun 22, 2018
partipan-dot added a commit to Project-ARTist/art that referenced this issue Sep 8, 2019
- add new command line argument to pass dynamic modules
	to dex2oat

relates to Project-ARTist/meta#3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants