Re: [Numerator-discuss] GSL#
Status: Alpha
Brought to you by:
asomogyi
From: <end...@co...> - 2004-03-22 16:33:51
|
Antonio - I'll zip up and send you what I have for the GSL binding as soon as I get a chance (will be this week), allong with some documentation. Essentially, I have manually created bindings for most of the GSL functions, and I started creating some nice wrapper classes. These wrapper classes are all structs, so they are allocated and destroyed quickly and with no overhead on the stack. Thanks for the info about swig, I have not heard of them before, but sounds like exactly what is needed to create an auto bindig to GSL. I definitly think that using a tool to auto-generate bindings to GSL is the way to go. Then, once a low level binding exists, it is easy to create wrapper classes to help manage the use of GSL resources. Currently, I am working on getting the scheme / MathML interpreter running as soon as possible, so I really do not have much time to devote to the GSL binding. > Hello! > > Thank you very much for your answer. (I got it when you send it, but I > couldn't answer until now, sorry.) > > It would be great if we can share the effort to make a wrapper of the > GSL to C#. I think we haven't had the same approach. My first attempt > was to write manually the functions, but I think is much better if we > use the (young C#) machinery of SWIG (http://www.swig.org). > > I have been using this tool and I have almost finished a 0.1 version > with almost every function :-O Maybe it's what we need (or simply the > roots). > > I have to admit I am not completely familiar with your full project. I > will study it and will see if the previous is the best way to develop > the wrapper. At this time, the wrapper is only one possibility in our > group. The highest (graphical) level is, of course, the goal. > > Again, thank you very much for your answer, > kind regards :) > > A. > > El lun, 15-03-2004 a las 18:56, end...@co... escribió: > > Hello Antonio, thanks for your interest. > > > > 1: I do plan on a wrapper for GSL. I wrote most of a wrapper for GSL > > for another project that I worked on. It is not complete, but if you > > are intersted, I will check it in to CVS. Essentially, I manually wrote > > c# function definitions for all most of the GSL functions, so the GSL > > functions are called directly. I would eventually like to develop a > > higher level interface to the native GSL functions, but I have not > > gotten to that yet. There are several higher level wrappers for GSL, and > > I think that these would serve as good models. > > > > I would like to re-do much of the current c# binding to GSL, as I found > > a perl script that parses C header files, and automatically generates > > a C# binding to it. I have not tried it yet however. > > > > 2: I definitly want all of this to be completly cross platform. The non > > gui portions such as the MathML DOMv work the last time I tried them with > > mono. The gui portions, such as the MathML display widget are designed in > > such a matter as only one single class performs any platform specific > > logic. To get this to work on GTK is only a matter of creating a GTK# > > based backend for this class. > > > > Currently, I am working on a Scheme interpreter / compiler, this will take > > Scheme input, and generate MSIL bytecode that will be JIT compiled by the > > runtime to execute. This will be the core of the MathML interpreter, as > > MathML content markup is just a XML description of scheme, so once the > > scheme interpreter is working, MathML content markup will simply generate > > a scheme AST (abstract syntax tree), and this tree will be evaluated. > > > > I plan on having the interpreter running in a few months, then I can start > > on other pieces. > > > > So, if you want what I have of the c# binding to GSL, let me know, and > > I will check it in, bear in mind, that it will most likely change > > very much when I do make the final offcial version. > > > Hello everybody, > > > > > > I've just seen at http://numerator.sourceforge.net that you intend to > > > develop a wrapper from GSL to C#. I haven't been able to find the status > > > of the project right now. What can you tell me? > > > > > > By the way, are you planning it to work in GNU/Linux with Mono or only > > > MS Windows? > > > > > > Thanks and kind regards, > > > > > > A. > > > > > > -- > > > Antonio Zugaldía <azu...@ya...> > > > http://www.zugaldia.org/antonio > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: IBM Linux Tutorials > > > Free Linux tutorial presented by Daniel Robbins, President and CEO of > > > GenToo technologies. Learn everything from fundamentals to system > > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > > _______________________________________________ > > > Numerator-discuss mailing list > > > Num...@li... > > > https://lists.sourceforge.net/lists/listinfo/numerator-discuss > -- > Antonio Zugaldía <azu...@ya...> > http://www.zugaldia.org/antonio > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Numerator-discuss mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numerator-discuss |