On Friday, 27 February 2015 at 07:26:06 UTC, Jacob Carlborg wrote:
On 2015-02-26 20:53, Taylor Hillegeist wrote:
So, In languages like .net they have dll's that contain not only bytecode but also the necessary headers to make them usable in any .net language. I was curious if this kind of thing has ever been attempted
for static libraries?

basically some type of universal header + static library = Everything
Needed to use in project file.

of course they would be targeted for a certain platform but would be
really easy to grab/use.

And if the header could be agreed upon any compiled language could use
the library which would be a huge benefit.

Perhaps i'm incorrect in my assumptions. Let me know what you think
about the idea?

I think it's better to use a package manager to handle this. It will also automatically download the necessary files. Also it will help (hopefully) you to find the libraries you need.

I just think its a shame that all over the place people are compiling code in different programming languages, and although all the .o files are compatible with each other there isn't a standard cross language way of defining a binding. But that would be making people agree on things...

Reply via email to