Giter VIP home page Giter VIP logo

Comments (4)

lmorg avatar lmorg commented on May 18, 2024

I'm now thinking of scraping the original plan and work on a completely different model where data types are channelled via TCP/IP APIs (possibly just using HTTP because it's easier?). This means data types can be stored and forwarded to all CLI tools - even those that aren't aware of murex.

The down side is it turns murex into a server.

More consideration will be needed but in the meantime the existing code will need to be removed.

from murex.

lmorg avatar lmorg commented on May 18, 2024

Nearly a year has passed and I'm still at a loss about how to pass data-type information down the pipeline. I'm starting to wonder if this is one of those behaviours that is best left ignored rather than having a pseudo-solution that works in some situations but not all and creates other unexpected results.

from murex.

lmorg avatar lmorg commented on May 18, 2024

After rethinking about this recently, it occurred to me that the answer is really very simple: create another two file descriptors. 4 for data-type in, and 5 for data-type out.

I should also create a new pipe to disable the creation of those descriptors. Or maybe add a differentiator where | is a traditional pipe and -> creates those fd's? Or maybe => disables them?

This will need some thought and testing to see the performance impact of adding two new descriptors per each exec.

I will also need to add some builtins to murex to export descriptors. Or better yet, if an environmental variable is set (eg MUREX_DATA_TYPE) then automatically assume there to be additional fd's? In fact, if we are to write an environmental variable anyway, then perhaps create one for the input data type and only use one fd for the exported data type?

from murex.

lmorg avatar lmorg commented on May 18, 2024

This will be included in version 3.0.x release

from murex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.