Threads for vaguelytagged

    1. 1

      Oxide rolls their own silicon when :) ?

      1. 2

        As another aside I was storing many Strings that didn’t need modification in a hashmap and found that Box saved significantly more space! Since I didn’t incur the additional information that needs to be added to a String. Neat trick if anything is strapped for space and knows they don’t have to modify their string data (there are also several crates that do something similar)

        1. 2

          This starts rubbing up against string interning more generally doesn’t it?

          1. 2

            string interning

            Huh, I’ve never heard the term before. I guess it absolutely does!

            1. 4

              Interning was relevant in a few languages I used in the past, an optimization mostly.

              Since then it’s been something that I’ve used for performance in some tricky situations where I knew the string cardinality was limited. In a “big data” context you’ll see people talk about dictionaries which is related.

              1. 1

                Neat! thanks for the knowledge :)

        2. 1

          I love anyhow, but his seems like a pretty big footgun.

          1. 71

            I wrote up some documentation on how all this works and known issues here: https://docs.fedoraproject.org/en-US/fedora-asahi-remix/x86-support/

            You can also watch Alyssa’s talk at XDC2024 here: https://www.youtube.com/watch?v=pDsksRBLXPk (starts around ~20 minutes after stream start).

            Thank you to everyone who worked to make all this possible! ^^

            1. 8

              Wow… Fallout 4 on Linux on an M1. I would never have thought that possible. Incredible!

              1. 4

                ya’ll are awesome! Inspired me to learn rust and get into hardware more!

                1. 3

                  I don’t have anything insightful to add but I’d like to say anyway that this is incredibly impressive.

                  1. 2

                    love what you Asahi guys are doing! next level stuff

                    1. 1

                      Very very nice! I sponsor one of you (sorry, I forget who… probably multiple) on github for a reason!

                      What’s the priority (if any) on getting these things working on the M3 or the soon-to-be-released M4? (and of course the Pro and Max variants)

                      The way the blogpost just drops well-known AAA games inline while discussing the latest efforts is hilarious.

                      Keep on hackin’!

                    2. 17

                      This is a very interesting post! One takeaway is that you don’t need to re-write the world. Transitioning new development to a memory safe language can bring meaningful improvements. This is much easier (and cheaper) than needing to port everything over in order to get an effect.

                      1. 2

                        agree! I love rust, but swift’s interop story with cpp is very intriguing. Facebook shared in a podcast about the difficulties of cpp interop with rust’s async await paradigm. I feel the hard problem is Cpp being difficult to use as a lingua franca.