General-purpose programming language GudangMovies21 Rebahinxxi LK21

      In computer software, a general-purpose programming language (GPL) is a programming language for building software in a wide variety of application domains. Conversely, a domain-specific programming language (DSL) is used within a specific area. For example, Python is a GPL, while SQL is a DSL for querying relational databases.


      History


      Early programming languages were designed for scientific computing (numerical calculations) or commercial data processing, as was computer hardware. Scientific languages such as Fortran and Algol supported floating-point calculations and multidimensional arrays, while business languages such as COBOL supported fixed-field file formats and data records. Much less widely used were specialized languages such as IPL-V and LISP for symbolic list processing; COMIT for string manipulation; APT for numerically controlled machines. Systems programming requiring pointer manipulation was typically done in assembly language, though JOVIAL was used for some military applications.
      IBM's System/360, announced in 1964, was designed as a unified hardware architecture supporting both scientific and commercial applications, and IBM developed PL/I for it as a single, general-purpose language that supported scientific, commercial, and systems programming. Indeed, a subset of PL/I was used as the standard systems programming language for the Multics operating system.
      Since PL/I, the distinction between scientific and commercial programming languages has diminished, with most languages supporting the basic features required by both, and much of the special file format handling delegated to specialized database management systems.
      Many specialized languages were also developed starting in the 1960s: GPSS and Simula for discrete event simulation; MAD, BASIC, Logo, and Pascal for teaching programming; C for systems programming; JOSS and APL\360 for interactive programming.


      GPL vs. DSL


      The distinction between general-purpose programming languages and domain-specific programming languages is not always clear. A programming language may be created for a specific task, but used beyond that original domain and thus be considered a general purpose programming language. For example, COBOL, Fortran, and Lisp were created as DSLs (for business processing, numeric computation, and symbolic processing), but became GPL's over time. Inversely, a language may be designed for general use but only applied in a specific area in practice. A programming language that is well suited for a problem, whether it be general-purpose language or DSL, should minimize the level of detail required while still being expressive enough in the problem domain. As the name suggests, general-purpose language is "general" in that it cannot provide support for domain-specific notation while DSLs can be designed in diverse problem domains to handle this problem. General-purpose languages are preferred to DSLs when an application domain is not well understood enough to warrant its own language. In this case, a general-purpose language with an appropriate library of data types and functions for the domain may be used instead. While DSLs are usually smaller than GPL in that they offer a smaller range of notations of abstractions, some DSLs actually contain an entire GPL as a sublanguage. In these instances, the DSLs are able to offer domain-specific expressive power along with the expressive power of GPL.
      General Purpose programming languages are all Turing complete, meaning that they can theoretically solve any computational problem. Domain-specific languages are often similarly Turing complete but are not exclusively so.


      = Advantages and disadvantages

      =
      General-purpose programming languages are more commonly used by programmers. According to a study, C, Python, and Java were the most commonly used programming languages in 2021. One argument in favor of using general-purpose programming languages over domain-specific languages is that more people will be familiar with these languages, overcoming the need to learn a new language.
      Additionally, for many tasks (e.g., statistical analysis, machine learning, etc.) there are libraries that are extensively tested and optimized. Theoretically, the presence of these libraries should bridge the gap between general-purpose and domain-specific languages.
      An empirical study in 2010 sought to measure problem-solving and productivity between GPLs and DSLs by giving users problems who were familiar with the GPL (C#) and unfamiliar with the DSL (XAML). Ultimately, users of this specific domain-specific language performed better by a factor of 15%, even though they were more familiar with GPL, warranting further research.


      Examples




      = C

      =
      The predecessor to C, B, was developed largely for a specific purpose: systems programming. By contrast, C has found use in a variety of computational domains, such as operating systems, device drivers, application software, and embedded systems.
      C is suitable for use in a variety of areas because of its generality. It provides economy of expression, flow control, data structures, and a rich set of operators, but does not constrain its users to use it in any one context. As a result, though it was first used by its creators to rewrite the kernel of the Unix operating system, it was easily adapted for use in application development, embedded systems (e.g., microprocessor programming), video games (e.g., Doom), and so on. Today, C remains one of the most popular and widely-used programming languages.


      = C++

      =
      Conceived as an extension to C, C++ introduced object-oriented features, as well as other conveniences like references, operator overloading, and default arguments. Like C, C++'s generality allowed it to be used in a wide range of areas. While its C++'s core area of application is in systems programming (because of C++'s ability to grant access to low-level architecture), it has been used extensively to build desktop applications, video games, databases, financial systems, and much more. Major software and finance companies, such as Microsoft, Apple, Bloomberg, and Morgan Stanley, still widely use C++ in their internal and external applications.


      = Python

      =
      Python was conceived as a language that emphasized code readability and extensibility. The former allowed non-software engineers to easily learn and write computer programs, while the latter allowed domain specialists to easily create libraries suited to their own use cases. For these reasons, Python has been used across a wide range of domains.
      Below are some of the areas where Python is used:

      Web Development: Frameworks like Django and Flask have allowed web developers to create robust web servers that can also take advantage of the wider Python ecosystem.
      Science and Academia: Scientific and data libraries, like SciPy and Pandas, have enabled Python's use in scientific research.
      Machine Learning: Libraries like scikit-learn and Tensorflow have increased the accessibility of machine learning to developers.
      General Software Development: Developing user applications, web scraping programs, games, and other general software.


      List



      The following are some general-purpose programming languages:


      See also


      General-purpose markup language
      General-purpose modeling language


      References

    Kata Kunci Pencarian:

    general purpose programming language meaninggeneral purpose programming languagegeneral purpose programming languagesgeneral purpose programming language which is used to develop the softwaregeneral purpose programming language meansgeneral purpose programming language examplesgeneral purpose programming language listgeneral purpose programming language vsgeneral purpose programming language pythongeneral purpose programming language meaning in tamil
    Python is an interpreted, high-level, general-purpose programming ...

    Python is an interpreted, high-level, general-purpose programming ...

    152 General Purpose Programming Language Images, Stock Photos & Vectors ...

    152 General Purpose Programming Language Images, Stock Photos & Vectors ...

    152 General Purpose Programming Language Images, Stock Photos & Vectors ...

    152 General Purpose Programming Language Images, Stock Photos & Vectors ...

    152 General Purpose Programming Language Images, Stock Photos & Vectors ...

    152 General Purpose Programming Language Images, Stock Photos & Vectors ...

    General-purpose programming language | Semantic Scholar

    General-purpose programming language | Semantic Scholar

    Programming Language: The General Parts | ctrl-y

    Programming Language: The General Parts | ctrl-y

    DocsAllOver | Blogs & Articles | General Purpose Programming

    DocsAllOver | Blogs & Articles | General Purpose Programming

    Top 5 Programming Language for General Purpose 2021 | Must Learn [No C++]

    Top 5 Programming Language for General Purpose 2021 | Must Learn [No C++]

    Designing a modern, general purpose programming language | Ars OpenForum

    Designing a modern, general purpose programming language | Ars OpenForum

    General-purpose language with Digital java code text. General-purpose ...

    General-purpose language with Digital java code text. General-purpose ...

    The Problem with General-Purpose Programming Languages

    The Problem with General-Purpose Programming Languages

    Programming language - Wikipedia

    Programming language - Wikipedia

    Search Results

    general purpose programming language

    Daftar Isi

    General-purpose programming language - Wikipedia

    In computer software, a general-purpose programming language (GPL) is a programming language for building software in a wide variety of application domains. Conversely, a domain …

    General-purpose language - Wikipedia

    A general-purpose language is a computer language that is broadly applicable across application domains, and lacks specialized features for a particular domain. This is in contrast to a domain …

    30 Best general-purpose programming languages as of 2025 - Slant

    What are the best general-purpose programming languages? Uses class-free OO, like Go. Can assign methods to structs, embed structs in other structs, has interfaces, etc... Compile app to …

    What is General-purpose language? - Definition from Amazing …

    A general-purpose language (GPL) is a programming language designed to be applicable to a wide range of applications. It is in contrast to a domain-specific language, which is designed …

    What Is a Programming Language? - Codecademy

    Jul 22, 2020 · Python: Python is a versatile, general-purpose programming language. It can be used in a variety of fields from data science and machine learning to web development and is …

    What is a general purpose programming language? - Campus …

    Oct 28, 2023 · A general-purpose programming language is a computer language designed for writing programs that can perform a wide variety of tasks. Used to develop software: General …

    General-purpose programming language - Simple English Wikipedia…

    A general-purpose programming language is a way to tell a computer what to do that makes a user's job easy and quick without much confusion. It is not restricted to only one field (e.g. …

    What is a General-purpose Language? - Computer Hope

    Sep 10, 2024 · What is a General-purpose Language? A general-purpose language is a programming language that can create all types of programs. For example, C is a good …

    What Is A General Purpose Programming Language | WordSCR

    Nov 5, 2024 · A general-purpose programming language is a high-level language that is designed to be versatile and flexible, allowing developers to write a wide range of applications, from …

    What is C Programming Language? Basics, Introduction, History

    Aug 8, 2024 · C is a general-purpose programming language that is extremely popular, simple, and flexible to use. It is a structured programming language that is machine-independent and …