Moderators: phlip, Moderators General, Prelates
Xanthir wrote:BRAINF*CK is the best trivial model of computation.
Sandry wrote:Bless you, Briareos.
Blriaraisghaasghoasufdpt.
Oregonaut wrote:Briareos is my new bestest friend.
sum list = foldl (+) 0 listint sum(int[] nums){
int total = 0;
for(int i = 0; i < nums.length; i++){
total += nums[i];
}
return total;
}Sandry wrote:Bless you, Briareos.
Blriaraisghaasghoasufdpt.
Oregonaut wrote:Briareos is my new bestest friend.
EduardoLeon wrote:The Turing Machine is nicer, because it's a lot like actual computers, while Lambda Calculus is "out of this world". I doubt you can implement a machine that evaluates lambda expressions natively.
rabuf wrote:If you consider lisp (specifically scheme) sufficiently close to the -calculus, then this paper describes just such a machine:
http://dspace.mit.edu/handle/1721.1/5731
EduardoLeon wrote:At some lower level, perhaps at hardware level, computation must be dealt with in an imperative way.
Berengal wrote:There's lots of research still going on in Lambda Calculus. Especially when it comes to types, LC is pretty much the go-to petri dish.
...
It's not what I'd call useless.
Turing machines on the other hand...
0xBADFEED wrote:One question I was thinking of is what would have happened if Turing had never created any of his works or any of his research and we were only left with LC at that time. How far back would that have set the arrival of actually usable computers, if at all? The TM is fairly obviously mappable to an actual machine, LC not so much.
stephentyrone wrote:0xBADFEED wrote:One question I was thinking of is what would have happened if Turing had never created any of his works or any of his research and we were only left with LC at that time. How far back would that have set the arrival of actually usable computers, if at all? The TM is fairly obviously mappable to an actual machine, LC not so much.
My money is on "not at all". Shannon and Von Neumann (and others) were much more directly responsible for the modern approach to mapping computation onto actual hardware. Complexity Theory would likely look entirely different as a field, though I suspect that many of the same results would have been derived, just with entirely different approaches.
Sir_Elderberry wrote:Cords are not just bendy cylinders. They are flexible, animate beings possessed by spirits whose intentions are beyond our ken. They are Cthulu's tentacles intruding on our reality.
LakatosIstvan wrote:I am pretty shocked a little that so little teaching resources concerning Lambda Calculus can be found on the Internet. Considering how mind-bogglingly useful it is it really amazes me...
bieber wrote:Speaking of which, does anyone have a preferred resource they'd care to point me towards for learning more about the lambda calculus?
#include <stdio.h>
int main()
{ struct { unsigned a:3, b:3, c:2; } n = {0};
do do printf("%hhu\n", *&n);
while(!(n.a-- && !++n.b));
while(++n.c);
return 0; } hotaru wrote:bieber wrote:Speaking of which, does anyone have a preferred resource they'd care to point me towards for learning more about the lambda calculus?
Sushi's Universal Logic Catalogue – The Ultimate Lambda Pow(d)ers
Sir_Elderberry wrote:Cords are not just bendy cylinders. They are flexible, animate beings possessed by spirits whose intentions are beyond our ken. They are Cthulu's tentacles intruding on our reality.
MadRocketSci2 wrote:Please compose your next post on a machine designed around Lambda Calculus. Thank you.
ochuckles wrote:Aren't LC and TM equivalent in power in precisely the same way that Lisp and Brainfuck are?
afarnen wrote:(\lambda mnfx.mf(nfx))(\lambda fx.f(f(fx)))\lambda fx.(f(f(f(f(fx)))))
Robert'); DROP TABLE *; wrote:afarnen wrote:(\lambda mnfx.mf(nfx))(\lambda fx.f(f(fx)))\lambda fx.(f(f(f(f(fx)))))
Can someone well-versed in the lambda calculus explain what they does? It just looks like a mess to me.
It Should Be Real wrote:Fuck the wizard.
We're doing this manually.
scarecrovv wrote:which is the function that takes a function and a second argument, and applies the function to the second argument 8 times. Don't ask me why this is useful, though I'm sure it serves some purpose.
Users browsing this forum: No registered users and 9 guests