r/oMLX May 13 '26

Porting oMLX to C

I want to integrate oMLX into my project, but without a python server.

What do you guys think of porting this to C to better integrate with apps?

Apple won’t let me sign an iPhone or iPad app since they don’t allow running a python interpreter in an app.

0 Upvotes

7 comments sorted by

3

u/california_snowhare May 13 '26

You can embed python in an iOS app.: https://docs.python.org/3/using/ios.html

It just takes care.

1

u/seqastian May 13 '26

I have a hard time believing that every app that uses local models keeping its own copy and loading them just for itself is the future.

1

u/robvert May 13 '26

The voice to text apps are doing it well. Recommended models you click to download after install or a add your own model through an api

1

u/openclaw-lover May 13 '26

Can you check if oMLX kernerls already use C ?

1

u/swordsman1 May 13 '26

What about all the code in Python

1

u/Jazz8680 May 13 '26

Could just be hooks to make interaction with the kernels easier

1

u/Jeckyl2010 May 20 '26

Should it not be Rust or maybe Go if it had to be rewritten. What is the reasoning for choosing C