Viewing profile — flagxor
flagxor
HN member- Joined
- Wed, Aug 30, 2017, 8:14 PM UTC
- HN karma
- 5
- Public activity
- 7 items
- HN profile
- View on Hacker News ↗
About flagxor
No profile information was provided.
Recent public activity
-
comment
Comment #15144465
setTimeout is obviously a simpler primitive to understand in isolation than monitors/conditionvars, but I would argue that when used in equally complex scenarios, similar challenge…
-
comment
Comment #15142852
Many factors and capabilities went into Firefox's success. While it's easy to enumerate the primitives required in hindsight, I'm doubtful that if OSes of the period had taken a re…
-
comment
Comment #15137943
This seems rather racy in Chrome, despite the I/O being deferred to the end :-) (function() { var x = ''; setTimeout(function() { setTimeout(function() { x += 'a'; }, 6); }, 4); se…
-
comment
Comment #15137635
> Are you sure that setTimeouts are run in a non-deterministic order? Certainly, if they are issued from different callbacks. :-) And in relation to how they may happen to be inter…
-
comment
Comment #15137103
Event loops have these too, they just go by different names: * non-determinism -> order in which setTimeouts run * race conditions -> callbacks happen in an unexpected order * dead…
-
comment
Comment #15137045
As long as we offer a similar `unsafe` option, a stronger type system around mutability+concurrency might have a range of benefits for JS. Rust's definitely has a number of virtues…
-
comment
Comment #15136639
It would have been a shame if the OSes on which Firefox runs had similarly limited access to shared memory to one particular "safe" style in the spirit of paternalistic caution. Wo…