- 0 Posts
- 10 Comments
Revolutionary technologies of the '80 make me appreciate modern programming languages and especially tooling much more.
In general, ‘classes’ declarations were done with macro. I don’t remember the exact code — something akin to
BEGIN_CLASS(A, Parent); CLASS_MEMBER(a...) END_CLASS();The project had started before C++ existed, and the switch would be too costly. It’s not just OOP part, also reflection mechanism with bindings to the homemade scripting language, and multi-platform UI library. It was a gem of its time.
I was working on a C code base with classes, inheritance, and polymorphism, all done by hands and macros.
Something like
typedef struct s_some_class { void (*method)(this *s_some_class); } t_some_class;Overall, learning C was the best enabler in my whole career. For instance I was learning Python by tinkering with CPython VM, so when I see these ‘WAT’ quircks I know exactly what’s up.
xiii@lemmy.worldto
Ask Lemmy@lemmy.world•What’s an unspoken rule that absolutely everyone should know, but most people clearly don’t?
18·7 months agoElevator, all public transport, buildings. There’s more space outside. Stop cramping.
This is my new busyness e-mail signature.
I volunteer in my free time so that more Russian occupiers will be eliminated. I’m very proud of myself.
Comfortably runs on electronic thermometer or pregnancy test.
Linux 🤝 DOOM
https://www.scaleway.com/ French company with data centers in Paris, Amsterdam, Warsaw.
In another thread on lemmy today https://www.tuxedocomputers.com/en/TUXEDO-InfinityBook-Pro-14-Gen9-AMD.tuxedo#specs







Conveniently you forgot to mention a short list of terrorist groups financed by Iran.
Here you go