at the moment there is a `core` module and then al...
# random
e
at the moment there is a
core
module and then all the different backend modules. Now I have another backend needing to access a class, which actually belongs to another backend. What's shall I do? Duplicate the class for each backend or create an additional intermediate module for these two backends?
l
So the class doesn't really belong to that other backend? It's hard to say without knowing what that class is.
e
not really, it belongs to both, I ended up creating a new intermediate module
v
multiple backend
What do you mean by multiple backend? I've heard of multiple frontends (mobile, browser, etc), but never about multiple backends. Just curious
e
https://github.com/kotlin-graphics/imgui, backends in this case are: opengl, vulkan, javafx and maybe bgfx and metal
v
Or, I see! Thank you!
👍 1