7 Replies - 1164 Views - Last Post: 15 September 2011 - 10:57 AM Rate Topic: -----

#1 petastream   User is offline

  • New D.I.C Head
  • member icon

Reputation: 8
  • View blog
  • Posts: 20
  • Joined: 23-August 11

Python or Lua for plugin language to C# Imaging suite

Posted 13 September 2011 - 09:05 PM

Just wanted to put this out there and get your guy's perspective. I've been working the last year on an image enhancement suite for Law Enforcement. I've been toying with the idea of using an extension language to allow our user base to build their own intermediate processes. Anyhow i've rendered the stew down to Python or Lua, Python I have working experience with, but Lua has quite a showing due to the WoW plugin interface. Pros/Cons to either, and any personal experiences in either is all that I'm asking. Thank you in advanced.

Is This A Good Question/Topic? 0
  • +

Replies To: Python or Lua for plugin language to C# Imaging suite

#2 AdamSpeight2008   User is offline

  • MrCupOfT
  • member icon

Reputation: 2298
  • View blog
  • Posts: 9,535
  • Joined: 29-May 08

Re: Python or Lua for plugin language to C# Imaging suite

Posted 13 September 2011 - 09:45 PM

What's wrong with using C# and MEF?

Example Application

This post has been edited by AdamSpeight2008: 13 September 2011 - 09:47 PM

Was This Post Helpful? 1
  • +
  • -

#3 petastream   User is offline

  • New D.I.C Head
  • member icon

Reputation: 8
  • View blog
  • Posts: 20
  • Joined: 23-August 11

Re: Python or Lua for plugin language to C# Imaging suite

Posted 14 September 2011 - 09:41 AM

That's the first that I've heard of that framework. Looking for a interpreted type language so that our clients don't need a real build environment though.
Was This Post Helpful? 0
  • +
  • -

#4 zem107   User is offline

  • D.I.C Head

Reputation: 7
  • View blog
  • Posts: 84
  • Joined: 10-April 11

Re: Python or Lua for plugin language to C# Imaging suite

Posted 15 September 2011 - 01:06 AM

Use Python, it has a bigger and better library plus it has already been implemented into the .NET framework as IronPython.
Was This Post Helpful? 1
  • +
  • -

#5 baavgai   User is offline

  • Dreaming Coder
  • member icon


Reputation: 7205
  • View blog
  • Posts: 15,018
  • Joined: 16-October 07

Re: Python or Lua for plugin language to C# Imaging suite

Posted 15 September 2011 - 03:56 AM

View PostAdamSpeight2008, on 14 September 2011 - 12:45 AM, said:



I'd never heard of MEF and it looks interesting. Thanks for the link. However, I'm not sure it's the requirement the OP seems to have.

You're looking for your application to run scripts in an embedded interpreter? With no need for a compiler, etc?

While Lua is classic because of it's size, I'd lean toward Python. This is more personal; I prefer the language. Though, in terms of online docs, Lua is woefully under represented. There is Python.NET and my feeling is that embedding an interpreter might not be a huge thing.
Was This Post Helpful? 1
  • +
  • -

#6 AdamSpeight2008   User is offline

  • MrCupOfT
  • member icon

Reputation: 2298
  • View blog
  • Posts: 9,535
  • Joined: 29-May 08

Re: Python or Lua for plugin language to C# Imaging suite

Posted 15 September 2011 - 08:39 AM

Visual Studio 2010 is used on top of MEF.
Was This Post Helpful? 0
  • +
  • -

#7 baavgai   User is offline

  • Dreaming Coder
  • member icon


Reputation: 7205
  • View blog
  • Posts: 15,018
  • Joined: 16-October 07

Re: Python or Lua for plugin language to C# Imaging suite

Posted 15 September 2011 - 09:10 AM

Ok... this allows run time interpretation of a script how?


This might help, if you can get the Mono code to play nice with your app: http://tirania.org/b...008/Sep-10.html
Was This Post Helpful? 0
  • +
  • -

#8 petastream   User is offline

  • New D.I.C Head
  • member icon

Reputation: 8
  • View blog
  • Posts: 20
  • Joined: 23-August 11

Re: Python or Lua for plugin language to C# Imaging suite

Posted 15 September 2011 - 10:57 AM

Thanks guys for the input, I think i'll be going with Iron Python. The python backend is much more familiar to me and seems to be more readily integrated in to the CLR. Good to know about the MEF framework though that may be useful in the future.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1