Twitter | Search | |
Maya Lekova
Engineer . Passionate about simplifying concepts, readable code and music-making machines. Superpower: naivety 🦓
66
Tweets
219
Following
1,456
Followers
Tweets
Maya Lekova retweeted
Standards In 2 Minutes Nov 21
One of the newest ECMAScript features is globalThis! See the write up by .
Reply Retweet Like
Maya Lekova retweeted
Michael Stanton Nov 14
A fun code walkthrough with the team today: the dark magic of exceptions 😙
Reply Retweet Like
Maya Lekova retweeted
Standards In 2 Minutes Oct 25
Private class fields in JavaScript in 2 minutes... -
Reply Retweet Like
Maya Lekova Oct 24
Replying to @chordbug
When I notice myself making a consistent mistake with those, I sometimes write (with a pencil, of course) on top of the measure e.g. "g sharp!" :) Then I eventually erase that.
Reply Retweet Like
Maya Lekova Sep 4
For truthy and `undefined` specifically yes, but there might be surprises with falsy values, see here:
Reply Retweet Like
Maya Lekova Sep 4
Replying to @ntgard @v8js
I could imagine if you want to do more in the "undefined" case, e.g. log an error. If you simply need to short-circuit evaluation, I'd prefer using the new operator.
Reply Retweet Like
Maya Lekova retweeted
V8 Aug 27
🔥 Optional chaining syntax is coming to JavaScript! This feature enables readable and concise expression of property accesses with built-in nullish checking. explains:
Reply Retweet Like
Maya Lekova Jul 13
Replying to @Jialipassion
As far as I'm aware, the async hooks will stay as part of Node.js only.
Reply Retweet Like
Maya Lekova Jul 9
Replying to @Jialipassion
Hi, sorry for the late reply. You're correct, it's a call in native code.
Reply Retweet Like
Maya Lekova Mar 13
Replying to @asyncLoop
Let's continue the discussion on GitHub please!
Reply Retweet Like
Maya Lekova Mar 8
Replying to @MayaLekova
Supposedly that was the original source:
Reply Retweet Like
Maya Lekova Mar 8
Replying to @dokMixer
Not 100% sure, as a friend sent me just the picture. But it looks like it's this one:
Reply Retweet Like
Maya Lekova retweeted
V8 Jan 3
Orinoco (V8’s garbage collector) evolved from a sequential stop-the-world implementation into a mostly parallel and concurrent collector with incremental fallback. talks trash:
Reply Retweet Like
Maya Lekova retweeted
Maya Posch Dec 30
For 2019 I would like to have a job again. My qualifications: C, C++, embedded, currently writing my third book (on embedded C++ dev). I love challenges and responsibility. Relocating is no problem.
Reply Retweet Like
Maya Lekova Dec 27
Futuristic news from the present:
Reply Retweet Like
Maya Lekova Dec 26
- known as fundamental and practical at the same time.
Reply Retweet Like
Maya Lekova Dec 25
It's still there only when async hooks are enabled (in Node.js) - they attach some internal data on it.
Reply Retweet Like
Maya Lekova 12 Nov 18
Replying to @kcjpop @mathias
In Node 10 the promises are faster than async/await indeed (at least on the doxbee benchmark). With the --harmony-await-optimization flag though, which is supposed to be the default behaviour in Node 12, async/await is faster (see the last chart).
Reply Retweet Like
Maya Lekova 12 Nov 18
Replying to @ZetianWen @bmeurer
In the blog post we've used "createPromise" as a shorthand for "NewPromiseCapability(built-in Promise constructor)", that's the relevant spec link for it - step 7 constructs the actual promise object:
Reply Retweet Like
Maya Lekova 12 Nov 18
Replying to @ZetianWen @bmeurer
The PromiseReactionJob actually comes from the performPromiseThen operation, in the case "promise" is already fulfilled (as in the post) - that's step 9.b from the spec:
Reply Retweet Like