kapitainsky / RcloneBrowser

Simple cross platform GUI for rclone. Supports macOS, GNU/Linux, BSD family and Windows.
https://github.com/kapitainsky/RcloneBrowser
MIT License
2.28k stars 218 forks source link

[macOS] Build for Apple Silicon / Universal Binary #161

Open dia3olik opened 3 years ago

dia3olik commented 3 years ago

I really hope this project is still going ;-)

I think it would be great if the next RB release would be an universal build with native support of the new Apple Silicon cpus.

kapitainsky commented 3 years ago

It is not dead - I am actually working on this right now. Things are only painfully slow to multiple of reasons. I hope I can deliver improved things soon.

On 8 Mar 2021, at 18:07, dia3olik notifications@github.com wrote:

I really hope this project is still going ;-)

I think it would be great if the next RB release would be an universal build with native support of the new Apple Silicon cpus.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kapitainsky/RcloneBrowser/issues/161, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADXJHOQGGKDHNSN6YIWWPVTTCUG73ANCNFSM4YZ3YO2A.

dia3olik commented 3 years ago

Sure, no worries he he! I was just sayin' since the performance of the Apple Silicon macs is AMAZING so it would benefit a lot from the transition and it would future proof the project too ;-)

dia3olik commented 2 years ago

I was wondering if you managed to prepare everything to be Apple Silicon ready for the upcoming updated release ;-)

kapitainsky commented 2 years ago

Why you think it is needed at this stage? I mean it works perfectly under Rosetta 2.

Yes moving forward definitely it will have to be compiled for ARM but as I see this now it is not critical. Rclone Browser does not need much computing power - so even when run with code translation behaves exactly the same.

On 19 Nov 2021, at 18:04, dia3olik @.***> wrote:

I was wondering if you managed to prepare everything to be Apple Silicon ready for the upcoming updated release ;-)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kapitainsky/RcloneBrowser/issues/161#issuecomment-974291004, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADXJHOVRQJ2YJIJFT7CGMUTUM2GUBANCNFSM4YZ3YO2A. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

detatik commented 2 years ago

I was wondering if you managed to prepare everything to be Apple Silicon ready for the upcoming updated release ;-)

I'm still on an Intel Mac, but given an app like this, what would be the advantages of having a native M1 app over running it using Rosetta?

dia3olik commented 2 years ago

@kapitainsky @detatik Because Rosetta 2 is still plagued with memory leaks, you can't use it for long duration jobs, the app will use more and more ram and cause excessive swapping and consequently excessive wear of the ssd and if you have a mac with less than 20-50gb of free disk space the system will crash and restart itself.

Also apps runs MILES faster when native instead of under Rosetta 2, yes, even "smaller" apps like this one.

We're talking about LATENCY here...it's insanely snappier, you'd never imagine something like that until you use an Apple Silicon mac...for the first time ever, almost everything is instantaneous, we as human beings perceive lag a lot and it's really ten steps forward imho, once you try it there's NO coming back, believe me...then you add the fact that the system is silent with no fan, barely warm and with 15/20hrs of runtime and the capability of a MacBook Air to be faster than an Intel MacBook Pro...

Why the reluctancy to take advantage of this new incredible architecture? ;-)

detatik commented 2 years ago

@dia3olik Thanks for the explanation. Hopefully the dev can get this implemented sooner rather than later.

kapitainsky commented 2 years ago

Why the reluctancy to take advantage of this new incredible architecture? ;-)

I am reading right now how to create universal binary for QT app.

Are you sure that all problems you listed are related to RB running under Rosetta? not rclone itself? which now is released as macOS ARM version

dia3olik commented 2 years ago

Yeah once I migrated to the new rclone the situation improved, I used the arm specific version under HomwBrew since long before the official one but the problem is once Rosetta is called the system can becomes unresponsive after a while, due to the aforementioned memory leaks...so the less rosetta is used the better, also rosetta apparently have also i/o limitation in bandwidth and also power consumption is much lower with native apps...lastly...x86 under mac is gone for good so...why not jump on-board ;-)

kapitainsky commented 2 years ago

There is no question if but when. 100% RB should be native binary for both macOS platforms. The challange is that it required Qt framework to support it - they started working on this but seems still work in progress.

dia3olik commented 1 year ago

Hey @kapitainsky do you have news about the new version? Thanks!!!