nevalang / neva

🌊 Dataflow programming language with static types and implicit parallelism. Compiles to native code and Go
https://nevalang.org
MIT License
85 stars 7 forks source link

Get rid of input unboxing? #305

Closed emil14 closed 9 months ago

emil14 commented 1 year ago

Isn't these the same thing?

And

What are use-cases for inport unboxing (unpacking)? Can't we get rid of it?

emil14 commented 1 year ago

Get rid of OUTPORT unboxing!

type LLConnectionSide struct {
    PortAddr  LLPortAddr
    Selectors []LLSelector
}

This is how it looks on both HL and LL reprs.

emil14 commented 1 year ago

What If I want .x for all my receivers? Do I have to copy that meta info for every of them?

emil14 commented 1 year ago

Sugar

Have outport unboxing but at only sugared form

emil14 commented 9 months ago

https://github.com/nevalang/neva/discussions/369