---
title: "What is a compiler in Operating System?"  
description: "What is a compiler in Operating System?"  
author: "Kalin"  
published: 2022-04-04  
canonical: https://answers.mindstick.com/qa/96705/what-is-a-compiler-in-operating-system  
category: "troubleshooting"  
tags: ["troubleshooting", "operating systems"]  
reading_time: 1 minute  

---

# What is a compiler in Operating System?

What is a [compiler](https://www.mindstick.com/articles/27/just-in-time-compiler) in [Operating System](https://www.mindstick.com/articles/229069/operating-system-development)?

## Answers

### Answer by Hitesh Vohra

![What is a compiler in Operating System?](https://answers.mindstick.com/questionanswer/45d8ba23-9b4d-409b-b7c1-d47e1bda358c/images/45547103-289c-44ac-8afc-a2eb81aa668f.jpeg) **\**

- **Compiler,** [**computer**](https://answers.mindstick.com/qa/50301/how-to-find-the-configuration-of-your-own-computer) software that converts source code written in a high-level language (e.g., C++) into a set of machine-language instructions that a digital computer's CPU can understand. Compilers are huge programmes that include error-checking and other features.
- Some compilers convert high-level languages to intermediate assembly languages, which are then translated (assembled) into machine code via an assembler.
- Other compilers directly generate machine language. Grace Hopper, an American computer scientist, created the term compiler after designing one of the earliest compilers in the early 1950s.

\

**Read More: [What are the advantages of distributed system?](https://answers.mindstick.com/qa/96706/what-are-the-advantages-of-distributed-system)**


---

Original Source: https://answers.mindstick.com/qa/96705/what-is-a-compiler-in-operating-system

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
