Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Calling C/C++ library routines
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
MrJoltCola  
View profile  
 More options Feb 25 2005, 1:40 pm
Newsgroups: perl.perl6.internals
From: mrjoltc...@mindspring.com (MrJoltCola)
Date: Fri, 25 Feb 2005 13:40:15 -0500
Local: Fri, Feb 25 2005 1:40 pm
Subject: Re: Calling C/C++ library routines
At 01:27 PM 2/25/2005, vlad florentino wrote:

>Is there now, or will there be in the future, any way to call C/C++
>library routines from within Parrot? For example, a mysql, pcre or
>libcurl library. Either static or dynamic.

C yes. C shares objects are dynamically loadable by Parrot.
C++? Not directly, you'll need to wrap any C++ APIs in "extern C" stubs
to get at them from Parrot and make sure you stuff any object pointers into
a PMC. It has been done, an example is the C++ Qt Toolkit.

-Melvin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vlad Florentino  
View profile  
 More options Feb 25 2005, 1:27 pm
Newsgroups: perl.perl6.internals
From: megav...@gmail.com (Vlad Florentino)
Date: Fri, 25 Feb 2005 13:27:49 -0500
Local: Fri, Feb 25 2005 1:27 pm
Subject: Calling C/C++ library routines
Hello,
I've been developing a compiler that will target Parrot for the last
couple of months. I have a question.

I've only been reading the list for a short time (1 - 1 1/2 months). I
was reading some of the past articles, but there's just so many of
them that I figure I might as well just ask the question directly.

Is there now, or will there be in the future, any way to call C/C++
library routines from within Parrot? For example, a mysql, pcre or
libcurl library. Either static or dynamic.

I haven't actually program using either PASM or PIR(?) yet, since I'm
still working on the details of my compiler, such as the grammar, etc;
but I'm curious if this feature is available as this is something I
have to take into consideration right now.

Thanks

$vlad.f()


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Fwd: Calling C/C++ library routines" by Vlad Florentino
Vlad Florentino  
View profile  
 More options Feb 25 2005, 2:14 pm
Newsgroups: perl.perl6.internals
From: megav...@gmail.com (Vlad Florentino)
Date: Fri, 25 Feb 2005 14:14:04 -0500
Local: Fri, Feb 25 2005 2:14 pm
Subject: Fwd: Calling C/C++ library routines


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Calling C/C++ library routines" by Chromatic
Chromatic  
View profile  
 More options Feb 25 2005, 2:35 pm
Newsgroups: perl.perl6.internals
From: chroma...@wgz.org (Chromatic)
Date: Fri, 25 Feb 2005 11:35:41 -0800
Local: Fri, Feb 25 2005 2:35 pm
Subject: Re: Calling C/C++ library routines

On Fri, 2005-02-25 at 14:18 -0500, Will Coleda wrote:
> http://cvs.perl.org/viewcvs/cvs-public/parrot/examples/pni/

> has examples for QT, sdl, and the win32 API.

The actual NCI stuff (for SDL bindings, at least) is in:

http://cvs.perl.org/viewcvs/cvs-public/parrot/runtime/parrot/library/

-- c


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Will Coleda  
View profile  
 More options Feb 25 2005, 2:18 pm
Newsgroups: perl.perl6.internals
From: w...@coleda.com (Will Coleda)
Date: Fri, 25 Feb 2005 14:18:00 -0500
Subject: Re: Calling C/C++ library routines
http://cvs.perl.org/viewcvs/cvs-public/parrot/examples/pni/

has examples for QT, sdl, and the win32 API.

Regards.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »