4 ms·
This is an absolutely amazing work that targets several pain points of elegant and efficient (literally costless) stream processing. It seems to me that concept
by a0 10y ago
This is an absolutely amazing work that targets several pain points of elegant and efficient (literally costless) stream processing. It seems to me that conceptually template metaprogramming as found in D is the closest practical incarnation of this idea, what do you think?
- jamii 10y agoIs Scala not practical? Julia's generated functions are also capable of similar designs.
- a0 10y agoBoth Scala and OCaml are very practical languages, I was referring to the actual multi-stage streams implemented in the proposed library. What I think is interesting is the fact that D arrived to a similar conceptual model from a more _practical_ perspective by extending the applications of templates.
- quelltext 10y agoI guess the question is rather whether MetaOCaml or the Scala-Virtualized compiler fork + the LMS framework code are practical. I am not so sure, but I have also not looked into it too deeply. But in the end it doesn't matter as long as it is just a maturity issue. After all I guess the stream library in the submission is to be seen as a motivation for making MPS more mainstream.
- quelltext 10y agoHow do D templates compare to staging in MetaOCaml? I had always thought D templates only expanded during compile time, like C++'s.
- mafribe 10y agoMetaOCaml is about run-time meta-programming. There's your key difference.