Macaulay2 / Macaulay2/M2

maximum pipe buffer size

Open
#3,666 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Documentation
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

The documentation for [openInOut](https://macaulay2.com/doc/Macaulay2/share/doc/Macaulay2/Macaulay2Doc/html/_open__In__Out.html) warns that pipes only hold 4096 bytes. I'm not a C expert but I think this is pretty outdated on pretty much any modern system. Using any modern alternative to expand or remove the buffer size limit on `openInOut`, specifically so arbitrarily large amounts can be written/read, would be great.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the openInOut documentation linked in the issue and locate the implementation that handles its pipes. Investigate the current buffer limitation and how large reads and writes are handled on modern systems. Done means supporting the requested larger or unrestricted transfers and updating the documentation so its buffer-size guidance is accurate.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.