3 ms·
Here's a hint. Write a Windows 3.1 program in C (don't worry, it runs fine in windows 8). In those programs the event loop is extremely visible, and you'll unde
by waps 12y ago
Here's a hint. Write a Windows 3.1 program in C (don't worry, it runs fine in windows 8). In those programs the event loop is extremely visible, and you'll understand how everything works even in modern languages.
Effectively, even things like Android and IOS still use the same basic principle, and if you dig deep enough this is exactly the structure you'll see.
Plus cooperatively multitasked servers wipe the floor with almost any other kind. It's good to know how they are structured at a very low level and be able to write code to cooperate with them.
- peterfirefly 12y agoThe actual drawing API can also vary a lot. Cairo is quite nice and very different from Win3.1. It is more like GDI+ but nicer (and probably slower). The GUI/event handling can also be done in different ways: functional reactive programming is very different from Win3.1/X/Old-Skool Macs.