• 3 Posts
  • 24 Comments
Joined 11 months ago
cake
Cake day: August 6th, 2023

help-circle





  • For what its worth , the cache locality of Vec<Box<Dyn trait>> is terrible in general, i feel like if youre iterating over a large array of things and applying a polymorphic function you’re making a mistake.

    Cache locality isnt a problem when youre only accessing something once though.

    So imo polymorphism has its place for non iterative-compute type work, ie web server handler functions and event driven systems.




  • bonus_crab@lemmy.worldtoLinux@lemmy.mlthinking of trying linux,
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    4 months ago

    My experince :

    Tbh motherboard matters. Updating my msi motherboard actually fixed a major issue for me preventing grub from letting me select what OS to load on boot.

    I installed linux mint and did have to do a bit of tinkering to get my audio to work from the front panel too. Found answers in the mint forums.

    Other than that my discord streams have no audio and discords screen capture daemon or whatever keeps the computer from shutting down for like a minute after i try to.

    Those are the only issues Ive had though.

    As for lack of features, no HDR sucks, but other than that I’m good.

    Warpinator is nice for syncing files with my phone.

    Also enjoying the simpler feel compared to windows, and no ads.


  • Having used it in a major project its a shame that its so inefficient because the user experience really is much much better. It feels like a successor language to CSS because it fixed lots of unobvious and badly named attributes and makes lots of things just easier.

    The code is more verbose but also you can completely understand how the page will look just by reading the html.

    That said it makes sense the performance is so much worse, where you would have matched on one class for N styles you now match on N classes for N styles.

    Theoretically its totally possible to do that matching at compile time and ‘compile’ the string of classes you wrote into individual ones per element for each combination used in the html though.