Project

General

Profile

Feature #1246

Revive old CoCoA4 package called "cocoa5.cpkg"

Added by John Abbott about 5 years ago. Updated about 1 year ago.

Status:
Feedback
Priority:
Urgent
Category:
CoCoA-4 function to be added
Target version:
Start date:
21 Feb 2019
Due date:
% Done:

90%

Estimated time:
Spent time:

Description

Kreuzer wants to use various functions (for remote procedure calls) which were defined in the package cocoa5.cpkg.

Revive the relevant parts of the code.


Related issues

Related to CoCoA-5 - Support #1240: John's visit Feb 2019Closed2019-02-08

Related to CoCoALib - Design #360: CoCoAServer: what future, what issues?New2013-05-27

History

#1 Updated by John Abbott about 5 years ago

The package name should be changed. My temporary version is called OperationCommunication.cpkg5.

The old code is essentially undocumented, and some parts are rather untransparent.

Several parts do not need to be translated (e.g. those parts making CoCoALib functions available to CoCoA4).

#2 Updated by John Abbott about 5 years ago

#3 Updated by John Abbott about 5 years ago

Anna has cleaned the file so that it is syntactically OK.

Now we must look at the semantics.

#4 Updated by John Abbott about 5 years ago

Here are the aspects to be addressed next:
  • how to serialize rings (i.e. follow previous format, but passing rings)
  • previously there were some nasty hacks to handle "parameters"; clean this up!
  • the new impl of OpenSocket creates a record with fields send and recv; perhaps try to do the same when writing and reading files?

#5 Updated by John Abbott about 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Anna Maria Bigatti
  • % Done changed from 0 to 20

#6 Updated by John Abbott over 4 years ago

  • Target version changed from CoCoA-5.3.0 to CoCoA-5.4.0

#7 Updated by John Abbott about 3 years ago

  • Priority changed from High to Urgent

#8 Updated by Anna Maria Bigatti about 3 years ago

For Anna: look for some examples, and try to remember how it works

#9 Updated by John Abbott about 3 years ago

Example of the data format can be found in the following file

/home/jabbott/Work/CoCoALib-0.99/src/server/benchmarks/inputs.tgz

on my computer...

#10 Updated by John Abbott almost 3 years ago

I now have a version of OperationCommunication.cpkg5 which works for some simple examples.
Bernhard is working to make it better.

Still need to remove dependency on global variable MEMORY, and perhaps remove the need to call Initialize.

#11 Updated by John Abbott almost 3 years ago

  • Related to Design #360: CoCoAServer: what future, what issues? added

#12 Updated by John Abbott over 2 years ago

  • % Done changed from 20 to 70

I think this has progressed but nothing was noted here. Increased %done.

#13 Updated by John Abbott about 2 years ago

  • Target version changed from CoCoA-5.4.0 to CoCoA-5.4.2

#14 Updated by John Abbott over 1 year ago

Bernhard in comment 10 above, it is reported you had an improved version (of OperationCommunication.cpkg5).
Is this true? Do I have your improved version?

It would be good to close this issue.

#15 Updated by John Abbott over 1 year ago

Referring to comment 10: the function Initialize now does nothing; all references to MEMORY are commented out).

#16 Updated by John Abbott about 1 year ago

  • Status changed from In Progress to Feedback
  • % Done changed from 70 to 90

Is there any news from Passau about this issue?
Is there an improved version of OperationCommunication.cpkg5?

#17 Updated by Anna Maria Bigatti about 1 year ago

  • Target version changed from CoCoA-5.4.2 to CoCoA-5.4.4

Also available in: Atom PDF