Online Developer Meeting (2021-03-23): Difference between revisions

Jump to navigation Jump to search
→‎User invisible code improvements: Rename to "Backend code improvements". Add more notes.
(→‎Ideas for next meeting: Add possible topics)
(→‎User invisible code improvements: Rename to "Backend code improvements". Add more notes.)
Line 48: Line 48:
** Formatting (colors, URLs, etc.) can be done by the GUI.  Interpreter does not know about window-width, etc.
** Formatting (colors, URLs, etc.) can be done by the GUI.  Interpreter does not know about window-width, etc.


===== User invisible code improvements =====
===== Backend code improvements =====


* "Ditch" old UNIX system functions (e.g. popen)
* "Ditch" old UNIX system functions (e.g. popen)
** Move to package?
** Move to package?
* import-operator
** Rik will compile a list of functions that are candidates for removal from core Octave.
** use <code>std::unordered_map</code>, rather than <code>std::map</code> to increase interpreter lookups
* performance of symbol lookup
** symbol resolution slow
** use <code>std::unordered_map</code>, rather than <code>std::map</code> to increase performance of interpreter lookups
* use <code>std::shared_ptr</code> instead of custom reference counting
** Potentially implement "import" keyword? That will probably slow down symbol lookup some more.
* favor C++ std-library functions over gnulib!
* Replace custom reference counters with implementation using <code>std::shared_ptr</code>
** Some instances are more difficult to replace. jwe will post something about this on the discourse forum.
* favor C++ std-library functions over gnulib where possible
** Maybe require C++14 or C++17?
* improve HDF5 integration
* improve HDF5 integration
** Key to support latest Matlab file formats.
** Add "wrapper" for libhdf5 functions in Octave's scripting language.
** Key to support latest Matlab file formats. Try to implement in the interfaces for that format in .m file functions.
** Some developers very interested in this!
** Some developers very interested in this!


214

edits

Navigation menu