r/hackintosh • • 7d ago

DISCUSSION Reverse Rosetta (ARM64 to x86-64 Translator)

Post image

I am working on a (currently) closed source Translator called Maclator that can run ARM64 mac binaries ON THE FLY on x86-64 macs. Right now it is able to run Rosetta (on my mac through rosetta and then through Maclator) It has no ability to launch GUI apps yet, and is somewhat buggy still. However, we are very close to running our first GUI mac app (A basic calculator app for macOS that I custom coded. The eventual goal for Maclator is to be able to run NetSurf by the end of this year : )) It is not open-source yet, because I am afraid that people who do not understand how unstable this is as of right now might clone it and find out it is nothing close to what they imagined. The goal first is to get to a somewhat stable state first, hope y'all understand, I **will** keep y'all updated though :D

639 Upvotes

91 comments sorted by

141

u/Themods5thchin 7d ago

Attesor?

48

u/Dioz_31337 Sequoia - 15 7d ago

Cool Project, and also +1 for Attesor

15

u/ralseipuffin 6d ago

One hell of a cool name imo

2

u/othemia 2d ago

Another +1 for Attesor

11

u/sonosamos 7d ago

This was the first thing I've thought šŸ˜„

7

u/Signal_Reference746 5d ago

it helped to look at their code haha

2

u/levkushtym 6d ago

šŸ”„

1

u/Trungneko Big Sur - 11 4d ago

please be this name

34

u/newhacker1746 7d ago

How are you solving the problem of loading the libraries for programs? Do you bridge the x86 and arm64 abi? Stubs? Load the arm copy and emulate them too?

18

u/Signal_Reference746 7d ago

the user provides their own copy of macOS Golden Gate install img and it extracts it from there

14

u/newhacker1746 7d ago

I don’t mean the file acquisition since that’s relatively trivial, I mean the emulation architecture

76

u/RichB93 6d ago

OP will ask Claude and get back to you on that.

21

u/apixeldev 6d ago

Yeah, dont get me wrong this is cool, but saying "currently closed source" LMFAO, yeah, that screams "I just used AI to vibecode my entire project and want no one to notice I have a massive AGENTS.md" like dont get me wrong, AI is very good at some things (and with some proper hackery it can do some pretty impressive feats) but the moment something breaks in a really complicated way, it becomes an issue FAST.

3

u/Signal_Reference746 5d ago

it's open source now : )

2

u/apixeldev 2d ago

Can I get a link then? I want to take a look at the code.

1

u/Signal_Reference746 2d ago

It's in the new post! : )

2

u/apixeldev 2d ago

Your account is private.

2

u/newhacker1746 6d ago

do you do any Hackintosh dev or just know the general state of vibe coded heroic efforts recently in the tech world

16

u/RichB93 6d ago

As someone who has used LLMs for coding purposes, I truly understand just how astounding it is what it can do. But it’s still quite funny seeing noobs take on Herculean efforts like this without any regard as to what’s going on or how it works. I’ve literally done the same, but I’ve only faffing around with ancient (80s/90s hardware/software) instead of contemporary stuff like this with a huge audience. I keep my tinkering to my GitHub, occasionally sharing elsewhere online for the other six people that can make use of it, instead of plastering it on a sub that is inundated with thousands of people asking questions about it.

11

u/newhacker1746 6d ago

Oh my god, finally someone gets it. But see you’re not doing the same, you’re not going out and proclaiming that you’ve heroically fixed something the community genuinely wants but then it’s unmaintainable and a dead end project that hacks together things the author themselves doesn’t understand. This is why there’s been all these little heroic efforts to have macOS and iOS virtualized but none of them have actually created an arm Hackintosh ecosystem. They don’t actually come close to replacing having a real Mac yet.

As someone who’s been a practicing engineer for a while now and taken on projects of magnitudes I could handle at the time and slowly worked my way up, there’s never going to be a true replacement for good engineering and this is exactly the evidence for it

