gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-devel] [task #13765] Convert static libraries to shared librar


From: Mohammad Akhlaghi
Subject: [gnuastro-devel] [task #13765] Convert static libraries to shared libraries
Date: Sat, 30 Apr 2016 11:00:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #11, task #13765 (project gnuastro):

As discussed before, nearly all the libraries were initially part of a single
utility. When they were needed by more than one utility, they were moved to
the lib/ directory. So various issues about them are not perfectly ideal for a
library: for example filenames, function names, even the function operations
(they might be more useful merged with each other or further modularized).

The main issue now (names of the functions) is that the names were not
necessarily the best possible. So be going through the libraries (file and
function names), we can choose better names, to be both descriptive and make a
good over-all function name. Applying the definition discussed below
immediately will make some bad names (very long sometimes). While the
gal_libraryfilename_function_name can be very useful to find the actual file
and function, but such long names will make the code harder to read. So we
have to choose good libraryfilename and functionname that can fit nicely with
this format, while also being descriptive.

So I suggest to start implementing the library creation slowly and one by one,
first with the smaller libraries (with fewer functions) to check our library
models in practice and test them before implementing them over the full
package. If we find out that any of our choices were not ideal, we can then
change them easily.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/task/?13765>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]