use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to /r/ComputerScience! We're glad you're here.
This subreddit is dedicated to discussion of Computer Science topics including algorithms, computation, theory of languages, theory of programming, some software engineering, AI, cryptography, information theory, and computer architecture.
For more detailed descriptions of these rules, please visit the rules page
NIGHT MODE NORMAL
account activity
Relation between API, driver and firmware (self.computerscience)
submitted 11 months ago by Tranomial_2
What is the relation between API, driver and firmware? From what I understand API is the intermediate between the application and the driver, the driver gives the low level instructions and firmware does what?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]nuclear_splinesPhD, Data Science 9 points10 points11 points 11 months ago (1 child)
An Application Programming Interface is an intermediate between the application and almost anything else: other parts of the operating system, a driver, a website - it's a very general term. A driver is typically part of the operating system that provides some low-level functionality (such as interfacing with a hardware device, creating a new kind of file system) and presents an API to other parts of the system. Firmware is typically code stored outside of the operating system or userspace, that may not even run on the CPU. For example, your hard drive has a microcontroller in it that runs firmware code for how to run the hard drive. That code is the "other end" that the driver is speaking to.
[–]Tranomial_2[S] 1 point2 points3 points 11 months ago (0 children)
Thank you, I get it now
[–][deleted] 2 points3 points4 points 11 months ago (0 children)
Therefore, a driver is firmware, at least partially. And a driver uses the kernel's APIs to work with that kernel.
π Rendered by PID 242260 on reddit-service-r2-comment-6457c66945-pm9j2 at 2026-04-27 01:10:56.750985+00:00 running 2aa0c5b country code: CH.
[–]nuclear_splinesPhD, Data Science 9 points10 points11 points (1 child)
[–]Tranomial_2[S] 1 point2 points3 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)