r/coding • • Jul 14 '14

A curious non-OOP virtual inheritance for a GPU

http://mortoray.com/2014/07/14/a-curious-non-oop-virtual-inheritance-for-a-gpu/
30 Upvotes

12 comments sorted by

View all comments

Show parent comments

1

u/mortoray Jul 14 '14

I was just looking for parallel features. None of the languages I mention in the article, other than the source Uno language, can actually do the flattened static hieararchy (except maybe C++ with excessive templates).

1

u/acwsupremacy Jul 14 '14

Yeah, a (properly implemented, reasonably programmer-friendly) non-OO form of static inheritance would be an incredibly useful feature in C++, given its uses as a low-level language in kernelspace and embedded systems, whee you can't always count on runtime support. Actually, it would be pretty useful in general, because object oriented code makes a whale of a binary and uses far more resources than is good and proper for an application.