this post was submitted on 24 Dec 2025
234 points (95.0% liked)

Technology

78003 readers
2197 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ZILtoid1991@lemmy.world 14 points 2 days ago (3 children)

Will this finally be the end of Windows?

Also fun fact: Windows uses a lot of COM Interfaces for API, which in my opinion often makes developing for Windows a better experience, than developing for Linux. Rust does not have anything OOP related by default, and are often emulated with macros instead, like in C.

[–] HaraldvonBlauzahn@feddit.org 2 points 1 day ago

Rust has traits and reference counting which map nicely to COM objects.

By the way, the Linux Kernel is OOP. That's a good choice for things like queues, file systems, and device drivers.

[–] SuperSpruce@lemmy.zip 8 points 1 day ago (1 children)

I work for a company developing software for Windows and deal with COM all the time. How do you communicate across dynamic libraries and languages in Linux?

[–] ZILtoid1991@lemmy.world 4 points 1 day ago (1 children)

Linux usually just uses C API, most of which reads horribly. Libevdev is quite notorious for using files and the docs not telling you that the reading is blocking. Some additional things use C++ classes though.

[–] SuperSpruce@lemmy.zip 2 points 1 day ago (1 children)

Could you provide a link to the documentation? It's strange that it's so barebones.

[–] nialv7@lemmy.world 0 points 1 day ago* (last edited 1 day ago) (1 children)

That's a crazy take. I hate com and oop with a passion. If you like com that much there's gobject for you on Linux.

[–] ZILtoid1991@lemmy.world 1 points 1 day ago

I hate everything GTK/GNOME, they didn't even call it gnobject.