Openkore.com

OpenKore Forums
It is currently 21 Mar 2019, 01:25

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Plugins in other languages (Python, Ruby, C, etc)
PostPosted: 15 Aug 2008, 16:52 
Offline
Perl Monk
Perl Monk

Joined: 04 Apr 2008, 17:26
Posts: 811
Completely possible. I'm working on a simpler interface for it, but at the moment if anyone wants to write plugins in other languages, just use the Inline family of Perl modules (Inline::C, Inline::Python, Inline::Ruby, etc etc).

_________________
cs : ee : realist


Top
 Profile  
 
 Post subject: Re: Plugins in other languages (Python, Ruby, C, etc)
PostPosted: 17 Aug 2008, 07:37 
Offline
Human
Human
User avatar

Joined: 27 Apr 2008, 12:52
Posts: 46
Location: Russia
Also you can take code which depend on performance to dll module.


Top
 Profile  
 
 Post subject: Re: Plugins in other languages (Python, Ruby, C, etc)
PostPosted: 17 Aug 2008, 09:42 
Offline
Perl Monk
Perl Monk

Joined: 04 Apr 2008, 17:26
Posts: 811
Actually, I was thinking about that the other day. I'd like to see someone implement an OpenKore plugin in pure C. The thing is there would probably need to be a Perl plugin to wrap the C plugins as OpenKore doesn't natively support XS Perl modules (outside XSTools, which has special code written specifically for loading and using it).

_________________
cs : ee : realist


Top
 Profile  
 
 Post subject: Re: Plugins in other languages (Python, Ruby, C, etc)
PostPosted: 21 Aug 2008, 08:04 
Offline
Plain Yogurt
Plain Yogurt
User avatar

Joined: 04 Apr 2008, 09:49
Posts: 82
is C faster than perl?
http://www.openkore.com/wiki/index.php/ ... g_language

i like plugin's in C...
but i dont know the limitations of C from perl
since im not good at C and also perl XD

_________________
Image
DARKest Ninja


Top
 Profile  
 
 Post subject: Re: Plugins in other languages (Python, Ruby, C, etc)
PostPosted: 21 Aug 2008, 10:03 
Offline
Perl Monk
Perl Monk

Joined: 04 Apr 2008, 17:26
Posts: 811
C is much faster, but I doubt so when run using Inline.

_________________
cs : ee : realist


Top
 Profile  
 
 Post subject: Re: Plugins in other languages (Python, Ruby, C, etc)
PostPosted: 18 Feb 2019, 13:57 
Offline
Noob
Noob

Joined: 18 Feb 2019, 13:54
Posts: 1
Hello,

I have an application, written in Python, which is utilized by a genuinely specialized gathering of people (researchers).

I'm searching for a decent method to make the application extensible by the clients, for example a scripting/plugin architecture.

I am searching for something amazingly lightweight. Most contents, or plugins, are not going to be produced and disseminated by an outsider and introduced, yet will be something prepared by a client shortly to mechanize a rehashing errand, include support for a record design, and so on. So plugins ought to have absolute minimum boilerplate code, and require no 'installation' other than copying to a folder (so something like setuptools entry points, or the Zope plugin architecture seems like too much.)

Are there any frameworks like this officially out there, or any tasks that implement a similar scheme that I should look at for ideas / inspiration?

_________________
Python Training


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group