12 karma · joined Dec 30, 2023 (2y ago) · 8 submissions
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
As a side note, it has pretty great C interop, so you should be able to use C libraries or your own C code, for missing functionality. Documentation on this feature is unfortunately lacking right now though.
comment 2y ago · link · parent
See this paper for details, it gives a good high level overview before diving into the nitty gritty: https://www.microsoft.com/en-us/research/publication/general...
comment 2y ago · link · parent
https://www.microsoft.com/en-us/research/publication/fiptree... https://www.microsoft.com/en-us/research/publication/tail-re... https://www.microsoft.com/en-us/research/publication/fp2-ful...
comment 2y ago · link · parent
comment 2y ago · link · parent
After that depends on whether a continuation actually needs to be captured or not. Many useful effects can be implemented as `val` or `fun` clauses which can be called / accessed in place without any unwinding of the stack. Only in cases where a continuation is required is the continuation built up.