
Episode 9 · Season 1
9: Android Bytecode Optimisation with Emma
About this episode
In this episode, Pascal and Mihaela chat with Emma about Redex, an open-source bytecode optimiser for Android apps. Emma talks about the importance and trade-offs of such optimisations and walks us through the basic steps of how Redex works and the different types of detection patterns it uses. If you are interested in trying Redex for yourself or curious to know how it's different than other similar tools, Emma discusses how to adopt Redex in your app and how to write your own detection pattern.
For feedback, please reach out on Twitter at @insidefbmobile or drop us an email at [email protected].
Topics discussed
- Redex: https://fbredex.com/
- Sparta: https://github.com/facebook/redex/tree/master/sparta
- Proguard: https://www.guardsquare.com/en/products/proguard
- Facebook Open Source year-in-review: https://code.fb.com/open-source/open-source-2018/
- Spectrum: https://github.com/facebookincubator/spectrum
- Droidcon SF Talk about Spectrum: https://www.youtube.com/watch?v=Lb5H6_vCEok
- Mozjpeg: https://github.com/mozilla/mozjpeg/
- PyTorch: https://pytorch.org/
- Github 2018 review: https://octoverse.github.com/projects
- PyTorch 1.0: https://code.fb.com/ai-research/pytorch-developer-ecosystem-expands-1-0-stable-release/
Time Codes
Intro 0:00.000 PyTorch 1.0 0:39.728 FB Open Source Year in Review 1:20.000 Spectrum 2:06.708 Retiring Nuclide 2:51.525 Recent Litho Changes 3:38.753 Recent Flipper Changes 5:09.199 Emma Intro 6:49.595 What's Redex? 12:16.341 Optimization Passes 16:02.753 Tradeoffs 27:38.198 Open Source 31:52.276 Pattern Match Optimizations 33:28.602 Contributing to Redex 36:56.130 Removing Cats and Good Bye 38:06.425 Outro 38:25.360 Bloopers 41:44.451
More from Meta Tech Podcast
How do you add end-to-end encryption to a messenger that people have already been using for years, without taking away the message history they expect to be there? Emma Connor works on the team behind…
Pascal is going on Recharge for August so there will be no regular interview episode. However, we want to hear your questions for our mailbag episode. Send them to us on Instagram (https://www.instagr…
What changes for you as a developer when the device moves from your pocket to your face? The battery shrinks by an order of magnitude, the thermal budget is whatever won't make your nose uncomfortable…
Your smart glasses run all day on a battery narrower than your pinky finger and building it required reinventing how batteries are made. In this episode, Pascal talks to Karthik and Myuran, the engine…
You've probably spotted those little circles of your friends' faces popping up on Facebook Reels. They look simple enough, but building them was a proper engineering challenge. In this episode, Pascal…