Hans♫ 56 Posted November 20, 2020 It works with Delphi 🙂 Just received the Mac Mini with the new Apple M1 CPU. After a quick attempt to deploy our FMX app, I can confirm that PAServer runs and I can deploy and run our FMX app without problems. "Rosetta 2" seems to do the job very well! 4 Share this post Link to post
Rollo62 217 Posted November 20, 2020 (edited) How is that possible ? I thought PAServer is a Macos binary, on x86, not a Java thingy ? At least I can see dylib's in the package content. Or do you found a new, ARM compatible PAServer somewhere ? I don't think Apple is emulating x86 assembler code on M1, or do they ? Edited November 20, 2020 by Rollo62 Share this post Link to post
Markus Kinzler 152 Posted November 20, 2020 They do. Only a small fraction of apps already got a arm version. 1 Share this post Link to post
Rollo62 217 Posted November 20, 2020 4 minutes ago, Markus Kinzler said: They do. Only a small fraction of apps already got a arm version. Damn, I missed that fact. Apple is really the hottest sh... Does that mean also VmWare Fusion, Win-10 guest and Rx1041 is running as before ? (No, I cannot believe that, its too much utopia for my, Apple runs out of the box ....) Share this post Link to post
Rollo62 217 Posted November 20, 2020 Beside that, what are the latest news about the ARM, Softbank, Apple, Nvidia theatre ? I think this will affect us all, if ARM is in the wrong hands. Then I have to move back to good old Z80 Share this post Link to post
Dave Novo 12 Posted November 20, 2020 The arm M1 has an emulator https://www.computerworld.com/article/3597949/everything-you-need-to-know-about-rosetta-2-on-apple-silicon-macs.html Share this post Link to post
Lars Fosdal 806 Posted November 20, 2020 Windows VMs on the M1 ARM seems to a no-go - but that is no surprise. But - it is a very impressive CPU - Twice the power, and twice the battery time. Share this post Link to post
Sherlock 411 Posted November 20, 2020 35 minutes ago, Lars Fosdal said: Windows VMs on the M1 ARM seems to a no-go - but that is no surprise. But - it is a very impressive CPU - Twice the power, and twice the battery time. At four times the price 🤣😂🤣 Share this post Link to post
Lars Fosdal 806 Posted November 20, 2020 I thought the Mac Mini price stayed the same? (Price in NOK) Share this post Link to post
Wil van Antwerpen 8 Posted November 22, 2020 (edited) On 11/20/2020 at 2:59 PM, Rollo62 said: Does that mean also VmWare Fusion, Win-10 guest and Rx1041 is running as before ? VMware is working on a VMware Fusion version for the M1 processor. This is not currently available, so no it does not currently work, estimated arrival somewhere 2021. That first M1 version will -for sure- not offer x86/x64 processor emulation. That is a whole different ballgame and rosetta is not available for virtual machines. As such you will only be able to run virtual machines that depend on an Arm processor to run. Having said that, VMware did get an overwhelming demand to also look into processor emulation and they are actively looking into this. That's about the only thing that the responsible VMware product manager is willing to say about this at the moment. Edited November 22, 2020 by Wil van Antwerpen Share this post Link to post
Anders Melander 626 Posted November 22, 2020 On 11/20/2020 at 5:29 PM, Sherlock said: At four times the price I think Apples revenue speaks for itself. Even though they make some really nice hardware it's obviously overpriced. Share this post Link to post
Rollo62 217 Posted November 23, 2020 (edited) Well, unexpectedly Apple-M1 did not so bad in emulation. I haven't found many reports on compatibility issues yet, so maybe someone knows more about the Do's and Dont's with this emulator: what can be used, what will crash ? I think no Hypervisor, OK, but what restrictions have normal apps ? Edited November 23, 2020 by Rollo62 Share this post Link to post
Hans♫ 56 Posted December 9, 2020 Now I had time to investigate it a bit further. Looks like debug mode does NOT work on the new M1 CPU. I can run a MacOS application from Delphi on the M1 Mac, without debugging, but when I run in debug mode I get the error: "unable to create process 'debug kernel timeout'". The same application runs fine in Debug mode when using an Intel Mac having the same versions of MacOS (Big Sur) and XCode. Before I create an issue on on Quality Portal. Are there any suggestions for things I should try first? - or extra information I can retrieve and include in the issue? Share this post Link to post
Lajos Juhász 9 Posted December 9, 2020 According to the Roadmap (https://blogs.embarcadero.com/rad-studio-roadmap-november-2020/) in Delphi 10.5 H2 2021 you can expect a better support for the M1 CPU. In the roadmap it's under Platform Enhancements macOS ARM (Delphi). Of course as ever please do not forget this is only planned. There is no legal bound that it will be delivered in the first release of Delphi 10.5. A more detail can be found also at https://blogs.embarcadero.com/rad-studio-november-2020-roadmap-pm-commentary/ Quote For 10.5, we plan to introduce a new target platform for Delphi, macOS ARM (based on Apple Silicon CPUs), significant work around IDE HighDPI support, C++ toolchain extensions, and many other additional features and quality enhancements. See below for more details. Quote Marco’s Commentary of 10.5 Plans Speaking of platforms, we want to add a new target for Delphi applications: a new compiler for the ARM-based version of the macOS operating system with Apple hardware powered by Apple Silicon CPUs. While you can run Intel applications, the goal is to have a native ARM application for the new generation of Macs. This will be a significant extension of Delphi, including a new compiler, updates to the runtime library and the various high level libraries. We have also plans to expand the Delphi language syntax for all platforms and improve the performance of the math processing code the compiler generates on Windows, making applications faster in numeric processing. At this moment the best you can do is to wait for the first beta for Delphi 10.5. Share this post Link to post
Hans♫ 56 Posted December 9, 2020 1 hour ago, Lajos Juhász said: According to the Roadmap (https://blogs.embarcadero.com/rad-studio-roadmap-november-2020/) in Delphi 10.5 H2 2021 you can expect a better support for the M1 CPU. In the roadmap it's under Platform Enhancements macOS ARM (Delphi). The roadmap refers to ARM M1 as a target platform. What I am referring to is to be able to debug the Intel target on an ARM M1 CPU. I can deploy and run from Delphi on the M1 CPU, but I cannot debug. It might not be possible to use the CPU view in Delphi, as it would have to work through the Rosetta 2 converter, but limited debug facilities would suffer, e.g. Breakpoints and variable inspection. Share this post Link to post
Rollo62 217 Posted December 9, 2020 That is good news, that releases of Delphi may run on M1. I think we still will have x86 Mac's for a while, so still some time until we really need to move to M1 as debug tool. Hopefully there were no hidden catches in the Rosetta 2, that let us need support more urgently. Share this post Link to post