Check out my open source game engine! https://strayphotons.net/ https://git.sw0.com/frustra/strayphotons

I have been developing this engine on and off for over 10 years, and still have big plans.

  • 0 Posts
  • 393 Comments
Joined 3 years ago
cake
Cake day: July 9th, 2023

help-circle

  • While shared memory is a feature in linux, it’s mostly used for inter-process communication and isn’t something that happens by default with shared libraries.

    When a program loads a shared library, it creates a new instance of it that runs in the same memory space as the program.

    In the example you’re using with KDE, that’s actually a system process that your program is communicating with, so it’s not quite the same as just loading a shared library (.so). Since new programs can connect to the existing system service, that can end up saving RAM by having a single system program service multiple user applications.

    This isn’t really any different on Windows where the desktop environment (dwm.exe) is handling drawings and compositing for all user apps.

    Edit: Based on the downvotes, maybe I got something wrong here. Maybe someone can comment on what? I’m happy to learn


















  • "intuitively find and replace non-identical things based on what i just did”

    We had that 5 years ago with GitHub Copilot, and things have only gone downhill from there…

    I am pretty much forced to use AI at work, and I still come home and write code by hand because I enjoy it. A good language server is much more helpful than the LLM autocomplete if you already know what you’re trying to write.