I wonder in which language Chromium OS is written.I guess they have used C/C++ but did they put something different (Go)?
Did they used Assembly for low level code as I know that they had to change some things to make booting a lot faster?
I wonder in which language Chromium OS is written.I guess they have used C/C++ but did they put something different (Go)?
Did they used Assembly for low level code as I know that they had to change some things to make booting a lot faster?
Asking what language is ChromiumOS is written is ambiguous. Chromium OS consists of a variety of components coded in different languages. The kernel is a Linux kernel, therefore it's primarily written in C and some assembly. Chromium itself is written primarily in C++, with a bit of C scattered around. There are also a number of other components, such as X and the window manager, and shell scripts, and python scripts, and what not, which are written in a variety of languages.
ChromiumOS is based on Gentoo and uses a wide variety of languages to build; the vast majority are:
at runtime, ChromiumOS uses Rust/C++/C/Assembly the vast majority of the time, and once the browser is up, anything Chrome itself supports (so JavaScript is used a lot). there is some shell code with low level system boot up/maintenance, but there is no Go or Python or any other interpreted language on the system.
NB: i include awk and sed and similar languages under the "shell" umbrella which i think suffices for most people who are interested in this question.
Poke around
/etc/
in Chromium, and you'll quickly see it is mostly Ubuntu; Google contracted with Canonical to do the majority of the work.It boots quickly because it doesn't do much. :) I'm sure there's more to it than that, but restricting what the system can do is a great way to reduce the boot speed problem to something more tractable.