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

feat: Standalone and language independant #52

Open
ryuukk opened this issue Jul 9, 2024 · 2 comments
Open

feat: Standalone and language independant #52

ryuukk opened this issue Jul 9, 2024 · 2 comments

Comments

@ryuukk
Copy link

ryuukk commented Jul 9, 2024

Hello,

A bit like blink for windows, is it possible to make it standalone and language independent? meaning a mode that does no compilation and only work on the object level

https://github.com/crosire/blink (--no-compile mode)

I'm willing to participate in a bounty if needed

Thanks!

@ddovod
Copy link
Owner

ddovod commented Jul 9, 2024

Hello.
Probably yes, but this project forces you to use some specific compiler and linker flags that affects object files as well, so the compiler for your language should support similar features. Apart from that it's a matter of trials. Unfortunately I don't have time now to investigate this, but if you want to try it yourself, feel free to fork and experiment.

Some starting points:

  • cmake/jet_live_setup.cmake - flags I'm talking about
  • void Live::setupFileWatcher() and void Live::onFileChanged(const std::string& filepath) - rework to make it monitor for object file changes instead of sources
  • Probably get rid of dependency checks since it's used to connect the code with the object files
  • Also I'm not sure how to connect it to the host application since it operates on the process address space, one more thing to investigate with respect to your language

There's no much code in this project, you probably only want to be familiar with a couple of files, the main one is Live.cpp/hpp

@ryuukk
Copy link
Author

ryuukk commented Aug 10, 2024

I don't have much time either unfortunately, and C++ is not my cup of tea, so investigating would take me too much effort

I'll keep looking for an alternative, or perhaps stick to loading my game as a DLL for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants