Comments (4)
It basically boils down to subscribing a new RTD topic for each object by hashing the function & parameters used to create it, creating a unique identifying string handle for the object, storing the object somewhere you can look it up with that handle and returning the handle to the cell. You need to RTD topic to give you a way to delete the object (or at least your reference to it) when the contents of the creating cell changes.
There are some sticking points like async functions. You need to return something initially while the cell is calculating and then when the cell recalculates changes you need to hang onto the previous result until the new one is ready or you end up with sheets flashing up "# N/A" all over the place any time anything changes.
from excel-d.
Yes, I need this as well for exposing bloomberg subscriptions to excel. Simple request/response calls to bloomberg hit our quota, so we need to open subscriptions instead.
Lifecycle is a problem so xll-d needs to support this natively.
from excel-d.
We can do it already using mir.net and mir type system the same way we do it in Xenon. It fully @nogc and nocopy interaction with C#/C++/D that allows you to pass and forgot a reference to a data of any complexity. C# feels much better for Excel than any D wrapper we may have.
@skoppe Nick said it is important to have an OOP excel APIs. Can we propose @hatf0 to work on Mir->C# reflection layer? I would help him as well. We already solved a lot of related problems in mir.net such that memory management and exception handing. That would be a great benefit for Xenon as well.
from excel-d.
We can do it already using mir.net and mir type system the same way we do it in Xenon. It fully @nogc and nocopy interaction with C#/C++/D that allows you to pass and forgot a reference to a data of any complexity. C# feels much better for Excel than any D wrapper we may have.
I don't think this is enough for subscriptions. This is real-time-data I am talking about.
Nick said it is important to have an OOP excel APIs
I don't know what is meant by this. Perhaps good to discuss this in more detail in private.
Can we propose @hatf0 to work on Mir->C# reflection layer? I would help him as well.
As long as it supports Streams (aka async iterators).
from excel-d.
Related Issues (20)
- testLibrary config broken
- Travis build fails for ldc 1.9.0
- Docs are down HOT 1
- wrapAll should do necessary imports
- Access violation after a while. HOT 5
- Memory leak HOT 2
- Allow running user specified code in xlAutoOpen
- optional arguments for excel functions
- What command to issue for compiling? HOT 1
- Need a tag for the dlang project tester HOT 4
- How to format Function Documentation HOT 7
- appveyor windows build is failing
- can't call @system operStringLength from @safe dup HOT 2
- nogc 0.5.0 support? HOT 1
- move project to symmetryinvestments and archive this one HOT 1
- docs folder contains colliding file HOT 4
- Friendlier "ArgumentText" and "ArgumentHelp" HOT 3
- Don't uppercase the first character of function names HOT 2
- test suite breaks when trying to make __traits(allMembers) "import correct" HOT 2
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 excel-d.