Comments (4)
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.
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.
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.
This will be included in version 3.0.x release
from murex.
Related Issues (20)
- Aliases with | or # HOT 7
- alias `Get()` should return immutable object
- review `FileRef` fields are accurate
- Inconsistent curly brace behaviour in strings HOT 2
- Addition key shortcuts HOT 5
- edge case parsing rules HOT 9
- Homebrew install location differs on Intel HOT 15
- logical operators should behave differently in expressions vs statements HOT 7
- How to redirect <stderr> to /dev/null? HOT 5
- terminated by signal SIGKILL (Forced quit) HOT 1
- `command(parameters...)` behaves differently to `command parameters...` HOT 8
- Binary size HOT 5
- fg/bg bug HOT 14
- `which` always returns exitnum 0
- Optionals should be enabled/disabled via compile time flags
- Improvements to index and element HOT 1
- Murex fails to compile on AUR HOT 3
- broken links on landing page HOT 2
- ':>' operator HOT 1
- Cursor flickering on backspace while having tab completion active on some terminal emulators HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from murex.