C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Calling C++ functions in a .so directly from foreign languages and C++ as an interface definition language

From: Paul Caprioli <paul_at_[hidden]>
Date: Mon, 1 Sep 2025 04:46:03 +0000
> My ideal world would involve a small open source C library that could > load the C++ symbol table from a .so/.dll and unpack it as needed. > Then the host language could talk to that C library and obtain all the > facilities it needed. That way an interpreter could simply populate > its module hierarchy with the contents of the .so automatically. I'd > love to have C++ namespaces, enums, classes, structs, operators and > functions just show up in interpreted languages without users doing > any work. Much of this is in the header file(s) and not in the shared library .so file(s).

Received on 2025-09-01 04:46:09