Tech IndustryOct 1, 2023
Grabpathtopip

python for mobile apps at Meta

I’ve heard that in addition to things like React Native, Meta also uses some sort of Python based cross platform framework for many screens. Could anyone confirm and speak a bit more about this?

Meta Mark1984 Oct 1, 2023

Bloks, it’s hack lang

Meta flattenіng Oct 1, 2023

It used to be called native templates but I think Instagram created their version on python called bloks, nowadays is also available in hack so has phased out native templates, in fact I think the python version is on it's way out. It's a server framework that spits out something that clients consume and build the UI with native frameworks. Nothing groundbreaking, it's not like python is running on the clients or anything like that

Grab pathtopip OP Oct 1, 2023

interesting thanks. so i assume it’s used for very basic display only screens? i can’t imagine this working when complex interactions and functionality is required

Meta flattenіng Oct 1, 2023

It's good enough for most common use cases and extensible enough for more complex stuff e.g. you can still plug in native stuff if you want. Checkout the meta account center from settings on FB or IG or even the Meta branded login flows are created with this framework afaik