This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
The idea of a compiler and assembler optimized for functional programming intrigues me. Since variables don't change value, one should be able to store even custom classes on the stack. Foreach might be sent to SIMD in some cases. In some other cases, they might be sent to CUDA or the like. The constraints of functional programming should make optimization in the assembler (particularly an assembler custom built for functional programming) much easier and faster.
Do you know of anyone who has done work in this area?
Addendum, if the code compiles into a branchless program, then that branchless compiled code FP immutability all variables and classes being on the stack SIMD / Cuda should make it exceptionally fast.
Subreddit
Post Details
- Posted
- 2 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/functionalp...