Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 851791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T07:29:10+00:00 2026-05-15T07:29:10+00:00

so I asked here few days ago about C# and its principles. Now, if

  • 0

so I asked here few days ago about C# and its principles. Now, if I may, I have some additional general questions about some languages, because for novice like me, it seems a bit confusing. To be exact I want to ask more about language functions capabilities than syntax and so.

To be honest, its just these special functions that bothers me and make me so confused. For example, C has its printf(), Pascal has writeln() and so. I know in basic the output in assembler of these functions would be similar, every language has more or less its special functions. For console output, for file manipulation, etc. But all these functions are de-facto part of its OS API, so why is for example in C distinguished between C standard library functions and (on Windows) WinAPI functions when even printf() has to use some Windows feature, call some of its function to actually show desired text on console window, becouse the actual “showing” is done by OS. Where is the line between language functions and system API?

Now languages I don’t quite understand – Python, Ruby and similar. To be more specific, I know they are similar to java and C# in term they are compiled into bytecode. But, I do not unerstand what are its capabilities in term of building GUI applications. I saw tutorial for using Ruby to program GUI applications on Linux and Windows. But isn´t that just some kind of upgrade? I mean fram other tutorials It seemed like these languages was first intended for small scripts than building big applications.

I hope you understand why I am confused. If you do, please help me sort it out a bit, I have no one to ask.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T07:29:11+00:00Added an answer on May 15, 2026 at 7:29 am

    At the bottom you have the OS kernel itself – code that runs in a special CPU mode that allows direct access to otherwise protected resources. You will never have to deal with this unless you’re an OS developer.

    Then comes a do-not-cross line seperating this “kernel space” from “user space”. Everything you do as “normal” developer is done in user space.

    The OS kernel exports a limited number of very basic functions into user space, dubbed “system calls”. Open a file, read / write a number of bytes, closing the file, for example.

    Because these system calls usually require some Assembler code developers don’t want to be bothered with, they are “wrapped” in (usually) C code functions: open(), read(), write(), close().

    Now come two sets of APIs available to the developer: The OS API, and the standard language API.

    The standard language API provides functions that can be used on any platform supporting the language: fopen(), fputc(), fgetc(), fclose(). It will also provide higher-level functions that make life easier: fprintf(), for example.

    The OS API provides its own set of functions. These are not portable to a different operating system, but might be more intuitive to use, or more powerful, or merely different. OpenFile(), ReadFile(), WriteFile(), CloseFile(). Again, higher-level functions might be available, i.e. PrintLn().

    The two sets of functions might partially rely on each other, or make system calls directly, but that shouldn’t bother you too much. You should, however, decide beforehand which set of functions you will want to use for your project, because mixing the two sets – while not a mistake in itself – opens a whole new can of worms (i.e., potential errors).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

few days ago I asked here about implementing USB. Now, If I may, would
A few days ago I asked here about how to add src attribute to
Guys I've asked few days ago a question and didn't have really time to
In response to a question I asked a few days ago, I'm attempting to
I asked a similar question a few days ago, but there's no harm in
I asked on SO a few days ago what was the simplest quickest way
I asked here about a protocol that I was asked to implement, and how
Ok, i've read most relevant questions asked here previously on this but I still
In writing the code that throws the exception I asked about here , I
last time I asked how to populate a data structure here . Now I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.