this post was submitted on 12 Jun 2023
43 points (100.0% liked)

Rust Lang

148 readers
1 users here now

Rules [Developing]

Observe our code of conduct

Constructive criticism only

No endless relitigation

No low-effort content

No memes or image macros

No NSFW Content

founded 1 year ago
MODERATORS
 

Any project in rust you want to chat about.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago

Been working on the same one for a while now, an implementation of COM for Linux and macOS (Microsoft's stable library ABI/IPC/network protocol). It of course supports C and C++ but also Rust, and as of now the IDL compiler which generates headers and Rust sources and makes up the majority of the code, is written in Rust.

I started working on this as part of wanting to port C++ software that heavily used COM interfaces internally to Linux but then I wanted to start using it for other things so I started writing the IDL stuff. (As of now there's no network/IPC functionality or any kind of runtime though, it's purely interfaces. That's still WIP)

I guess this is yet another way to do C++ <-> Rust calls :P

https://git.dblsaiko.net/nucom/