James Clark

Results 508 comments of James Clark

They're both not valid, because they both have a local shadowing a local. I don't see any difference. (In the program 1, the `k` in the default for `l` refers...

I would suggest that in the function's closure, w2 is treated as a final variable of type `future`. Evaluating the function to create the closure would count as referencing the...

@HindujaB What's in lang.runtime is determined by the spec. Please don't unilaterally add things. In my view, implementation-dependent things like do not belong in langlib.

The language does not have a concept of thread pools.

The language spec tries to avoid unnecessarily constraining implementation choices. It's a perfectly valid implementation choice not to allow the user to explicitly constrain the maximum number of threads or...

I think by default you want the runtime not to have more OS threads running than there are hardware threads, so as to avoid unnecessary context switching, which is roughly...

We discussed this today, and one thing that emerged is that we should distinguish between: 1. the number of threads running, and 2. the number of threads blocked in system...

We need to split this problem up. The most important split is between errors and panics. There is a fundamental distinction in Ballerina between abnormal errors (which show up as...

We should review your catalog of runtime errors, because there are a lot of things that seem not quite right to me. We should also crosscheck it against #134, #807,...