Re:Apple announces it will switch to its own processors for ...
by moralestapia on Monday June 22, 2020 @05:27PM
(#23606940)
(Audio/DSP) plugins are a tricky thing, it is not uncommon for some of them to have assembly or processor specific instructions to squeeze out as much performance as possible. Your 'budget' in this domain is limited to only a few milliseconds ...
Re:Apple announces it will switch to its own processors for ...
by sroussey on Monday June 22, 2020 @09:02PM
(#23608862)
But it does a AOT recompile from x86 to ARM for extensions and plugins according to the second presentation today.
Re:Apple announces it will switch to its own processors for ...
by auto on Monday June 22, 2020 @10:57PM
(#23609490)
Even if it's precompiled and not at runtime, we don't really know what the performance looks like, especially in hand rolled assembly where something that isn't a one-to-one cycle match could have obvious effects.
Re:Apple announces it will switch to its own processors for ...
by diroussel on Tuesday June 23, 2020 @04:57PM
(#23620151)
Also, Rosetta 2 doesn't support AVX. So it would rely on there being an alternate code path which would be AOT transpiled.
Re:Apple announces it will switch to its own processors for ...
by monocasa on Monday June 22, 2020 @04:21PM
(#23605971)
Will an ARM version of Logic support loading x86 plugins?
Last time Rosetta was on a process by process basis, so you might have to make some unfortunate choices.
Edit: https://developer.apple.com/documentation/apple_silicon/abou...
> The system prevents you from mixing arm64 code and x86_64 code in the same process. Rosetta translation applies to an entire process, including all code modules that the process loads dynamically.
Re:Apple announces it will switch to its own processors for ...
by philjohn on Monday June 22, 2020 @05:02PM
(#23606613)
Yes - they called out "plugins" being transpiled in the keynote.
Re:Apple announces it will switch to its own processors for ...
by monocasa on Monday June 22, 2020 @05:04PM
(#23606639)
I linked to the docs where it says they plugins and the process need to be the same architecture; you won't be able to mix and match in a process.
Also transpile is a source to source compilation and isn't the right term here.
Re:Apple announces it will switch to its own processors for ...
by sroussey on Monday June 22, 2020 @09:05PM
(#23608876)
Oh, I see. Extensions have a different model than plugins. Will be interesting to see how support develops and if it expands or not.
Re:Apple announces it will switch to its own processors for ...
by eyesee on Monday June 22, 2020 @08:37PM
(#23608717)
Apple has pushed XPC architecture for plug-ins for several years and has announced that these plug-ins will work in Rosetta for a Native host app. Audio Units will work as well.
Re:Apple announces it will switch to its own processors for ...
by monocasa on Monday June 22, 2020 @09:13PM
(#23608922)
VST is way older than Apple's push for XPC, and is dependent on being linked into the same process as the main DAW application.
Re:Apple announces it will switch to its own processors for ...
by afwaller on Monday June 22, 2020 @04:41PM
(#23606336)
No AVX is fairly brutal
Re:Apple announces it will switch to its own processors for ...
by CyberDildonics on Monday June 22, 2020 @05:08PM
(#23606678)
What does that mean and what are you basing that on?
Re:Apple announces it will switch to its own processors for ...
by oneplane on Monday June 22, 2020 @04:33PM
(#23606189)
The question is if those plugins are modules (shared objects/dynamic libraries), or if they are used via some sort of IPC to an external process. (or even an XPC service)
Re:Apple announces it will switch to its own processors for ...
by monocasa on Monday June 22, 2020 @04:39PM
(#23606277)
They are shared libraries, yes. And rely on lower latency than you would get from an IPC channel to another process.
Re:Apple announces it will switch to its own processors for ...
by oneplane on Monday June 22, 2020 @05:01PM
(#23606603)
That would make sense. On the other hand, would that go for Audio Units as well? I thought those were XPC based.
Re:Apple announces it will switch to its own processors for ...
by Joeri on Monday June 22, 2020 @05:32PM
(#23607006)
They could have a separate bridging process to host the x86 plugins, so we can’t know whether it does or does not support them.
Re:Apple announces it will switch to its own processors for ...
by monocasa on Monday June 22, 2020 @05:40PM
(#23607098)
The plug-in arch doesn't really support that. They're reliant on being able to do brain surgery to the main app, and being in the same GUI context.
Re:Apple announces it will switch to its own processors for ...
by sudosysgen on Monday June 22, 2020 @04:21PM
(#23605982)
Performance, but that remains to be seen. VST performance can be absolutely crucial.
Re:Apple announces it will switch to its own processors for ...
by CharlesW on Monday June 22, 2020 @04:23PM
(#23606019)
For sure! Hopefully we'll learn more specifics in another session.
Re:Apple announces it will switch to its own processors for ...
by splatcollision on Monday June 22, 2020 @04:38PM
(#23606274)
They specifically mentioned Rosetta 2 would work for all binaries, including plugins.
Rosetta 2 cross-compiles Intel binaries to ARM. Why would VST/AU plug-in binaries be an exception?