Lets say there was an architecture XYZ which was optimised for functional languages (like haskell). Can any tell me the advantages of such an architecture and also a "functional" assembly language?
Thanks in advance
In programming languages, a closure, also lexical closure or function closure, is a technique for implementing lexically scoped name binding in a language with first-class functions. Operationally, a closure is a record storing a function together with an environment.
Languages which support closure (such as JavaScript, Swift, and Ruby) will allow you to keep a reference to a scope (including its parent scopes), even after the block in which those variables were declared has finished executing, provided you keep a reference to that block or function somewhere.
Today, assembly language is still used for direct hardware manipulation, access to specialized processor instructions, or to address critical performance issues.
An assembly language is a type of low-level programming language that is intended to communicate directly with a computer's hardware. Unlike machine language, which consists of binary and hexadecimal characters, assembly languages are designed to be readable by humans.
forth is lightweight and low-level lisp.. and,
stack-computer architecture for forth and lisp
lisp-machine
Second-Generation Stack Computer Architecture (pdf) (scholar search)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With