Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Develop API for my cpp app

0 views
Skip to first unread message

n0xi0uzz

unread,
Oct 1, 2009, 9:20:29 PM10/1/09
to
Hi

How to develop API for my C++ application if i want to use it
something like an engine from perl and python?

Thanks.

Victor Bazarov

unread,
Oct 1, 2009, 9:40:31 PM10/1/09
to
n0xi0uzz wrote:
> How to develop API for my C++ application if i want to use it
> something like an engine from perl and python?

What is your C++ *language* question, again? For general inquiries
about software development, consider 'comp.software-eng' newsgroup.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask

SeanW

unread,
Oct 2, 2009, 12:05:34 PM10/2/09
to
On Oct 1, 9:20 pm, n0xi0uzz <n0xi0...@gmail.com> wrote:
> How to develop API for my C++ application if i want to use it
> something like an engine from perl and python?

Check out Boost Python, for one:

http://www.boost.org/doc/libs/1_40_0/libs/python/doc/index.html

and C++/Perl integration with XS for another:

http://www.johnkeiser.com/perl-xs-c++.html

Sean

Bill

unread,
Oct 3, 2009, 6:25:29 AM10/3/09
to
An interesting question. More a general software design question however.
For the most universal appeal I recommend you write a protocol and publish
that first. A protocol will be available to any developer or any platform.
Then develop a C API on top of that - for convenience. A C api is the most
universally useful. Any other API, then you need to write that in the
language/tool you want to support I guess.


"n0xi0uzz" <n0xi...@gmail.com> wrote in message
news:549bc344-e6be-4442...@k4g2000yqb.googlegroups.com...

0 new messages