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

Code Reloading BIFs #150

Open
14 tasks
KronicDeth opened this issue Jun 7, 2019 · 2 comments
Open
14 tasks

Code Reloading BIFs #150

KronicDeth opened this issue Jun 7, 2019 · 2 comments
Labels
enhancement An enhancement to existing functionality or new functionality help wanted We'd love your help getting this one done! runtime/bifs

Comments

@KronicDeth
Copy link
Collaborator

Lumen being Ahead-of-Time compiled will likely never support code reloading, but we may need to stub this out to at least return exceptions or errors with code that expects then to exist.

  • call_on_load_function/1
  • check_old_code/1
  • check_process_code/2
  • check_process_code/3
  • delete_module/1
  • finish_after_on_load/2
  • finish_loading/1
  • has_prepared_code_on_load/1
  • load_module/2
  • loaded/0
  • module_loaded/1
  • pre_loaded/0
  • prepare_loading/2
  • purge_module/1
@KronicDeth KronicDeth added enhancement An enhancement to existing functionality or new functionality runtime/bifs labels Jun 7, 2019
@bitwalker
Copy link
Collaborator

I think we can probably just stub these out with unimplemented!(), it is safe to abort/panic if these are ever called until we eventually design/build a JIT for Lumen.

@KronicDeth
Copy link
Collaborator Author

erlang:loaded/0 is called in erts/preloaded/src/erl_init.erl

@bcardarella bcardarella added the help wanted We'd love your help getting this one done! label Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement to existing functionality or new functionality help wanted We'd love your help getting this one done! runtime/bifs
Projects
None yet
Development

No branches or pull requests

3 participants