Re: Tablicious in Octave Forge

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: Tablicious in Octave Forge

On 03/12/2021 07:09 AM, [hidden email] wrote:
Re: Tablicious in Octave Forge [was: Re: [GSoC 2021] How should I do now with project Table datatype]
Guillaume [hidden email]
03/12/2021 06:25 AM
Octave Maintainers List [hidden email]
[hidden email]
[hidden email] [hidden email] [hidden email] [hidden email] [hidden email]
[hidden email]
[hidden email]
multipart/alternative; boundary="00000000000019254605bd57ab0b"

I think having a GSoC student working on the implementation of table would be great and I would skip the Forge packaging to focus on adding the functionality in core Octave (of course, reusing as much as possible of Tablicious).
Once the low level data structure is in place (a write-up on "proxy key" would be great), the burden of the implementation of all table related functions could be shared among all interested parties:
Would it also be possible to decouple projects? Why not implementing (part of) table without requiring strings or datetime or categorical or missing? I feel that if the foundations are there and robust, we can build the rest one bit at a time.


My vote as well is to just implement this in core Octave.  Developer time is limited and spending 1/4-1/3 of the effort setting something up in Octave Forge only to discard it later when the code moves to core seems a grievous waste.

We are also early in the 7.0 cycle so now is the time to make big changes and potentially de-stabilize the code base for a while.

See also this Discourse thread where I introduced some ideas about possible large themes for the next release:

In particular, two themes I mentioned bear on this discussion:

Matlab compatibility
** strings class (bite the bullet and implement this and, probably, get rid of Octave’s very UNIX-y way of understanding single and double quotes)
** “argument” input validation blocks
** others? Seems like there are tall arrays, dataframes, etc.

Octave-only functionality
** built-in hash operator. I would like to see an O(1) search function incorporated in to the Octave language, similar to hashes in Perl or dictionaries in Python. This would be an extension over what Matlab provides, and could be used to implement containers.Map more easily as well as data frames.