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

node webkit

Name: Anonymous 2014-02-12 2:24

Name: Anonymous 2014-02-13 10:12

single best way known*

Name: Anonymous 2014-02-13 10:14

>>38-41
Could you please quote properly and stop making quadro posts in two minute intervals?

Name: Anonymous 2014-02-13 10:23

>>38
Yes, continuations are very different from callbacks. For example when I call a callback, a new frame is pushed onto the current execution stack. By contrast, when I call a continuation, the execution stack is swapped out for a different one.

You're using callback very generally, i.e. to mean calling procedures and passing procedures as arguments. Do you understand what this definition of callback entails? Do you understand why such a definition might be redunant and thus useless?

Name: Anonymous 2014-02-13 10:36

 .__ I LOVE
ヽ|・∀・|ノ NOODLES
 |__| DOT
  | | JIZZ

Name: Anonymous 2014-02-13 11:03

This thread looked like it may have had interesting content in it, but I have discovered it's just a train wreck of someone forcing node.jizz into a practical situation like one delivering a pet duck by savagely shoving it though some nasty pipes that it don't quite fit together and it comes out on the other side in many pieces and there's blood everywhere and the duck handler is panting furiously and reflecting upon the struggle and pondering if there is or is not a better way to accomplish the task of duck transportation and coming to the conclusion that further research into shoving ducks through jagged pipes is required and is the only way in which duck transportation will progress.

Name: Anonymous 2014-02-13 11:55

I LOVE JIZZ

Name: Anonymous 2014-02-13 15:19

http://taskjs.org/
Tasks are interleaved like threads, but they are cooperative rather than pre-emptive: they block on promises with yield.

Name: Anonymous 2014-02-13 16:27

node.JEWS

Name: Anonymous 2014-02-13 20:43

Is https://github.com/affiszervmention the node.jizz lover posting on this thread?

Name: Anonymous 2014-02-13 20:45

>>49
All signs point to yes.

Name: Anonymous 2014-02-14 1:38

Name: Anonymous 2014-02-14 1:55

>>43
I know the common definition, I was just pointing out that the basic principle is the same and there's no reason to prefer one over the other.
So continuations are more memory-efficient? Still that's no reason to completely disregard callbacks.

Name: Anonymous 2014-02-14 5:26

>>52
Continuations are different from callbacks, and rarely supported by languages due to the overhead they incur. Imagine you can you save a point of execution in your program, and then return to this point later. You may reinvoke the execution point many times. Each time you reinvoke it, you may pass back a different value each time.

It's like you are making a sandwich. You put the ingredients on. You put it together. You take it back to the couch and watch TV. Then you see a television commercial that shows a certain topping that you missed. But you've already started eating the sandwich. So you go back in time to when you were putting the sandwich together but this time you have that topping in mind. You continue making the sandwich again and sit and watch TV. But then another commercial has reminded you of a different topping that you forgot. So you return again to the prior point of execution with a new topping to make.

You can support execution that behaves like continuations, but it's cumbersome and uses tail calls and an emulated function call stack with a stack of linked functions. Oh and the post you are replying to, you can still have that effect if you do a tail call on the callback.

I don't like how these functions are being called 'callbacks', and also that something as fundamental as a 'callback' is being associated exclusively with something as retarded as node.jiss. This pattern is used all the time in almost all languages.

Name: Anonymous 2014-02-14 8:46

>>53
Is node.js retarded because of callbacks or are callbacks looking bad because of node.js? Please decide yourselves.
But I agree that callbacks are a pretty basic concept and not an exclusivity of node.
And I didn't know much about continuations, thanks for explaining it.

Name: Anonymous 2014-02-14 12:24

So, I think we all agree that Node.js is a good PLATFORM but yet using ECMAScript makes it useless?
What about those languages that compiles to javashit? like coffeescript, livescript, or lispyscript..

Name: Anonymous 2014-02-14 12:42

>>51
Javascript programmer (mainly, both browser and node) and crazy-about-it gamedev. (I'm the main guy defending javascript on /prog/)
OH SHIT IT'S THE ACTUAL JAVASHIT KIKE

Name: Anonymous 2014-02-14 14:45

>>55
So, I think we all agree
No, fuck off.

Name: Anonymous 2014-02-14 15:08

>>56
Yeah, it's me. Ask me anything.

Name: Anonymous 2014-02-14 15:16

>>58
Will you kindly leave and never come back?

Name: Anonymous 2014-02-14 15:24

>>58
How often do you go to the synagogue?

Name: Anonymous 2014-02-15 0:18

>>59
No, I need you guys' level of expertise for feedback on my ideas and projects. And I also find some of you guys' projects interesting (like DistBB for instance).

>>60
I'm an agnostic atheist. (And a libertarian bleeding heart.)

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