Shared Library Hello World
I've been messing around with interop between Rust and C/C++ using the C ABI recently. And I thought that we could include a C/C++ Hello World implementation that is linked against a local shared library which provides the Hello World implementation. Allowing people to compile their own C-style dynamic library which the program can link to at runtime. Then we can have people set up sub-projects to compile their own library implementation, then add listings in a Makefile to allow people to choose which library they compile. (e.g. make rust_library or make c_library)
Shared Library Hello World
I've been messing around with interop between Rust and C/C++ using the C ABI recently. And I thought that we could include a C/C++ Hello World implementation that is linked against a local shared library which provides the Hello World implementation. Allowing people to compile their own C-style dynamic library which the program can link to at runtime. Then we can have people set up sub-projects to compile their own library implementation, then add listings in a Makefile to allow people to choose which library they compile. (e.g.
make rust_libraryormake c_library)