Twitter | Pretraživanje | |
Maya Lekova
Engineer . Passionate about simplifying concepts, readable code and music-making machines. Superpower: naivety 🦓
69
Tweetovi
226
Pratim
1.505
Osobe koje vas prate
Tweetovi
Maya Lekova proslijedio/la je tweet
V8 17. pro
JavaScript is now equipped with a new regular expression enhancement! shows how it can be used for finding positions of matched groups. (This feature is available starting from V8 v7.9 behind a --harmony-regexp-match-indices flag.)
Reply Retweet Označi sa "sviđa mi se"
Maya Lekova 10. pro
Odgovor korisniku/ci @glenmaddern @mathias
Just measured locally and for me the non-memoized proxy is still slow. Btw, a long shot, but Object.defineProperty has its own overhead, at least in Chrome:
Reply Retweet Označi sa "sviđa mi se"
Maya Lekova 10. pro
Odgovor korisniku/ci @glenmaddern @mathias
Good results indeed. Still, as far as I see this is only limited to handlers which don't have observable side effects. Because if they do, then executing them only once would yield different results than the usual execute-on-every-get behaviour.
Reply Retweet Označi sa "sviđa mi se"
Maya Lekova proslijedio/la je tweet
Standards In 2 Minutes 21. stu
One of the newest ECMAScript features is globalThis! See the write up by .
Reply Retweet Označi sa "sviđa mi se"
Maya Lekova proslijedio/la je tweet
Michael Stanton 14. stu
A fun code walkthrough with the team today: the dark magic of exceptions 😙
Reply Retweet Označi sa "sviđa mi se"
Maya Lekova proslijedio/la je tweet
Standards In 2 Minutes 25. lis
Private class fields in JavaScript in 2 minutes... -
Reply Retweet Označi sa "sviđa mi se"
Maya Lekova 24. lis
Odgovor korisniku/ci @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 Označi sa "sviđa mi se"
Maya Lekova 4. ruj
Odgovor korisniku/ci @zeyadetman @v8js @mathias
For truthy and `undefined` specifically yes, but there might be surprises with falsy values, see here:
Reply Retweet Označi sa "sviđa mi se"
Maya Lekova 4. ruj
Odgovor korisniku/ci @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 Označi sa "sviđa mi se"
Maya Lekova proslijedio/la je tweet
V8 27. kol
🔥 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 Označi sa "sviđa mi se"
Maya Lekova 13. srp
Odgovor korisniku/ci @Jialipassion
As far as I'm aware, the async hooks will stay as part of Node.js only.
Reply Retweet Označi sa "sviđa mi se"
Maya Lekova 9. srp
Odgovor korisniku/ci @Jialipassion
Hi, sorry for the late reply. You're correct, it's a call in native code.
Reply Retweet Označi sa "sviđa mi se"
Maya Lekova 13. ožu
Odgovor korisniku/ci @asyncLoop
Let's continue the discussion on GitHub please!
Reply Retweet Označi sa "sviđa mi se"
Maya Lekova 8. ožu
Odgovor korisniku/ci @MayaLekova
Supposedly that was the original source:
Reply Retweet Označi sa "sviđa mi se"
Maya Lekova 8. ožu
Odgovor korisniku/ci @dokMixer
Not 100% sure, as a friend sent me just the picture. But it looks like it's this one:
Reply Retweet Označi sa "sviđa mi se"
Maya Lekova proslijedio/la je tweet
V8 3. sij 2019.
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 Označi sa "sviđa mi se"
Maya Lekova proslijedio/la je tweet
Maya Posch 30. pro 2018.
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 Označi sa "sviđa mi se"
Maya Lekova 27. pro 2018.
Futuristic news from the present:
Reply Retweet Označi sa "sviđa mi se"
Maya Lekova 26. pro 2018.
Odgovor korisniku/ci @gorhgorh @matteocollina @mrdoob
- known as fundamental and practical at the same time.
Reply Retweet Označi sa "sviđa mi se"
Maya Lekova 25. pro 2018.
Odgovor korisniku/ci @YuanChiehCheng @v8js @bmeurer
It's still there only when async hooks are enabled (in Node.js) - they attach some internal data on it.
Reply Retweet Označi sa "sviđa mi se"