Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In which language is basically written Chrome Browser on Android?

In which language is basically written Chrome Browser on Android? Also, I read that JavaScript Engine V8 can be nested in every C++ application. How V8 is nested in Chrome? Also is there a difference between implementation V8 on Chrome under, for example, Linux system distribution and Android OS.

like image 958
krzyhub Avatar asked Feb 01 '26 07:02

krzyhub


1 Answers

Chrome and V8 are written in C++.

While there is obviously some difference between the versions/projects (including Chrome vs Chromium) the language used and core code is the same.

A specific 'fork' - eg. 'Chrome Browser [for Android]', or 'Chrome [for iOS]' - is compiled to the target platform with the appropriate build options. For example, V8 must JIT-compile differently for the different hardware it runs on; and the UI and feature-set is modified to suite the host as well.

However, Chrome does not use V8 on iOS. Instead it uses JavaScriptCore. The same holds true for Firefox and is a result of much stricter Apple rules on dynamic native code execution.

like image 158
user2864740 Avatar answered Feb 02 '26 21:02

user2864740



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!