Kevin Newton (@kddnewton) 's Twitter Profile
Kevin Newton

@kddnewton

Engineer at Meta

ID: 1685851182

linkhttps://kddnewton.com calendar_today20-08-2013 14:06:40

1,1K Tweet

3,3K Takipçi

199 Takip Edilen

Kevin Newton (@kddnewton) 's Twitter Profile Photo

Just released Prism v1.3.0. * Prism::StringQuery * Prism::Relocation * A simpler build system * Much more documentation * More invalid code rejected * Better error messages * A bunch more stuff Last release before Ruby 3.4!

Kevin Newton (@kddnewton) 's Twitter Profile Photo

Truly and completely heartbroken for this loss. Noah was inspirational in his desire to make Ruby and Rails accessible. He was always willing to chat, even before we got to work together. This community will deeply miss him and his myriad contributions. I will miss him a lot.

Kevin Newton (@kddnewton) 's Twitter Profile Photo

This is incredibly niche, but maybe someone knows. I'm seeing pthread_key_create destruction callbacks fired _after_ the thread has cleaned up thread_local variables in C11, but only on macOS. On all other platforms, TLS is unchanged. Wat?

Kevin Newton (@kddnewton) 's Twitter Profile Photo

This is what I'm talking about. Looks like the TLS area is cleaned up before the pthread_key_create callback is called, but only on macOS. Works as expected on Windows and Linux. Annoying. I guess I can't rely on automatic TLS within pthread callbacks. gist.github.com/kddnewton/080a…

Kevin Newton (@kddnewton) 's Twitter Profile Photo

Ruby 3.4.2 is out, which includes fixes for just about everything I know of related to Prism. We’re into the truly esoteric code now, and it appears that everything is working! github.com/ruby/ruby/rele…

Jean Boussier (@_byroot) 's Twitter Profile Photo

Here we go. That one I really needed to get of my chest for the better part of a year, so I feel relieved now. It's really long but hopefully not too hard to follow. byroot.github.io/ruby/performan…

Kevin Newton (@kddnewton) 's Twitter Profile Photo

If you are a Ruby developer, then any time Ilya publishes something you need to pay attention. Very impressive work went into this post.

Kevin Newton (@kddnewton) 's Twitter Profile Photo

This was the dream the whole time, and it’s really nice that when it finally happens it’s relatively quiet. That means it’s actually working.

Kevin Newton (@kddnewton) 's Twitter Profile Photo

It makes me unreasonably frustrated that x86-64 uses AH for the remainder in 8-bit unsigned division. I'm sure there's a good hardware reason, but I wish it were DH to be consistent.

Kevin Newton (@kddnewton) 's Twitter Profile Photo

Last week I released Prism v1.5.0. This is the first release since I went on paternity leave (so it's been a while...). It is the first release to include Ruby 3.5 syntax (including leading logical operators!). Slowly burning down the remaining bugs! github.com/ruby/prism/rel…

Kevin Newton (@kddnewton) 's Twitter Profile Photo

For... reasons, I ended up writing my own SHA-1 and SHA-2 implementations in C. They are written in hilariously portable C89 (I'm fairly certainly this would run correctly on any machine you could find, including with CHAR_BIT != 8). Thought I'd share. github.com/kddnewton/sha/…