1. 29
  1. 7

    I wonder if APEs can be used to open some elementary framebuffer/OpenGL context to make little GUI programs / games “actually portable”.

    1. 8

      It can be done, it’s a bit convoluted but I got it running on FreeBSD, NetBSD, Windows and Linux. OpenBSD requires some more work due to their strict syscall policies. I didn’t attempt macOS, but I guess it could be done.

      https://github.com/jacereda/cosmogfx

      1. 1

        Put it in the list, congrats for being the first GUI to appear

        https://github.com/shmup/awesome-cosmopolitan#tilting-at-windmills

        We have a fellow in the Discord doing really nice TUI work, too. Either inspired by, or a port of, dflat (TUI with windowing)

    2. 0

      Nice, now we can have truly cross-platform malware.