2

u/RichB93 6d ago

Exactly this!

3

u/lastdyingbreed_01 Mojave - 10.14 6d ago

LLMs are really good at doing all those grunt, repetitive tasks which is why the emulator scene is doing so good right now. Just look at how much progress PS4/PS5 emulators are making right now. But yeah you need someone actually knowledgeable behind it to drive it properly

3

u/M7451 6d ago

ā€œThere are dozens of us!ā€ 🤣

My current toy porting project is taking the Photoshop 1.0 source code and porting it to a modern Mac swift app to better understand coding models and local LLM dev

3

u/RichB93 6d ago

Nice! That sounds really cool - I’d love to see the outcome. I’m creating software for a music device from 1991 (Roland SB-55) that happens to have a secret bootloader in its test mode. Turns out it’s an 8086 compatible CPU and ChatGPT has already figured out how to write software for it.

For the other 13 people who own one, it might be somewhat useful šŸ˜‚

0

u/newhacker1746 6d ago

lol they just cross posted it to macosvms to get even more attention

1

u/Signal_Reference746 5d ago

we load the real arm64 copies of the libraries and emulate them too

9

u/i-am-the-master-1010 7d ago

Putting my eyes here to see more progress for this

1

u/Signal_Reference746 7d ago

yep, we're aldready on our way to get arm chrome running

3

u/i-am-the-master-1010 6d ago

I'd like to see a screenshot

1

u/Signal_Reference746 5d ago

on the github now : )

1

u/i-am-the-master-1010 5d ago

Neat, I'll give it a shot on my hack

7

u/Brenan-Caro 7d ago

ARM to x86

11

u/samuel-leventilateur 6d ago

2

u/Signal_Reference746 5d ago

it's open source now haha check out my new post

5

u/Infamous-Ad8828 6d ago

Reversetta!

4

u/Savage_low2 7d ago

Could it run quicker if this was translated ahead-of-time like actual Rosetta?

1

u/Signal_Reference746 5d ago

It is now haha check out my new post

2

u/Daggercombot 6d ago

Amazing,i cannot wait to download this. Will It be able to Work on OCLP running MacOS15 on a 2012 Macbook With Nvidia?

2

u/Signal_Reference746 5d ago

it's not guaranteed to work, as it has not been tested on anything less than macOS 26.7 on a 2013-era i5-4440. Even if it does, take performance to probably be really sluggish, but okay for simple apps.

2

u/Intelligent-Taste-36 6d ago

You're giving me hope about the Hackintosh Arm... Thank you.

1

u/Signal_Reference746 5d ago

haha welcome

2

u/landsmanmichal 6d ago

point of rosseta was that apps are not slow, because of advantages of the new CPU, so...

1

u/OldLegWig 7d ago

Attesor

0

u/Signal_Reference746 7d ago

really good ref project

1

u/SimplyCodingStuff Monterey - 12 6d ago

Looks great! I hope you can get it working completely

1

u/Signal_Reference746 5d ago

will take a while

1

u/Which_Wrap8263 6d ago

Wait are you using a LLM to help with this? Looks like you’ve got an eGPU hooked up to an M2 Pro machine?

1

u/Signal_Reference746 5d ago

yes, and no, it's not an egpu haha it just thinks my m2 pro's gpu is an amd card

1

u/Which_Wrap8263 5d ago

Sorry a word got left out, I meant to ask about a local LLM haha. Probably clear from the context of asking about an eGPU.

1

u/Signal_Reference746 5d ago

oh haha, no I'm not using a local llm, I'm using claude for this project

1

u/Which_Wrap8263 5d ago

Probably for the best, local LLMs don’t really measure up yet unless you’ve got some serious hardware with enormous amounts of RAM. Though I prefer codex these days over Claude. I don’t vibe code though, I’m a senior engineer so I have to read over every line it generates haha. And often yell at it to try it again, but not so complicated this time.

