Could this be used to combine the output of projects written in incompatible languages? EG: say I have a rust program and a go program, both are open source, but I want to call them from a swift program. Could I compile the rust and go programs into ELFs then use WCC to break them out into "libraries" and then call them from swift?
Is there a better way to do this? Right now the alternative I'm thinking about is creating opening sockets from the Rust and GO side and talking to them via TCP.
But the end result I want is a single binary for the target platform and no install complications other than putting the binary on a stock unix machine.
I'm sure there's a better way.