N
noridotjabi
Why isn't there a Graphical User Interface standard? Think about it
for a second. You may say, well evey systems API for GUIs is differnt,
but do take into acound: every operating system requires differnt
compilations and often totally differnt compiler code. For instance
gcc on windows in not the same code as gcc on linux/unix but it
produces the same programs when you use it to compile. Yes you can
take something like:
#include <stdio.h>
int main(void) {
printf("Hello, world!\n");
return 0;
}
And compile it on Mac OS X, Windows XP, Debian Linux, freeBSD, etc.
Each time(especially on the unposix driven OS's) differnt machine code
is generated. So why can't you take:
#include <stdgio.h>
int main(void) {
stdwin s_window;
s_window = makenewwin(WINDOW_DIALOG);
win_printf(s_window, "Hello, World!");
wait(5);
closewin(s_window);
return 0;
}
All of the functions above are imagineary of course but why havn't they
been created? Graphical User Interfaces have existed scince the Mid
80's (or maybe earlier correct me if I am wrong) yet there is still no
C standard about them. Yes more coding would be required on SEVERAL
systems, but it doesn't even apear as though there has been much effort
to make a standered for GUI. Porting GUI programs from linux to
windows, or back, is hell. Sure there are things that exist for
windows and linux for example GTK, but, there are differances, and this
is not "standard".
How long is it going to take before someone says "Okay, you know what,
text based user interfaces are not what most users use, wouldn't it be
nice to make it so that there is nice C standard based on GUIs?".
Well? Wouldn't it?
Nori
for a second. You may say, well evey systems API for GUIs is differnt,
but do take into acound: every operating system requires differnt
compilations and often totally differnt compiler code. For instance
gcc on windows in not the same code as gcc on linux/unix but it
produces the same programs when you use it to compile. Yes you can
take something like:
#include <stdio.h>
int main(void) {
printf("Hello, world!\n");
return 0;
}
And compile it on Mac OS X, Windows XP, Debian Linux, freeBSD, etc.
Each time(especially on the unposix driven OS's) differnt machine code
is generated. So why can't you take:
#include <stdgio.h>
int main(void) {
stdwin s_window;
s_window = makenewwin(WINDOW_DIALOG);
win_printf(s_window, "Hello, World!");
wait(5);
closewin(s_window);
return 0;
}
All of the functions above are imagineary of course but why havn't they
been created? Graphical User Interfaces have existed scince the Mid
80's (or maybe earlier correct me if I am wrong) yet there is still no
C standard about them. Yes more coding would be required on SEVERAL
systems, but it doesn't even apear as though there has been much effort
to make a standered for GUI. Porting GUI programs from linux to
windows, or back, is hell. Sure there are things that exist for
windows and linux for example GTK, but, there are differances, and this
is not "standard".
How long is it going to take before someone says "Okay, you know what,
text based user interfaces are not what most users use, wouldn't it be
nice to make it so that there is nice C standard based on GUIs?".
Well? Wouldn't it?
Nori