I've spoken at length with Mark about this. Dynamic Lang must have special form, or any function call might block until promise fulfilled.
-
-
Yes, we've both probably spent more time talking with Mark about the semantics of eventual sends than is ideal for one's productivity. :)
2 replies 0 retweets 3 likes -
Replying to @bahstgwamt @kragen and
Yeah. Anyway, without a special form or type system, just a then or when function, stark choices: preempt anywhere; throw on indirect calls.
1 reply 0 retweets 2 likes -
Right, and "preempt anywhere" is not only inefficient but leads directly to the bug-prone threads-and-locks model
1 reply 0 retweets 0 likes -
Replying to @bahstgwamt @kragen and
I chose in JS to follow Nescape 2's single-threaded callback model. Shared memory concurrency w/o preemption. Like old Unix kernel at splhi.
3 replies 1 retweet 9 likes -
Replying to @BrendanEich @kragen and
No-special-form downside real: a sleep (kernel function) call buried in evolved callgraph => friend&I went to NZ/Oz in '90 to fix in field.
1 reply 1 retweet 6 likes -
Right! Did it reboot or just hang forever?
1 reply 0 retweets 0 likes -
Replying to @bahstgwamt @kragen and
SMP Unix (Irix) kernel crash - non-deterministic (race condition). PTY load factor correlated, so friend wrote test that helped. Ultimately+
1 reply 0 retweets 3 likes -
Replying to @BrendanEich @kragen and
I found the rogue sleep call by code reading, thinking, sleeping+dreaming about it, having fenced in grep-results to likely callsite subset.
2 replies 0 retweets 2 likes -
So, I've heard people say that code is easy, compared to management. Stories like this make me doubt that assertion. What do you think?
3 replies 0 retweets 0 likes
I can program for 16 hours straight and not be tired, but am exhausted after 8 hours of meetings.
-
-
Same.
0 replies 0 retweets 2 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Replying to @TimSweeneyEpic @kragen and
2 hrs? 20 minutes? Just tell us the future your inventing. Oh, Alan did. https://vimeo.com/82301919s & he is buying 1 billion incentive tablets.
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.