Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What language was sublime text developed in?


May 24, 2021 Sublime Text Use the manual


Table of contents


Sublime text, almost all (estimated at 99%) of the code, is written by C.

  • Very few parts, using Object-C;
  • About the plug-in section, Python is used;

Object-C usually writes Objective-C or Obj-C or OC, which is a language derived from the C language, inherits the characteristics of the C language, and is an object-oriented programming language that expands the C language. O bject-C is an object-oriented language. T he C language, on the other, is a process-oriented language. Object-C is the basic language for MAC OSX and iOS development.

Advantages and disadvantages

  • Object-C is a very "practical" language. It uses a small runtime written in C, and OC writes programs that are usually not much bigger than their original code.
  • The original version of Objective-C does not support garbage collection.
  • Objective-C does not include namespace mechanisms.
  • Although Objective-C is the parent set of C, it does not treat the basic type of C as a first-level object.
  • Objective-C does not support op-overloading (it does not support ad-hoc multi-type) in comparison to C.
  • Object-C supports only single parent inheritance and does not support multiple inheritance.


Python (English pronunciation: /ˈpaɪθən/American pronunciation:/ˈpaɪθɑːn/) is an object-oriented interpreted computer programming language. I s also a powerful and perfect universal language, has more than ten years of development history, mature and stable. P ython is purely free software, and source code and interpreter CPython follow the GPL (GNU General Public License) protocol. P ython syntax is simple and clear, and one of its features is the forced indentation of statements with white space. P ython has a rich and powerful library. O ften nicknamed the glue language, it can easily link modules made in other languages, especially C/C. A common application scenario is to use Python to quickly prototype a program (sometimes even the program's final interface) and then rewrite parts of the program that have special requirements, such as graphics rendering modules in 3D games, where performance requirements are particularly high, and then encapsulated as an extended class library that Python can call. It is important to note that you may need to consider platform issues when using extended class libraries, and some may not provide cross-platform implementations.

Python benefits

1. Simple: Python is a language that represents simple thought. R eading a good Python program feels like reading English. It allows you to focus on solving problems rather than understanding the language itself.

2. Easy to learn: Python is extremely easy to get started because Python has extremely simple documentation.

3. Fast: Python's underlying is written in C, and many standard and third-party libraries are Written in C, running very fast.

4. Free, open source: Python is one of FLOSS (free/open source software). U sers are free to publish copies of the software, read its source code, make changes to it, and use a portion of it in new free software. FLOSS is based on the concept of a group sharing knowledge.

5. High-level languages: When writing programs in Python, you don't need to consider the underlying details such as how to manage the memory your program uses.

6. Portability: Due to its open source nature, Python has been ported on many platforms (modified to make it work on different platforms). These platforms include Linux, Windows, FreeBSD, Macintosh, Solaris, OS/2, Amiga, AROS, AS/400, BeOS, OS/390, z/OS, Palm OS QNX, VMS, Psion, Acom RISC OS, VxWorks, PlayStation, Sharp Zaurus, Windows CE, PocketPC, Symbian, and Google's linux-based android platform.

7. Explanatory: A program written in a compiled language such as C or C can be converted from the source file (i.e., C or C? language) to the language used by your computer (binary code, i.e. 0 and 1). T his process is done through the compiler and different tags and options. W hen you run a program, the connection/translocator software copies your program from the hard disk to memory and runs it. P rograms written in the Python language do not need to be compiled into binary code. Y ou can run the program directly from the source code. I nside the computer, the Python interpreter converts the source code into an intermediate form called bytecode, which is then translated into the machine language used by the computer and runs. T his makes it easier to use Python. It also makes the Python program easier to port.

8. Object-oriented: Python supports both process-oriented programming and object-oriented programming. I n a "process-oriented" language, programs are built by procedures or just functions that can reuse code. In an object-oriented language, programs are built from objects that combine data and functionality.

9. Scalability: If you need a piece of critical code to run faster or if you want some algorithms not to be exposed, you can write some programs in C or C, and then use them in Python programs.

10. Embeddability: Python can be embedded in the C/C?program to provide scripting functionality to the program user.

11. Rich library: The Python standard library is really large. I t can help with a variety of work, including regular expressions, document generation, unit tests, threads, databases, web browsers, CGI, FTP, e-mail, XML, XML-RPC, HTML, WAV files, cryptographic systems, GUI (graphical user interface), Tk, and other system-related operations. T his is called Python's "full-featured" philosophy. In addition to standard libraries, there are many other high-quality libraries, such as wxPython, Twisted, Python image libraries, and more.

12. Code of the specification: Python uses forced indentation to make the code more readable. Programs written in the Python language do not need to be compiled into binary code.

Python disadvantages

1. Single-line statement and command-line output problem: many times can not be linked to a line, such as import sys; f or i in sys.path:print i。 Perl and awk do not have this limitation, it is more convenient to complete a simple program under the shell, do not need to be like Python, the program must be written to .py file.

2. Unique syntax: This may not be called a limitation, but it still confuses many beginners by shrinking in and distinguishing statement relationships. E ven experienced Python programmers can fall into a trap. The most common scenario is that the mixing of tabs and spaces can lead to errors, which cannot be separated by the naked eye.

3. Slow running speed: Here is the comparison with C and C.