
Voidbert
u/Voidbert

I am trying to define an xbps-src template for logisim-evolution, a Java app that requires Java 16. I am using depends="virtual?java-runtime" and, as expected by reading etc/defaults.virtual, OpenJDK 8 is used. Creating a etc/virtual file is ignored in .gitignore, so I guess it is made to be used with local packages. Using depends="virtual?java-runtime-17.0.5+7_1" works, as OpenJDK 17 provides that exact version of java-runtime. If it were updated, this package would break, because if I input a lower version, it will fail. I've tried using syntax like > and >=, but then I get the following error:
=> ERROR
I understand why it is a good idea to separate kernel and user space drivers (for example, if the userspace driver crashes, the kernel won't go down), but I don't seem to find good answers for this question online: what tasks does the kernel driver do, and which ones are handled by the userspace driver?
For example, I call an OpenGL / Vulkan function. It is handled by Mesa, but what has to happen for the GPU to get instructions it can execute? Also, what do xf86 drivers do (for X11)?
I don't know if it's the search queries I'm using, but I either find nothing or I find Linux's DRM documentation for developers, which may be useful for a driver developer but very complicated for me. (I'm a d
In C++, you can use data structures like vectors, strings, smart pointers, etc. You could technically code an entire program without using (raw) pointers (the underlying structures are likely implemented using raw pointers, but we can assume they don't leak memory, for example). You can manage all objects by copying and/or passing references of them.
I know you might need to interact with code that uses pointers directly (especially C libraries), and that is a problem, but it can be mitigated by either using smart pointers, or writing a small safe wrapper around those functions (small so it's easy to verify it's memory safe).
Note: I have never wrote a single line of rust, but I've been re







