News for hackers. Stuff that matters.
Re:The Infamous Windows “Hello World” Program by goalieca on Tuesday December 09, 2014 @10:08PM (#8727472)
What? Checkout the signature for the posix signal function. Notice the function pointer?

http://man7.org/linux/man-pages/man2/signal.2.html

"Signals have been around since the 1970s Bell Labs Unix and have been more recently specified in the POSIX standard." --wikipedia

Basically, they're a software interrupt handler. Not too different from assembly. I don't see why that would be innovative at all?

In fact, early C++ just compiled to C. You can write structs with function pointers and vtables all in C if you wanted. People have been doing that since the 80s.

There are no comments on this comment yet.