• 0 Posts
  • 469 Comments
Joined 3 years ago
cake
Cake day: June 30th, 2023

help-circle
  • It really depends on your devices and what you want to do with them.

    What I’ve noticed so far is that the generic drivers on Linux seem to cover more functionality (eg, my mouse didn’t show battery status on windows without the proprietary drivers but it shows up in Linux), but if it’s not covered by that, then odds are support will be more limited or none on Linux unless it’s commonly owned.

    Though depending on what kind of data your devices are dealing with, it might not be that bad to get it working. Like audio data is just a time series of amplitudes (though codecs can complicate that if you’re dealing with some digital format), input devices are usually some combination of button press events and axis updates (and controller vibrate is pretty much just a lower bitrate audio signal). Video can be more complicated, but there’s likely software that can understand whatever stream of data it gives off. But this all depends on patience and skill, and if you were the type to gravitate to something like that, you probably would have already switched.






  • Games rely on more than just the OS API and even variation between Linux flavours or installed libraries on the same flavours can make compatibility difficult. My success rate at running games with a Linux native version is maybe 50% before I fall back to proton and the windows version. The consistency helps, though kudos to the developers who put in the effort to get their games working on Linux in general rather than just their particular systems.

    The gpu library is a big one. There’s OpenGL, DirectX, and Vulkan (which is the successor to OpenGL) that I know of. Linux and windows support all three, in some form or manner, but afaik mac only supports OpenGL, which really holds back game development, especially with DX being the most popularly targeted one.

    Though my info might be a bit dated because I dgaf about macs generally, just wanted to point out that the shared roots between mac and Linux don’t necessarily mean targeting one would make targeting the other easier in a meaningful way.

    Maybe one day they’ll sell a dongle to play games (which is really just a live boot linux install).









  • Buddahriffic@lemmy.worldtomemes@lemmy.worldNever Forget
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 days ago

    Ah you thought they did it like:

    if ( date == target_date ) { \ do the thing }

    But it was really:

    time_to_target = convert_date_to_time_to( target_date ); // always returns the closest time to whatever date you specify (even if the date doesn’t exist (March 31st does exist))
    do_thing_in_x_time( the_thing, time_to_target );