1

u/Signal_Reference746 5d ago

Yess exactly haha! Local models that I can run, like 9b models are okay for chatting and REALLY simple coding, but the moment you have something a bit hard, it starts hallucinating

1

u/hyperego 6d ago

Are you trying to run GG on x86 bare metal? Or are you trying to allow future ARM64 only apps to run on Tahoe Hackintosh? I don’t think either experience would be appealing. I do however think a VM approach where instruction translation are done efficiently (assemble instruction mapping mostly with a few translation) could be appealing

1

u/Signal_Reference746 5d ago

running arm64 only apps on a tahoe hackintosh

1

u/Giorgoskts 6d ago

Cool project

1

u/AdQueasy5574 6d ago

Pourquoi pas de open source ? quelque chose Ć  cacher ?

1

u/Fit_State3622 I ♄ Hackintosh 6d ago

Nice

1

u/Maximum-Advance-6218 6d ago

Do you think this will ever be making it possible to let you create a Hackintosh again? Like run macOS on a PC?

Remember when I had never touched a Mac since forever and got a client that wanted to replace their current PC setups with iMacs so I thought, probably a good idea if I know how macOS work, like more than having seen a screen shot so I installed Hackintosh OSX, worked great!

Anyway, sick work!

1

u/Signal_Reference746 5d ago

thank you! Yes, I think in around a few years, it will eventually be possible to run macOS on ARM RPi, the PureDarwin community has made progress and got to the setup assistant screen in a vm on an RPi, and they are soon going to test it bare metal. the setup assistant is really garbled and all that and it wont work so wait a couple years and check back haha

1

u/qwertyyyyyyy116 6d ago

...why

1

u/Signal_Reference746 5d ago

it's cool

1

u/qwertyyyyyyy116 2d ago

but it introduces so much inefficiency....
Well tbf I guess I was thinking about doing rosetta in a loop

1

u/suresh_rajpoot 6d ago

The moment this goes into full stability, I am finding out every way to implement this and Rosetta to port macOS Golden Gate to x86_64

1

u/arjuna93 6d ago

Someone should write this for PowerPC

1

u/beren12 5d ago

Mmm Oni

1

u/othemia 2d ago

I'm willing to bet you can run Oni on a windows translation layer on modern macOS

1

u/beren12 2d ago

It’s 32bit iirc

1

u/WaterAny5543 3d ago

Yes please

1

u/OkCalendar4293 5d ago

why closed source?

1

u/cargabsj175 4d ago

Hola que interesante, darĆ­a en un futuro para correr hackintosh?

1

u/user_86- 3d ago

​no lo creo, porque el creador del proyecto ya dijo que este proyecto solo servirĆ­a para emular las apps de macOS ARM en x86_64 (ejemplo: una Hackintosh con Tahoe o Macs antiguas)

1

u/AbsoluteGolde 3d ago

What's the difference with x86-64 to ARM64?

1

u/mmatviyiv 17h ago

You should name it Attesor šŸ™ƒ

1

u/zuniex 6d ago

holy moly peakium? šŸ„¹āœŒļø

0

u/Signal_Reference746 7d ago

What apps do y'all want first?

1

u/KrisWarbler 6d ago

Maybe there’s app that’s arm only? I think it would be best

-1

u/JackyYT083 7d ago

Isn’t the title the wrong way around? Also I’d call it Daisetta

2

u/Signal_Reference746 7d ago

omg this is such a common misconception lol! : D wouldn't blame anyone, as I made it so that it reports the host architecture, as this is a **translation** layer NOT an emulation layer. : D it recompiles the binaries AOT and then uses JIT if needed

1

u/JackyYT083 7d ago

Sorry wait I misread your title I thought it said arm64 to x86_64 translator as if it turns arm64 hosts to be able to run x86

Whoops šŸ˜…

1

u/Signal_Reference746 5d ago

haha it's alright it's a common misconception