Re: Discussion: Module Reflection - import.reflect

2019-04-25 Thread Randy Buchholz
It seems the recursion has problems with `Symbol`, at least in Chrome. ``` import * as module from "/foo.mjs"; export default class Foo{ } const bar = Symbol("Bar"); ``` Load page, enter debug mode, and reload. The debugger disconnects. ___ e

First-class Multi-threading support

2019-04-25 Thread Chinenye Onuegbu
I am not exactly sure why multi-threading support in JavaScript has been avoided, even though there is a strong case for real multi-threading support in JavaScript. This is usually reflected in the race to fit every event callback within 16ms to avoid dropping frames. To cover for some of these de

Re: First-class Multi-threading support

2019-04-25 Thread Ranando King
Devil's Advocate time What can you get from threading that you can't already get on a single thread? If I subclass Promise, make all of the relevant functions return this customized promise, I can create fairly easy to debug code that behaves as though it is multithreaded. I can even go 1 step