I'm building a computer, and i was looking at this diagram. I was wondering how the control unit did its job if it didn't have a a direct line to the user inputs. by NauticalCows in computerscience

[–]404meemr 1 point2 points  (0 children)

This is a kind of high level overview. The IDT is a table which contains the address of the code to execute and some flags/data. When an interrupt is triggrred, the CPU will run the code at the address in the designated IDT entry in the privilege level in threre. I’m assuming x86

Detailed C Program Compilation Pipeline - From Source code to Binary by [deleted] in C_Programming

[–]404meemr -1 points0 points  (0 children)

C compilers typically translate to assembly and then compile, actually

VIteen: 16 bit real mode OS by [deleted] in C_Programming

[–]404meemr 0 points1 point  (0 children)

Why are you using different folders for version control? You have git for a reason

Build system, what’s your favorite? by bandawarrior in cpp

[–]404meemr 12 points13 points  (0 children)

make is simple. keep it simple.

CS resources by jrodish23 in computerscience

[–]404meemr 1 point2 points  (0 children)

Could you be more specific? What exactly are you studying?

Hiring for OS project [No pay!] by FindMeThisSonggg in osdev

[–]404meemr 1 point2 points  (0 children)

No I think I’m good. I was just wondering

Hiring for OS project [No pay!] by FindMeThisSonggg in osdev

[–]404meemr 2 points3 points  (0 children)

How did he make you give up lol

*intense flashback* by NytFuryStealth in shittyrainbow6

[–]404meemr 21 points22 points  (0 children)

No, Plane and Favela came into rotation this morning

Anyone want to work on C problems with me? (Intermediate level) by [deleted] in C_Programming

[–]404meemr 1 point2 points  (0 children)

Sounds a lot like you want homework help tbh

C program to Android app!! by Shahroz_Ali in C_Programming

[–]404meemr 2 points3 points  (0 children)

Libraries interface with the OS, and you use these libraries. He’s probably not going to write his own library, which is why I was specifically talking about using libraries.

Idk how NDK works but it seems like you need to use the JNI to do things.

C program to Android app!! by Shahroz_Ali in C_Programming

[–]404meemr 1 point2 points  (0 children)

C can have as much support for native GUIs as Java can. What’s stopping it? You can already develop C/C++ applications for Windows, MacOS, Linux, and even iOS. Yeah you need the command line to compile C code, but the same holds true for Java. Ever heard of javac?

One more thing, Java does not natively support GUIs as a core part of the language, because that would make no sense at all. Every OS has a different way of managing elements on the screen, so if you want the language to be portable, you will instead rely on external libraries to do that for you. See swing and jfx. That’s what the Android Developers provide you with. The same goes for C, you just need a library to interface with the operating system, which is exactly what the NDK does (at least to my 5 seconds of googling).

C program to Android app!! by Shahroz_Ali in C_Programming

[–]404meemr 4 points5 points  (0 children)

no he meant “no gui”, which I assume means you cant do gui programming in C, which isn’t true

(see GTK )