POV-Ray : Newsgroups : povray.general : A new SDL Idea : Re: A new SDL Idea Server Time
31 Jul 2024 16:19:40 EDT (-0400)
  Re: A new SDL Idea  
From: nemesis
Date: 4 Oct 2007 14:35:00
Message: <web.47053170bcc3cc02773c9a3e0@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> nemesis <nam### [at] gmailcom> wrote:
> > >   A library needs an interface to be used. That can't be bytecompiled.
>
> > There're docs for that purpose.
>
>   How is documentation going to help creating an interface to use a
> precompiled library?

It won't.  The infrastructure is supposed to take care of that.  If Visual
Basic or C# programs are compiled to the same "Common Language
Infrastructure", the .NET runtime knows how to handle the binary
interfacing of the code.  The document documents the interface:  here's a
function foo, which takes an argument bar of type foobar etc... should be
called from any language, using a particular syntax.

It's not different from calling precompiled native code from any language,
including C/C++:  the linker is the infrastructure here providing the
glueing together of binaries compiled from different languages into the
same native interface.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.