News for hackers. Stuff that matters.
Re:Haskell's kind system: a primer by calebh on Thursday October 18, 2018 @01:35PM (#18250332)
In the next version of Juniper everything will be moved over to purely stack based allocation. Currently only function closures and refs are allocated on the heap. The refs are only created once when the program initializes itself, so that isn't an issue. The closures will become part of the function type. The FRP model works very well for the Arduino platform since you're essentially modelling a data-flow from input to output devices. Currently the compilation target is C++, which means that the Juniper compiler doesn't have a ton of control over the final assembly code.
Re:Haskell's kind system: a primer by naasking on Thursday October 18, 2018 @08:00PM (#18253370)
> The closures will become part of the function type.

Can you elaborate? Do you mean something like closures and function pointers will be distinguished, with closures essentially being something like an existential package paired with a function pointer? ie. ∃'x.'x * 'a -> 'b