ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Gnumeric plugins: can they be in a compiled language?
Does anyone know whether it is possible to write compiled plugins for Gnumeric? I've had some experience writing plugins in Python, and I've encountered two problems:
(1) A plugin containing mathematical functions is actually slower than setting up the same formulas in the spreadsheet and adding them together. The spreadsheet becomes fairly unmanageable that way, hence the decision to write a plugin, but the plugin makes it take considerably longer to execute.
(2) I've encountered a fairly significant memory leak due to Gnumeric not cleaning up references after the Python functions exit. Each call to Python produces more references and leaked memory. The function in (1) leaks memory at the rate of about 1 GB per minute for one of my spreadsheets.
I'm wondering if there's another method, possibly involving a compiled language like C, C++, or Fortran, that would produce faster plugins and possibly solve/circumvent the memory leak problems.
There's a package that ships with Fedora and some other distros called "gnumeric-devel"; the description says it "includes files necessary to develop Gnumeric-based applications." What would a "Gnumeric-based application" be, exactly, and what files does it include?
Thanks in advance.
Last edited by kaiserkarl13; 06-02-2011 at 11:26 AM.
Reason: Changed title to be more descriptive