Re:Object-oriented Programming with ANSI-C (1993) [pdf]
by omgmajk on Thursday June 22, 2023 @06:48AM
(#36430230)
Cool, will look at it for inspiration :)
[ Parent
| on HN ]
Re:Object-oriented Programming with ANSI-C (1993) [pdf]
by gyrovorbis on Friday June 23, 2023 @01:43AM
(#36443241)
I'm the author of the libGimbal project linked to there. It's a massive object-oriented C codebase with an entire cross-language type system that was inspired by GTk's GObject, Microsoft COM, and the Objective-C language.
I've studied everything out there on achieving OOP in C, and actually the OP's book reference was my original inspiration. There's a fine art to doing it and a few good codebases are out there that do it well... The entire GNOME stack is based on this kind of stuff.
Anyway let me know if you have any questions. lol.
Re:Object-oriented Programming with ANSI-C (1993) [pdf]
by omgmajk on Saturday June 24, 2023 @02:55PM
(#36461627)
Hey dude, awesome work and thanks! I'm mostly interested in a curious kind of way, I really enjoy programming procedurally mostly but sometimes being able to utilize OOP for certain things is very nice.
Really in the end I should just make my own language but who has the time right.
In any case, fascinating stuff and thanks again!