Hey, so I’ve been searching the web for a while for some popular applications that use C. All that I can find so far is, Git, Vim, Linux, and Unix. I also know the Windows kernel uses it a little bit, but that’s it. Does anyone know some popular apps that use C? Doesn’t have to be programming related, just an actual app that’s written in C? Sorry if this question sounds redundant or anything.

  • Free Palestine 🇵🇸@sh.itjust.works
    link
    fedilink
    arrow-up
    20
    ·
    11 months ago

    Basically all drivers and kernels.

    GNU coreutils, sudo, SVN, curl, vim, etc.

    Also things you often use on servers like Bind 9 DNS server, httpd, nginx, the Dovecot mail server and others

    If you are looking for an actual application, a big chunk of OBS Studio is written in C

  • pelya@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    11 months ago

    Practically everything written before 2000. MS Word and Excel definitely Everything in your system32 directory

  • FlapKap@feddit.dk
    link
    fedilink
    arrow-up
    6
    ·
    11 months ago

    Many of the calculation heavy python libraries like numpy are partially written in C

  • vithigar@lemmy.ca
    link
    fedilink
    arrow-up
    5
    ·
    11 months ago

    Lua was built with C, and exposes some of C’s standard libraries in its scripting.

  • jaidyn999@lemm.ee
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    edit-2
    11 months ago

    Just about every language is written in C. Even GW-BASIC was written in C (most BASIC interpreters were written in assembly code at the time).

    When all the code was being rewritten for Y2K, C was used because it was really the only language that was portable at the time, you could write the program on a PC, and then compile and configure it on a mainframe, or vice versa.

    A more pertinent question would be what isn’t wriiten in C.

    Critical software, like interfaces, machine operation or database systems, are generally not written in C. That’s because C code can be dense and obscure. If the original programmer retire or goes missing, and the system crashes, no one else may have a clue what they’ve actually coded. So a more explicable, higher level language is used and C is quarantined to use in system software where its power and access is useful.

  • infamousta@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    11 months ago

    I know you mean software applications, but another very common application of C is almost any device that uses a microcontroller unit (which is probably dozens of things you own right now). It is incredibly adept at interfacing with processing units at a level close to the metal.

    That’s also why you’ll see OS kernels and low level system tools and libs in C as well. It provides a good balance of functionality and abstraction so you can scaffold from register manipulation and interrupt functions up to high level code very quickly.

    It also provides a good application binary interface (standards of interoperation with other languages) so you’ll find a lot of applications may be written in C++, Java, Python, etc. but they use a decent amount of core functionality implemented in C.

  • kamstrup@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    11 months ago

    Postgres and MySQL/mariadb are all primarily written in C.

    Contrary to what other posters here claim, most programming languages are not written in C, but are self hosted. Ie. written using themselves. This usually involves a small bootstrapping component written in C or something similar, but that is a minor part of a whole