Page 1 of 1

[arm64] Apple Silicon Roadmap

Posted: 01 Dec 2021, 07:21
by rednoah
Prerequisites:

UPDATE: 10 Feb 2024
Universal JDK (as opposed to architecture-specific JDK) is not viable. The App Store Connect developer interface does not support the upload of multiple app bundles per architecture neither, so we are at an impasse. We can use lipo to combine binaries and libraries, but architecture-specific runtime resource files (notably jrt-fs.jar, modules, classlist, etc) are an unsolved (i.e. unsolvable to us; but easily solvable by Apple if someone were to care) problem. The lipo tool cannot combine resource files and the JDK wouldn't be able to work with combined resource files even if we could combine them. Notably, the Mac App Store does not currently allow submissions where an arm64-only version replaces a previously released x64-only version.

Re: [arm64] Apple Silicon Roadmap

Posted: 06 Dec 2021, 08:26
by eMeR
Nice to see native AS support is in progress 🙌🏻. Any realistic ETA for the release?

Re: [arm64] Apple Silicon Roadmap

Posted: 06 Dec 2021, 08:35
by rednoah
No ETA since arm64 support in FileBot requires arm64 support in all 3rd party dependencies, many of which have not been updated in years. The x86_64 binaries are known to work well via on arm64 via Rosetta binary translation though.

Re: [arm64] Apple Silicon Roadmap

Posted: 10 Dec 2021, 13:15
by rednoah
FileBot_4.9.5_arm64.pkg is now available for testing:
https://get.filebot.net/filebot/BETA/


:!: Optional dependencies that aren't available for aarch64 (e.g. fpcalc / AcoustID) are not included and won't work.

Re: [arm64] Apple Silicon Roadmap

Posted: 14 Dec 2021, 13:43
by eMeR
That's a nice start 👍🏻

Image
Image

Re: [arm64] Apple Silicon Roadmap

Posted: 14 Dec 2021, 13:53
by rednoah
The fpcalc executable is still x86_64 (used exclusively for AcoustID) but other than that it's all arm64. The arm64 JRE runs things ~3x faster compared to x86_64 JRE under Rosetta.

Re: [arm64] Apple Silicon Roadmap

Posted: 15 Dec 2021, 17:56
by eMeR
rednoah wrote: 14 Dec 2021, 13:53 <...>The arm64 JRE runs things ~3x faster compared to x86_64 JRE under Rosetta.
Impressive!

Re: [arm64] Apple Silicon Roadmap

Posted: 16 Dec 2021, 03:31
by rednoah
eMeR wrote: 15 Dec 2021, 17:56 Impressive!
Well, Rosetta translation working correctly at all for just-in-time compiled code, at only a 3x performance penalty no less, the Apple engineers really outdid themselves there. IMHO, that's the really impressive thing here! :o There probably won't be a noticeable performance difference between running FileBot on a high-end macOS M1 machine and a high-end Windows / Linux machine with Intel or AMD inside. :lol:

Re: [arm64] Apple Silicon Roadmap

Posted: 24 Dec 2021, 02:52
by rednoah
fpcalc has now shipped arm64 binaries as well, so the arm64 bundle is now arm64 only.

回复:[arm64]苹果硅路线图

Posted: 06 Sep 2023, 02:59
by sunny
Are there any plans to make the arm64 version of filebot available for the apple store?

Re: 回复:[arm64]苹果硅路线图

Posted: 06 Sep 2023, 07:16
by rednoah
sunny wrote: 06 Sep 2023, 02:59 Are there any plans to make the arm64 version of filebot available for the apple store?
FileBot itself does support x64 and arm64 and has a separate package for each, but due to arbitrary technical limitations of the Mac App Store, we can only publish one of them through the App Store. Thus we can make it either x64-only with arm64-compatibility via Rosetta translation, or arm64-only with x64 users left dead in the water. There is no good solution. We are stuck at the status quo. I would strongly recommend avoiding the Mac App Store for this and other reasons. I'd add that to the Mac App Store product description but Apple Review does not like that.


:!: A x64+arm64 universal package for FileBot would require a x64+arm64 universal package for OpenJDK which currently does not exist and may very well never exist.