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

Why are all Scheme implementations slow as balls?

Name: Anonymous 2016-06-26 6:41

Also, which Lisp would you fuck?

Name: Anonymous 2016-06-26 7:01

>>1
Partly because of the scheme continuation mechanism (I believe someone in the scheme community has suggested dropping it), and partly because a lot of the scheme implementations started as personal projects written by people as a hobby, with no particular performance goals in mind.

I think if we were to take scheme, and make call/cc optional, make it something that can be disabled/enabled on a per-module basis, a lot more performance could be had.

Name: Anonymous 2016-06-26 7:02

Name: Anonymous 2016-06-26 8:22

So I was at chipotle getting my burrito. I got my food without incident and was leaving when I went to say excuse me to a man in line so I could get to the door. This is when my brain completely stopped functioning. I instantly went into Panera mode (on my day off) and yelled/screamed at this man "I CAN HELP WHOS NEXT!" What. Why brain? What the fuck?

He looked like a deer in the headlights. I didn't even give him a chance to respond, I don't think he could. He was just as surprised as I was. Then I proceeded to say "Oh god. My brain. I'm so sorry. I'm so tired." My eyes were probably the size of plates. I then spun around and speed-walked out the door.

So. Embarrassing.

Name: Anonymous 2016-06-26 9:31

>>3
The comparison with goto is the most apt. You can create any control structure you want with goto/call/cc but it's low level hacky unstable shit.

Name: Anonymous 2016-06-26 9:59

>>3
Nice article. Author is smart. Still continuations are nice theoretical construct.

Name: Anonymous 2016-06-26 10:49

>>5
In fact, call/cc is just another way of saying goto.

Name: Anonymous 2016-06-26 10:51

Scheme implementations are slow because Scheme is a toy language. No one's bothered working on an optimizing compiler for a fucking toy language.

Name: Anonymous 2016-06-26 11:01

>>7
Goto label has no state. call/cc has associated state. It is close to setjmp, but not the same.

Name: Anonymous 2016-06-26 11:06

Check em

Name: Anonymous 2016-06-26 14:10

s7 has some call/cc features to make it more practical to use:

https://ccrma.stanford.edu/software/snd/snd/s7.html#callwithexit1

Name: Anonymous 2016-06-26 15:35

What programming language is this?

Name: Anonymous 2016-06-26 20:45

>>12
Scheme.

Name: Anonymous 2016-06-26 21:01

Check em

Name: Anonymous 2016-06-27 3:57

>>11
The limitations of that mean it's just basically "break to end of scope". It's not a true first class object.

Surely there can be a better continuation that's delimited, non-reentrant, but also first class and compatible with threading.

Name: Anonymous 2016-06-27 11:17

Surely there can be a better continuation that's delimited, non-reentrant, but also first class and compatible with threading.

Isn't that what with-baffle provides? Genuine question. According to what's written, any call/cc in a with-baffle block is non-reentrant. Continuations are first class in s7.

Name: Anonymous 2016-06-27 12:56

Check em

Name: Anonymous 2016-06-27 12:59

>>16
I honestly have no idea what with-baffle is useful for. The description is only 1 short paragraph, and the example is degenerate. But just looking at it literally, it's the logical NOT of call-with-exit, and I have no idea what its delimiting is. There's also no mention of threading in that section.

Name: Anonymous 2016-06-27 15:49

<- check me dubs

Name: Anonymous 2016-06-27 15:52

>giving a shit about a meme language

Name: Anonymous 2016-06-27 17:40

dubs incoming

Name: Anonymous 2016-06-27 17:41

██████████ ████ ████ ███████████ ██████████ ████ ████ ███████████ ███████████
██████████ ████ ████ ███████████ ██████████ ████ █████ ███████████ ███████████
████ ████ ████ ████ ████ ████ ████ ████ ███████████
████ ████ ████ ████ ████ ████ ████ ████ ██ ███ ██
████ ██████████████ ███████████ ████ █████████ ███████████ ██ ███ ██
████ ██████████████ ███████████ ████ █████████ ███████████ ██ ███ ██
████ ██████████████ ████ ████ ████ ████ ████ ██ ███ ██
████ ████ ████ ████ ████ ████ ████ ████ ██ ███ ██
██████████ ████ ████ ███████████ ██████████ ████ █████ ███████████ ██ ███ ██
██████████ ████ ████ ███████████ ██████████ ████ ███ ███████████ ██ ███ ██

Name: Anonymous 2016-06-27 18:00

>>22
sick dubs, bro ^^

Name: Anonymous 2016-06-28 4:39

>>21-23
samefag

Name: Anonymous 2016-06-28 10:26

>>22
_________
< checked >
---------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||

Name: Anonymous 2016-06-28 10:31

>>25
this was enterprise quality

Name: Anonymous 2016-06-28 10:51

>>25 Thanks for checking!
_,-""""-..__
|`,-'_. ` ` `` `--'""".
; ,' | `` ` ` ` ``` `.
,-' ..-' ` ` `` ` `` ` ` |==.
,' ^ ` ` `` ` ` `. ; \
`}_,-^- _ . ` \ ` ` __ ` ; #
`"---"' `-`. ` \---""`.`. `;
\\` ; ; `. `,
||`; / / | |
//_;` ,_;' ,_;"

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