Martin Kustermann

Results 193 comments of Martin Kustermann

As @lrhn says it is a very hard problem to maintain the `there is only one reference` guarantee. Rephrasing the requirement of `there is only one reference to an object`...

The reasoning above seems to capture it well. Being more restrictive will give us more opportunity to optimize. One may add that: * **Shifts boxing/unboxing to different place**: If we...

(Not sure if this is the right issue for this, but ...) > I can easily imagine it's very common to construct arrays of value types In fact, one may...

Two more advantages of immutability: * Makes it compile nicely to [JavaScript Record & Tuple proposal](https://github.com/tc39/proposal-record-tuple). * Allows safe sharing across isolates. (By statically seeing that a struct's members are...

We will use 3c777c40608a2a9f1427bfe0028ab48e7116b4c1 for pulling in to dart-lang/sdk and g3.

@lambdabaa We don't know how the dll was built. Could you take a look at this?

Yes, we'll just use an older version of the package, plus our ffi fixes for now. There's no reason to hurry with fixing the `dll` file.

> I remember you have been arguing that cancelling the subscription should not cancel the request. I think this was in the context of bi-directional streams: If you cancel the...

I've made a proof of concept of a shelf adaptor which is available here: https://github.com/mkustermann/shelf/commit/80329c2ddbed1dfe0e7d8a2097c4fe9b241f5f48 This just exposes a new `serveSecure` method. An example can be found [example/multiprotocol_server.dart](https://github.com/mkustermann/shelf/blob/80329c2ddbed1dfe0e7d8a2097c4fe9b241f5f48/example/multiprotocol_server.dart). Feel free...

> If we are going to massage the given hashCode, we should also protect against hash table denial of service attacks by adding in a value that is initialized to...