3 ms·
> If so, does it affect the application startup times? It does, but only the very first time you run the application. The result of the transpilation is cached
by nicoburns 4y ago
> If so, does it affect the application startup times?
It does, but only the very first time you run the application. The result of the transpilation is cached so it doesn't have to be computed again until the app is updated.
- dylan604 4y agoDoes that essentially mean each non-native app is doubled in disk use? Maybe not doubled but requires more space to be sure.
- kijiki 4y agoSimilar to DEC's FX!32 in that regard. FX!32 allowed running x86 Windows NT apps on Alpha Windows NT.
- saltcured 4y agoThere was also an FX!32 for Linux. But I think it may have only included the interpreter part and left out the transpiler part. My memory is vague on the details. I do remember that I tried to use it to run the x86 Netscape binary for Linux on a surplus Alpha with RedHat Linux. It worked, but so slowly that a contemporary Python-based web browser had similar performance. In practice, I settled on running Netscape from a headless 486 based PC and displaying remotely on the Alpha's desktop over ethernet. That was much more usable.
- arianvanp 4y agoAnd deleting the cache is undocumented (it is not in the file system) so if you run Mac machines as CI runners they will trash and brick themselves running out of disk space over time.
- koala_man 4y agoReally? This SO question says it's stored in /var/db/oah/ https://apple.stackexchange.com/questions/427695/how-can-i-limit-the-disk-usage-of-the-rosetta-2-oah-cache https://apple.stackexchange.com/questions/427695/how-can-i-l...
- jonny_eh 4y agoYou mean the cache is ever expanding?
- rowanG077 4y agoWhat in the actual fuck. That is such an insane decision. Where is it stored then? Some dark corner of the file system inaccessible via normal means?
- happyopossum 4y agoGP is incorrect - they’re stored in individual files inside /var/db/oah, and can be deleted without causing harm.