Metakit and C#?

View: New views
5 Messages — Rating Filter:   Alert me  

Metakit and C#?

by gary.h.merrill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


We are about to move to C# for interface and application development (with a lot of back end stuff in other languages).  Does anyone have experience in using Metakit with C#?  Any hints or suggestions?

------------------------------
Gary H. Merrill, Principal Scientist
Analysis Applications, Research, and Technologies
GlaxoSmithKline Research and Development
Research Triangle Park, NC
919.483.8456

_____________________________________________
Metakit mailing list  -  Metakit@...
http://www.equi4.com/mailman/listinfo/metakit

Re: Metakit and C#?

by Brian Kelley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have slowly been making a swig wrapper for metakit to help for
secondary languages, java, c++, python.

It is at the point where it is almost useable ( I can make databases
and add rows and such ) but it has not been well tested and is
certainly not incredibly complete nor as easy to use as the current
python interface.  It pretty much is a direct copy of the C++
interface.

I'll be happy to upload this somewhere so people can begin playing
with it, it is highly in-progress though, mainly an issue of how much
time I have.

Brian Kelley

On 5/31/06, gary.h.merrill@... <gary.h.merrill@...> wrote:

>
> We are about to move to C# for interface and application development (with a
> lot of back end stuff in other languages).  Does anyone have experience in
> using Metakit with C#?  Any hints or suggestions?
>
> ------------------------------
>  Gary H. Merrill, Principal Scientist
>  Analysis Applications, Research, and Technologies
>  GlaxoSmithKline Research and Development
>  Research Triangle Park, NC
>  919.483.8456
> _____________________________________________
> Metakit mailing list  -  Metakit@...
> http://www.equi4.com/mailman/listinfo/metakit
>
>
>
_____________________________________________
Metakit mailing list  -  Metakit@...
http://www.equi4.com/mailman/listinfo/metakit

Re: Metakit and C#?

by gary.h.merrill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I'm a little puzzled by the characterization of C++ in this context as a "secondary language".  I thought that Metakit was implemented in C++, which would make that the *primary* language.   ???

Beyond that, my understanding (from a local expert) is that it is straightforward to call routines in other languages from C# (he says that his application calls a number of C++ and even Fortran modules).  So what I was wondering is whether anyone has experience doing this with Metakit.

------------------------------
Gary H. Merrill, Principal Scientist
Analysis Applications, Research, and Technologies
GlaxoSmithKline Research and Development
Research Triangle Park, NC
919.483.8456



"Brian Kelley" <fustigator@...>
Sent by: metakit-bounces@...

31-May-2006 16:12

       
To
"gary.h.merrill@..." <gary.h.merrill@...>
cc
metakit@...
Subject
Re: [Metakit] Metakit and C#?





I have slowly been making a swig wrapper for metakit to help for
secondary languages, java, c++, python.

It is at the point where it is almost useable ( I can make databases
and add rows and such ) but it has not been well tested and is
certainly not incredibly complete nor as easy to use as the current
python interface.  It pretty much is a direct copy of the C++
interface.

I'll be happy to upload this somewhere so people can begin playing
with it, it is highly in-progress though, mainly an issue of how much
time I have.

Brian Kelley

On 5/31/06, gary.h.merrill@... <gary.h.merrill@...> wrote:
>
> We are about to move to C# for interface and application development (with a
> lot of back end stuff in other languages).  Does anyone have experience in
> using Metakit with C#?  Any hints or suggestions?
>
> ------------------------------
>  Gary H. Merrill, Principal Scientist
>  Analysis Applications, Research, and Technologies
>  GlaxoSmithKline Research and Development
>  Research Triangle Park, NC
>  919.483.8456
> _____________________________________________
> Metakit mailing list  -  Metakit@...
> http://www.equi4.com/mailman/listinfo/metakit
>
>
>
_____________________________________________
Metakit mailing list  -  Metakit@...
http://www.equi4.com/mailman/listinfo/metakit



