Safari is a web browser developed by Apple, and it is primarily built using a combination of several programming languages and technologies, including:
Objective-C: Safari's user interface on macOS and iOS is primarily built using the Objective-C programming language, which is an object-oriented language that is widely used for developing software on Apple's platforms.
Swift: Apple's newer programming language, Swift, is also used in the development of Safari and other Apple software. Swift is a modern, fast, and safe language that is designed to work alongside Objective-C and can be used to build entire applications or individual components.
C++: Like other web browsers, Safari includes a rendering engine that is responsible for displaying web content. Safari's rendering engine is called WebKit, and it is primarily written in C++, a powerful language that is widely used for system-level programming.
JavaScript: Safari includes a built-in JavaScript engine called JavaScriptCore, which is responsible for executing JavaScript code on web pages.
HTML, CSS, and other web technologies: Safari supports a variety of web standards and technologies, including HTML, CSS, and other web technologies like WebRTC, WebAssembly, and WebGL.
Overall, the development of Safari involves a complex set of technologies and languages, with Objective-C, Swift, C++, and JavaScript serving as some of the primary building blocks for the web browser.