Shu-yu Guo (郭纾宇) Profile Banner
Shu-yu Guo (郭纾宇) Profile
Shu-yu Guo (郭纾宇)

@_shu

2,767
Followers
462
Following
137
Media
3,649
Statuses

Works on @v8js at @google . TC39 editor. Opinions are my own. he/him

San Francisco, CA
Joined October 2008
Don't wanna be here? Send us removal request.
@_shu
Shu-yu Guo (郭纾宇)
4 years
as it becomes clearer who has been laid off from Mozilla, i am legitimately shocked at the caliber of technical excellence that has been let go
3
47
413
@_shu
Shu-yu Guo (郭纾宇)
2 years
javascript, in MY tv??
Tweet media one
18
23
237
@_shu
Shu-yu Guo (郭纾宇)
8 months
similarly i once was at some party in a cramped paris apartment and the most twee french guy pulled me aside to excitedly show me his copy of mao’s red book and tell me his appreciation of mao thought. just amazing stuff
@TheAnnaGat
Anna Gát 🧭
8 months
For Eastern Europeans to arrive at Western universities is a shocker. You escape the horrible degeneration of democracy & run into these under-informed people who willingly celebrate it. On my day 1 in the UK, I got invited to join their Marxist Society. I was flabbergasted.
200
1K
9K
3
7
140
@_shu
Shu-yu Guo (郭纾宇)
1 year
today in work email replies: "Unfortunately, since I am retiring in a week, I do not have any time to spend on this in the near future." absolute banger. what a legend.
2
5
132
@_shu
Shu-yu Guo (郭纾宇)
3 years
Tweet media one
2
9
110
@_shu
Shu-yu Guo (郭纾宇)
8 months
"paste with formatting" as a default costs hundreds of millions in lost productivity every day
5
12
103
@_shu
Shu-yu Guo (郭纾宇)
3 years
at() is now stage 4 in JS: get elements from the end with negative indices like so: `[1,2,3].at(-1) === 3` co-championed w/ @tabatkins
4
32
104
@_shu
Shu-yu Guo (郭纾宇)
3 years
my team (V8 standards) is hiring: come for the work on JS and wasm standards (and their intersection) and to help build industry-wide consensus to hard technical problems, stay for memegen
0
25
72
@_shu
Shu-yu Guo (郭纾宇)
4 years
@jckarter little known fact: it takes its name from the location of the lab in Nantes, France
2
2
67
@_shu
Shu-yu Guo (郭纾宇)
2 years
the JS VM is too passive, and users no longer feel involved. i propose instead of tiering up automatically, the browser user (not developer!) must press a series of key chords to engage the clutch and change to a higher tier. doing this wrong stalls the page, and requires reload
7
7
64
@_shu
Shu-yu Guo (郭纾宇)
4 years
i am saddened for the web platform given Mozilla’s layoffs
0
6
59
@_shu
Shu-yu Guo (郭纾宇)
7 years
Wow, this TC39 agenda () is the fullest we've had in a while. All fingers crossed for our being productive this week.
2
19
58
@_shu
Shu-yu Guo (郭纾宇)
4 years
you might think types are good but you gotta concede “void star” is a badass name
4
7
56
@_shu
Shu-yu Guo (郭纾宇)
5 years
what if programming articles were laid out like recipe websites with 7 paragraphs of copy about how this API was noona’s favorite on a lazy sunday afternoon before the sun hit the western porch
4
11
55
@_shu
Shu-yu Guo (郭纾宇)
4 years
@hmemcpy the fact that Excel is the most popular FP language just shows FP is inadequate for real programmers
3
3
52
@_shu
Shu-yu Guo (郭纾宇)
5 years
today was my last day at Bloomberg, and i am truly grateful for my time there. followers in web tech: @TechAtBloomberg doesn’t get much exposure in our world, but they are very much committed to web platform technologies. next time you’re on the job market, give them a look. 1/2
4
0
55
@_shu
Shu-yu Guo (郭纾宇)
3 years
reached stage 1 JS has to reckon with concurrency and parallelism, and this is a powerful escape hatch for shared memory concurrency definitely a "with great power comes great responsibility" feature, but a power i contend we need for the future
4
14
52
@_shu
Shu-yu Guo (郭纾宇)
5 years
i will be moving back to the west coast and continuing my JS language and standards work on the @v8js team in August. 2/2
12
0
53
@_shu
Shu-yu Guo (郭纾宇)
26 days
@antfu7 @googlechrome should be already fixed (for a few weeks now) but the fix wasn’t merged to 129, sorry about that
2
0
51
@_shu
Shu-yu Guo (郭纾宇)
3 years
big deal i’m like 30 something
@colinarms
Colin Armstrong
3 years
HTML is 28 years old. CSS is 24 years old. JavaScript is 25 years old.🤯
104
400
3K
0
2
51
@_shu
Shu-yu Guo (郭纾宇)
5 years
an easy wedding anniversary to remember. happy new year
Tweet media one
5
0
47
@_shu
Shu-yu Guo (郭纾宇)
6 years
Now that private fields has landed in V8, I’d like to thank not only its champions ( @littledan in particular) but also its dissenters ( @zenparsing and Justin Ridgewell), who encouraged us to re-evaluate the tradeoffs we were making. They put in a lot of hard work and thought.
2
7
45
@_shu
Shu-yu Guo (郭纾宇)
4 years
in programming languages, “let” is so named because the computer as the lessor lets you some memory for the duration of the scope
5
7
44
@_shu
Shu-yu Guo (郭纾宇)
7 years
Today is my last day at Mozilla; excited to join Bloomberg next month. I will continue to champion same proposals in TC39.
5
1
44
@_shu
Shu-yu Guo (郭纾宇)
3 years
everyday on this project i am reminded
Tweet media one
2
1
40
@_shu
Shu-yu Guo (郭纾宇)
2 years
i'm starting to have my suspicions that multithreaded programming is hard
9
0
38
@_shu
Shu-yu Guo (郭纾宇)
3 years
it’s nice being back in the office after 2 years of working on a macbook air
Tweet media one
6
2
36
@_shu
Shu-yu Guo (郭纾宇)
3 years
@jckarter @stylewarning “my stdlib code looks like this so your code can look like that”.jpeg
1
4
36
@_shu
Shu-yu Guo (郭纾宇)
4 years
php -> scheme -> c++ -> google docs
@davidfowl
David Fowler
4 years
QBasic -> Turbo Pascal -> PHP -> JavaScript -> C++ -> VB -> C# Played with: Haskell, Ada, F#, go, python What was your journey?
711
52
789
5
0
33
@_shu
Shu-yu Guo (郭纾宇)
4 years
I've asked this in interviews at investment banks for 30 years: What M&A deals are you doing at home? Many answer they don't have time. Wrong. Wheel and deal at home. Every day. If you don't have that passion to skirt ethics for fees, high finance is not really for you. Roadshows
@blelbach
Bryce Adelstein Lelbach
4 years
I’ve asked this in interviews at my aerospace engineering firm for 30 years: What planes do you build at home? Many answer they dont have time. Wrong. Build missiles at home. Every day. If you dont have that passion aerospace engineering isn't really for you. Launch small rockets
Tweet media one
129
3K
12K
2
4
31
@_shu
Shu-yu Guo (郭纾宇)
6 years
Good job on beating the timebox today.
Tweet media one
2
1
30
@_shu
Shu-yu Guo (郭纾宇)
2 years
@WarrenJWells that center lane is so funny to me because it's not like there're many streets to turn into. what's the history behind it?
2
0
30
@_shu
Shu-yu Guo (郭纾宇)
4 years
as a VM developer i definitely just move boxes around
@sarocodes
sarahcodes
4 years
Yesterday I had a 23 yr old python developer make fun of me for being a UI developer. "What do you do move boxes around." 😤 I have architected enterprise level systems kid, sit the f*ck down. If you think frontend is easy, you're doing it wrong. Also you're probably a dick 🤷‍♀️
803
1K
17K
2
1
31
@_shu
Shu-yu Guo (郭纾宇)
4 years
i repent for my grad school haskell days
Tweet media one
1
0
28
@_shu
Shu-yu Guo (郭纾宇)
1 year
the bun discourse mainly has taught me that people are in general, deeply confused
2
4
29
@_shu
Shu-yu Guo (郭纾宇)
6 years
I wrote a blog post about the semantics of all JS class elements, current and proposed:
1
18
27
@_shu
Shu-yu Guo (郭纾宇)
4 years
someone made those computer icons in real life and i think that’s so cool
Tweet media one
4
1
28
@_shu
Shu-yu Guo (郭纾宇)
4 years
now that i know what stories are why did we not call WeakRefs Stories?
5
0
26
@_shu
Shu-yu Guo (郭纾宇)
4 years
if i were an implementation, i would simply conform
2
1
25
@_shu
Shu-yu Guo (郭纾宇)
2 years
nvm i figured out the bug. this stuff is ez
2
0
25
@_shu
Shu-yu Guo (郭纾宇)
2 years
startup founders who say stuff like “ex-Google engineer” and then you find out all they had was an internship, that’s… dishonest, right? or is it just part of the game?
12
0
23
@_shu
Shu-yu Guo (郭纾宇)
4 years
@NetflixEng google docs no question
3
0
24
@_shu
Shu-yu Guo (郭纾宇)
4 years
@wilcoxjay any Cousot&Cousot paper strikes fear into my heart, here's a paragraph from some random paper i picked:
Tweet media one
3
0
23
@_shu
Shu-yu Guo (郭纾宇)
1 year
I was holding my eight month old son on a walk moments ago and for the first time out of nowhere he said, “Daddy, you are the sufficiently smart compiler." I started to quietly tear up. He couldn’t see my face and I didn’t make a sound, but he said, “Don’t cry. It’s okay.”
2
1
23
@_shu
Shu-yu Guo (郭纾宇)
3 years
once in a while i remember the time i was at some fancy italian restaurant and ordered Raviolo, thinking it was a fancier ravioli, but turned out it was just a single ravioli
2
0
23
@_shu
Shu-yu Guo (郭纾宇)
4 years
i have reached the age where i have increased the text size on my phone
1
0
23
@_shu
Shu-yu Guo (郭纾宇)
3 years
some say the future of JS was foreseen
@GonzoHacker
GonzoHacker
10 years
You got your DOM, your shadow DOM, your imaginary DOM and your astral/transcendental DOM and each of these interact in mysterious ways
3
52
74
0
7
22
@_shu
Shu-yu Guo (郭纾宇)
6 months
i’m having a hard time with the “look between these keys” memes😢
Tweet media one
4
0
22
@_shu
Shu-yu Guo (郭纾宇)
10 days
@mattpocockuk as the primary author, happy to answer questions. it’s easy to read subtext into a slide deck—it’s a deck meant to be presented and provoke discussion, not a document that captures all nuance and details
2
0
22
@_shu
Shu-yu Guo (郭纾宇)
5 months
biking mainly
@github
GitHub
5 months
As an open source maintainer, what brings you joy?
83
19
218
1
1
22
@_shu
Shu-yu Guo (郭纾宇)
10 years
Very first steps on the road to JIT transparency. http://t.co/eJDDMoC8Sk
Tweet media one
5
18
22
@_shu
Shu-yu Guo (郭纾宇)
9 years
I had a dream where --disable-debug was --disable-bugs
2
18
20
@_shu
Shu-yu Guo (郭纾宇)
4 years
my wife found out i didn’t like raisins and took out all the raisins from the cereal
Tweet media one
2
0
20
@_shu
Shu-yu Guo (郭纾宇)
3 years
@lindsey shouldn't the researcher be interested there's stuff to do research on? 😈
2
0
21
@_shu
Shu-yu Guo (郭纾宇)
1 year
writing a generational GC: “I'm in the arena trying stuff. Some will work, some won't. But always learning.”
0
0
21
@_shu
Shu-yu Guo (郭纾宇)
5 years
@drosenwasser log obviously does IO, perhaps you’ve heard of the “iNput and output moNad”, or NaN
1
1
21
@_shu
Shu-yu Guo (郭纾宇)
3 years
yeah, i do probabilistic programming: if (V8_UNLIKELY(
2
0
21
@_shu
Shu-yu Guo (郭纾宇)
3 years
@rocallahan i’ve worked on 2 of those, but @igalia folks have worked on all 3 and might be best positioned to write such an article cc @andywingo @caitp69 @JoyeeCheung
2
0
20
@_shu
Shu-yu Guo (郭纾宇)
3 years
my dream is to replace C++ template metaprogramming with PHP
3
1
20
@_shu
Shu-yu Guo (郭纾宇)
3 years
i’d like to balance out others’ beautiful WFH setups on your timeline with mine is that mic plugged in? no is that a valve core and random command hooks? yes
Tweet media one
6
0
20
@_shu
Shu-yu Guo (郭纾宇)
2 years
@drosenwasser i’m working on it bro
2
0
20
@_shu
Shu-yu Guo (郭纾宇)
10 months
@rauchg @_asadmemon @cramforce i am! would love to get real-world requests from Vercel accounted into the motivations here internally. can someone DM me emails to get a thread started, forgotten about, then restarted after the holidays?
1
0
19
@_shu
Shu-yu Guo (郭纾宇)
4 years
GC algorithms for everyday people
@15chivalry
Gordon Wilson
4 years
@CravenPartners @rorysutherland I seem to recall this was covered a few years ago in the @spectator letters page...
Tweet media one
4
7
38
1
1
19
@_shu
Shu-yu Guo (郭纾宇)
5 years
in these times of uncertainty let me offer some facts of certainty: i’ve been trying to grow a quarantine beard for 10 days and i remain incapable of growing facial hair
3
0
19
@_shu
Shu-yu Guo (郭纾宇)
3 years
when i make a programming language, there will both be automatic semicolon insertion, and all lines must be explicitly terminated by \
4
0
20
@_shu
Shu-yu Guo (郭纾宇)
2 years
@pcwalton true connoisseurs only care about the software used to prepare that document. as for me, that software must be MS Word
0
0
20
@_shu
Shu-yu Guo (郭纾宇)
4 years
as i reflect on my performance review, it becomes clearer my career goal is really just to be the matt levine of the JS standards cottage industry
2
0
19
@_shu
Shu-yu Guo (郭纾宇)
4 years
Tweet media one
3
3
19
@_shu
Shu-yu Guo (郭纾宇)
3 years
a pandemic style journey march 2020, july 2021
Tweet media one
Tweet media two
0
0
19
@_shu
Shu-yu Guo (郭纾宇)
2 years
@jfbastien @johnregehr @moyix i know you moved to japan and all but what is “ubsan” in english?
1
2
19
@_shu
Shu-yu Guo (郭纾宇)
1 year
for SWEs 3 is L3, 5 is L4, maybe 2 is L5? 1 is L6, 9 is L7. pretty sure 6 is for junior quants
@daboigbae
gbae the app developer
1 year
As a programmer - how many monitors do you need?
Tweet media one
1K
200
2K
5
2
19
@_shu
Shu-yu Guo (郭纾宇)
6 years
so proud of ⁦ @domenic ⁩’s use of comic sans ⁦
Tweet media one
1
0
18
@_shu
Shu-yu Guo (郭纾宇)
3 years
if git gud were a real command, what would it do?
9
3
18
@_shu
Shu-yu Guo (郭纾宇)
4 years
big up to @devsnek for contributing the patch to implement the feature
@v8js
V8
4 years
Logical &&= assignment ||= feature ??= explainer 🔥 In which @_shu shows how to use a new ECMAScript syntax for conditional assignments. (Experimental implementation is available in V8 v8.4 behind the --harmony-logical-assignment flag.)
Tweet media one
7
122
357
1
4
19
@_shu
Shu-yu Guo (郭纾宇)
1 year
control flow was a bad idea, makes static analysis hard
1
1
19
@_shu
Shu-yu Guo (郭纾宇)
1 year
i'm never leaving the orange hellsite
Tweet media one
0
0
17
@_shu
Shu-yu Guo (郭纾宇)
3 years
@jfbastien i have a degree in linguistics and i attest to the truth of this etymology
1
0
18
@_shu
Shu-yu Guo (郭纾宇)
4 years
Most 23 year olds: - partying every weekend - eating fast food - binge watching Netflix - living day by day Me: - am 35 We are not the same.
@smithhmackenzie
Mackenzie Smith
4 years
Most 23 year olds: - partying every weekend - eating fast food - binge watching Netflix - living day by day Me: - starting my own business - optimizing my health - learning new skills - developing a growth mindset - at the gym everyday We are not the same.
2K
532
4K
0
0
17
@_shu
Shu-yu Guo (郭纾宇)
4 years
the longer i am in tech the more all HN discussions read like the bodybuilding forum how-many-days-in-a-week argument
1
0
18
@_shu
Shu-yu Guo (郭纾宇)
4 years
i work on javascript
@jfbastien
JF Bastien 🔗 @[email protected]
4 years
Tell me you're a C++ programmer without telling me you're a C++ programmer.
366
25
360
1
1
17
@_shu
Shu-yu Guo (郭纾宇)
2 years
@justinfagnani your own child? please. i went into a daycare and saw a toddler making CPU in Minecraft and took the mouse out of her hand and threw it on the ground, telling her nobody needs local compute anymore
2
0
18
@_shu
Shu-yu Guo (郭纾宇)
4 years
@littlecalculist “congratulations on the spot bonus”
3
0
17
@_shu
Shu-yu Guo (郭纾宇)
4 years
i'm proposing to add resizable array buffers and growable shared array buffers to JS. where would you like these new constructors to live? if you have a few seconds, would appreciate your filling out a quick poll here:
4
7
17
@_shu
Shu-yu Guo (郭纾宇)
3 years
fellow vm engineers, would you play Addressle, where you guess 64bit pointers?
5
0
17
@_shu
Shu-yu Guo (郭纾宇)
2 years
idk man if anything i wish i had less impact from my work. what's the satisfaction from breaking the web and causing security bugs
@andrewchen
andrew chen
2 years
The dysfunctions of FAANG
Tweet media one
122
393
5K
3
1
17
@_shu
Shu-yu Guo (郭纾宇)
4 years
decompressing after tc39 with some copperplate practice
Tweet media one
0
1
17
@_shu
Shu-yu Guo (郭纾宇)
9 months
it's a crying shame only children's clothes tend to have dinosaurs on them
3
0
17
@_shu
Shu-yu Guo (郭纾宇)
2 years
trivia of the day: the "Java" in JavaScript stands for Java
6
1
17
@_shu
Shu-yu Guo (郭纾宇)
5 years
little known: LLVM came out of LLNL, the Low Level National Laboratory, so named because it has no buildings over 4 storeys
1
0
17
@_shu
Shu-yu Guo (郭纾宇)
4 years
one day i would like to design a PL using the principle of most surprise. not intentionally difficult or obtuse, but constantly subverting expectations
3
0
17
@_shu
Shu-yu Guo (郭纾宇)
2 years
6
Tweet media one
@ElaMoscicka
Ela Mościcka | elaintech.com
2 years
I’m a Software Engineer and I’ve got 0 stickers on my laptop 😎 What about you? #Tech #TechTwitter
653
99
2K
1
2
16
@_shu
Shu-yu Guo (郭纾宇)
4 years
@acutmore @DasSurma @littledan man i'm trying to kill subclassing over here :(
2
0
16
@_shu
Shu-yu Guo (郭纾宇)
5 years
so creduce is not pronounced cray-do-che?
1
1
16
@_shu
Shu-yu Guo (郭纾宇)
3 years
OH biking in SF: “yeah people understand branch prediction in CPUs but this is like branch prediction for the human mind you know what i mean?” i hate it here
0
0
16
@_shu
Shu-yu Guo (郭纾宇)
1 year
i want to meet the people who have not heard of either C++, Java, or JavaScript
@algo_luca
Luca Palmieri
1 year
Rust must be doing something in the WebAssembly world: it was off to a great start a few years ago, but it continues to build on its early lead.
Tweet media one
8
8
119
7
1
16
@_shu
Shu-yu Guo (郭纾宇)
8 years
Coming to the March meeting.
Tweet media one
Tweet media two
1
1
16
@_shu
Shu-yu Guo (郭纾宇)
1 year
javascript tip: use TypedArray.prototype.toLocaleString to localize your byte values. for example, 255 becomes 255
2
0
16
@_shu
Shu-yu Guo (郭纾宇)
3 years
@rictic @jrsinclair @RicheyRyan this is a common expectation that we've heard that needs to be tempered with better messaging jury's out on how we implement a fast deep equality check like that that meets folks' expectations. the closest prior art here is string interning in JS VMs, but this is trickier...
3
0
15