3 ms·
Thanks, I was wondering about Java in the context of desktop Firefox. I think at least the latest Firefox on Android is mostly Kotlin and uses Gecko components
by blinkingled 5y ago
Thanks, I was wondering about Java in the context of desktop Firefox. I think at least the latest Firefox on Android is mostly Kotlin and uses Gecko components which might use some glue Java code.
- rndgermandude 5y agoFirefox to my knowledge doesn't use much kotlin. Checking searchfox it seems the only uses of kotlin are in some geckoview tests, while the Android frontend including geckoview are still plain old .java. The one other place I know of (other than android stuff) where java is used is the html parser (tokenizer really), which is written in java and then used to generate a C++ version.
- dblohm7 5y agoThis is incorrect. The front-end for Fenix uses the Fenix and Android-components GitHub repos. mozilla-central only contains GeckoView (the embedding API for Android) which uses Java for the API itself and Kotlin for all the unit tests.
- rndgermandude 5y agoYou and blinkingled are both right of course. I totally blanked out that the mobile frontend code is now in it's own repository and indeed mostly kotlin. Being in a different repository, it didn't show up in OP's stats, either.
- blinkingled 5y agoI was thinking about https://github.com/mozilla-mobile/fenix https://github.com/mozilla-mobile/fenix - bunch of Kotlin there.