_____________________________________________
Metakit mailing list  -  Metakit@...
http://www.equi4.com/mailman/listinfo/metakit

Re: Metakit and C#?

by darel.finkbeiner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
(I thought the previous person meant C# rather than C++... I figured it was a typo)

So... define "straightforward"?  IME, there needs to be a wrapper of some kind, even if it is a fairly one-to-one wrapper...  I thought that's what Mr. Kelley was talking about.  SWIG is just a way to generate native wrappers for different languages.  I've never done SWIG with C#, but if it works with C# then it's a very easy way to generated a nice clean wrapper.

I guess clarification from Mr. Kelley on what exactly he has done would help on this.


On 6/1/06, gary.h.merrill@... <gary.h.merrill@...> wrote:

I'm a little puzzled by the characterization of C++ in this context as a "secondary language".  I thought that Metakit was implemented in C++, which would make that the *primary* language.   ???

Beyond that, my understanding (from a local expert) is that it is straightforward to call routines in other languages from C# (he says that his application calls a number of C++ and even Fortran modules).  So what I was wondering is whether anyone has experience doing this with Metakit.

------------------------------
Gary H. Merrill, Principal Scientist
Analysis Applications, Research, and Technologies
GlaxoSmithKline Research and Development
Research Triangle Park, NC
919.483.8456



"Brian Kelley" <fustigator@...>
Sent by: metakit-bounces@...

31-May-2006 16:12

       
To
"gary.h.merrill@..." <gary.h.merrill@...>
cc
metakit@...
Subject
Re: [Metakit] Metakit and C#?







I have slowly been making a swig wrapper for metakit to help for
secondary languages, java, c++, python.

It is at the point where it is almost useable ( I can make databases
and add rows and such ) but it has not been well tested and is
certainly not incredibly complete nor as easy to use as the current
python interface.  It pretty much is a direct copy of the C++
interface.

I'll be happy to upload this somewhere so people can begin playing
with it, it is highly in-progress though, mainly an issue of how much
time I have.

Brian Kelley

On 5/31/06, gary.h.merrill@... <gary.h.merrill@...> wrote:
>
> We are about to move to C# for interface and application development (with a
> lot of back end stuff in other languages).  Does anyone have experience in
> using Metakit with C#?  Any hints or suggestions?
>
> ------------------------------
>  Gary H. Merrill, Principal Scientist
>  Analysis Applications, Research, and Technologies
>  GlaxoSmithKline Research and Development
>  Research Triangle Park, NC
>  919.483.8456
> _____________________________________________
> Metakit mailing list  -  Metakit@...
> http://www.equi4.com/mailman/listinfo/metakit
>
>
>
_____________________________________________
Metakit mailing list  -  Metakit@...
http://www.equi4.com/mailman/listinfo/metakit



_____________________________________________
Metakit mailing list  -  Metakit@...
http://www.equi4.com/mailman/listinfo/metakit




_____________________________________________
Metakit mailing list  -  Metakit@...
http://www.equi4.com/mailman/listinfo/metakit

Re: Metakit and C#?

by gary.h.merrill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I think things in .NET are a bit more straightforward than the standard "wrapper" approach that is being talked about.  Apparently this partly has to do wit whether a DLL you want to call functions from is "managed" or "unmanaged".  If the former, it is supposed to be really straightforward to call an "external" function from C#.    If the latter, then there is some higher degree of complication.

So I guess what I'm asking (in .NET jargon) is whether Metakit has been built (or can be build, or has a makefile or project for building as) a managed DLL.

------------------------------
Gary H. Merrill, Principal Scientist
Analysis Applications, Research, and Technologies
GlaxoSmithKline Research and Development
Research Triangle Park, NC
919.483.8456

_____________________________________________
Metakit mailing list  -  Metakit@...
http://www.equi4.com/mailman/listinfo/metakit
LightInTheBox - Buy quality products at wholesale price