![]() So much of what would appear to be institutional knowledge at these places is little more that cargo cult voodoo that may or may not have any significant impact on the product. Information that should be take seconds to access and available at any time is instead put together manually. (If you ever need an example of how consolidation / lack of competition leads to less than optimal output, semiconductor fabrication is it.) Stuff that takes on the order of hours or days that should instead take take a minute or two, tops. There are a lot of inefficiencies in the companies that fab chips. It'll be interesting when people take a deep dive into specific things Rosetta 2 does. I bet if you port a decent JIT-based emulator to use that feature on M1, and compare it to Rosetta 2 for number crunching inner loops and such, you'll find you can get very similar performance numbers out of it once the JIT cache is warm. If you want to look for reasons why Rosetta 2 is faster than other emulators, look for places where Apple cheated and made their CPUs implement x86 things like its memory consistency model. CUDA EMULATOR FOR MAC CODEThe end result is that the CPU is going to be executing a series of translated basic blocks interspersed with code added by the translation to glue everything together, which is the same thing every JIT-based emulator does, and will have the same performance characteristics, and the fact that some of that work can be done ahead of time is not a fundamental difference. That's just not a thing and it never will be. It is not straight converting x86 to ARM. ![]() Whatever you call it, it's not fundamentally different from any other emulator in a way that puts it in another class of technology. So everyone saying that "Rosetta 2 is AoT translation" as if that means it's fundamentally better/faster than other emulation technologies is just falling to marketing. JIT is binary translation too, so by Apple marketing standards, qemu, Dolphin, and basically every other modern emulator is also "translation". At that point you're adding enough bookkeeping gunk to the translated code that it is no longer a straight translation, like Apple would want you to believe. On top of that you need to add a level of indirection to all indirect branches, as you cannot statically change all function pointers in data structures (that's an even harder problem). CUDA EMULATOR FOR MAC FULLAll modern emulators use JIT, and caching the result is similar to AoT translation plus JIT can be faster than AoT sometimes due to being able to take advantage of runtime profiling, and you can never guarantee ~full AoT translation of even binaries without self-modifying code without additional metadata (like a list of all branch destinations), so Rosetta cannot possibly claim it does that with full coverage. It's just not a thing and it never will be (without cheating and, like, literally embedding an emulator in the app).Īnything less than that is emulation, and requires dynamic elements. Full static transpiling is not a solvable problem - you can't actually take an x86 app, run it through some converter, and get an ARM app out. That is marketing terminology (because "emulation is slow"). This all means that unless you're defending the very core of your entire business proposition, you probably need to be a >$100m before it's worth pursuing patents, and even for the core of your business you probably need to have several million in funding. Then you'll need to defend it, which can be hard to do against entities based in non-compliant countries such as China. ![]() To cover US, EU, and large Asian markets, you're looking at $500k-1m, and thats just to get the patent. To patent an idea will probably be around $10-100k per market. CUDA EMULATOR FOR MAC SOFTWAREThe fact that software is typically shipped virtually means that borders are practically non-existent, and wide patents are often needed, or a company needs to give up on defending their patent outside their primary market. ![]() In particular, costs are high, litigation to protect is expensive, and so your average student wouldn't be able to afford this. There are many reasons that make them less effective at this than their ideal. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |