Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Show me functional IO

Name: Anonymous 2007-08-17 0:27 ID:qrTUeVE5

IO is not referentially transparent. Show me functional I/O. Then show me the same thing imperatively. Which is simpler.

Name: Anonymous 2007-08-20 21:05 ID:UYyo6+r0

Your CPU knows about IO as a concept, it is a fundamental aspect of computation, if you're going to make it difficult then you've already lost.

Name: Anonymous 2007-08-20 21:38 ID:ledHqLSz

>>41
You're not making sense.

Name: Anonymous 2007-08-20 21:46 ID:dcZzKZON

>>41
You seem to be confusing implementation details with theory. Would you like to take CS 101 again?

Name: Anonymous 2007-08-21 3:51 ID:Iofj9bBk

>>35
It's not object-oriented either, nor metaprogrammable, nor a grammar parser, nor an array of cellular automata, nor a sequential machine, nor a simple stack machine, nor a DSP, nor anything we use it for dozens of times a day, knowingly or not.

Also, do you think an advanced, flexible, dynamic, functional programming language such as Lisp is hard to do with an average CPU, or even slow? Think again.

Also, any good programmer using a "slow" programming language such as Python or Perl has good chances of outperforming any OMG OPTIMIZED C faggot teenager because he hasn't achieved Satori and his programs will operate very fast, but very stupidly.

Name: Anonymous 2007-08-21 3:53 ID:uAAgSo8P

>>41

I/O is not a fundamental aspect of computation, it is a fundamental aspect of communication and storage, which are usually just artifacts of the computation at hand since CPUs aren't infinitely large and fast.

Name: Anonymous 2007-08-21 10:37 ID:mieLXlJp

>>43
You seem to be confusing hilarious high level abstractions which don't naturally map to the processors you are using with code that performs well.

Some of us have real work todo, some of us have jobs that run for weeks on huge clusters of PCs, we care about performance because if we don't we could easily increase the time our jobs take by 10 to 100 times.

Languages like OCaml understood this, sometimes you needed performance so here do it the imperative way. Even LISP understood this, CL has tonnes of imperative constructs specifically for performance reasons.

>>44

You used satori, you fail.
Lisp fails on Intel CPUs because you have to use your stack properly due to shadowed registers if you ignore the stack and use it just for your GC (like chicken scheme can do with the trampolines) you slow everything down because the processor was not setup to handle everything in the heap.

>>45

Input/Output is pretty fundamental.

Name: Anonymous 2007-08-21 10:54 ID:g5DHMLWF

>>26
some of us have jobs that run for weeks on huge clusters of PCs, we care about performance
What are your USE flags?

Name: Anonymous 2007-08-21 13:02 ID:Heaven

>>47
Good job clicking on the post number, instead of typing it by hand and fucking it up.
Oh wait, never mind.

Name: Anonymous 2007-08-21 13:21 ID:g5DHMLWF

>>48
Lol, come to think of it, where did that 2 come from? I hadn't even clicked on "Read this thread from the beginning" so I had to type it by hand.

Name: Anonymous 2009-03-06 7:03


The recursive failing meme.

Name: Anonymous 2009-09-19 0:48

Lain.

Name: Anonymous 2009-09-19 0:49

Lain.

Name: Anonymous 2009-09-19 0:49

Lain.

Name: Anonymous 2009-09-19 0:49

Lain.

Name: Anonymous 2009-09-19 0:50

Lain.

Name: Anonymous 2009-09-19 0:50

Lain.

Name: Anonymous 2009-09-19 0:50

Lain.

Name: Anonymous 2009-09-19 0:50

Lain.

Name: Anonymous 2009-09-19 0:51

Lain.

Name: Anonymous 2009-09-19 0:51

Lain.

Name: Anonymous 2010-01-30 21:03

test

Name: Anonymous 2010-01-30 21:05

test
test

Name: Anonymous 2010-01-30 21:06

test[aa]
test

Name: Anonymous 2010-01-30 21:07

test
test

Name: Anonymous 2010-01-30 21:07

test
test

Name: Anonymous 2010-01-30 21:07

test
test
test hgggh

Name: Anonymous 2010-01-30 21:11

The current syntax: instead of writing
(register-groups-bind (method url version-major version-minor)
("(\\S+)\\s+(\\S+)\\s+HTTP/(\\d+).(\\d+)$" line)
...)

write
(match-bind (method (+ (space)) url (+ (space)) "HTTP/" (version-major (integer)) "." (version-minor (integer)) (last))
line
...)


What do you think?

Name: ​​​​​​​​​​ 2010-10-26 10:57

Name: Anonymous 2013-08-31 17:40


Apparently I went to Japan to take a class in "gun control." But the first few days of classes is all squirting each other with water pistols and even plastic syringes. During one of the classes I overhear classmates saying they want to go to the club after class. I deduce that the club is actually the arcade at the mall. The group needed one more person for some reason, and I was about to volunteer myself, but I notice one of my classmates on the other side of the room looks like a girl I knew in elementary school.

Name: Anonymous 2013-08-31 19:11


I have a problem with the game. So i DL the game the same time it released on previous Comiket. Patch it to 1.01, play a bit and stop playing it for a long time... Until recently

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List