[gmpi] Re: Requirements

  • From: Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Fri, 14 Nov 2003 22:09:25 -0500

>However, I think I must have missed where it was decided to use ANSI C
>instead of standard C++, which would make getting it all to work much
>easier.

this was decided rather early on. the major motivation: it is much,
much, much easier to wrap an API written in C for other languages than
one written in C++. even in the simple 2 language case: write the API
in C++, and C hosts can't use it (assuming use of any C++ features not
present in C, which if not done makes C++ a bit pointless really,
doesn't it?)

then move on to the the likely desire in the future to wrap it for
some other non-C-derived languages, and C becomes almost mandatory. 

notice how the VST API is really written in C, but was wrapped in C++
to make developer's lives a bit easier. GMPI (or GMPI++) could do the
same. 

--p

----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: