jstarks

Joined 11 years ago

Karma
616
Submissions
121
Member since
Mar 25
I am the dev lead of the Linux on Windows team at Microsoft. We work on containers, VMs, and Windows Subsystem for Linux (WSL).

jostarks at microsoft.com

@gigastarks on Twitter.

View on Hacker News

Recent submissions

Comment · 25 days ago
What could go wrong using tlds that were not explicitly reserved for internal use?
Comment · 27 days ago
What? Why would mold be particularly valuable for early stage compilation, to the point that you’d explicitly cater to that user base?
Comment · 28 days ago
You don’t need an api. Just touch the page.
Comment · 10 months ago
All I’m really hearing is that this guy rubs you the wrong way, so you’re not going to give him the benefit of the doubt that you’d give to others.

I mean, maybe you’re right that his personality will turn everyone off and none of this stuff will ever make it upstream. But that kind of seems like a problem you’re actively trying to create via your discourse.

Comment · 1 year ago
Well, technically both WaitOnAddress and SRWLOCK use the same "wait/wake by thread ID" primitive. WaitOnAddress uses a hash table to store the thread ID to wake for an address, whereas SRWLOCK can just store that in the SRWLOCK itself (well, in an object on the waiter's stack, pointed to by the SRWLOCK).
Comment · 1 year ago
> If you want to claim that a language is memory-unsafe, POC || GTFO.

There's a POC right in the post, demonstrating type confusion due to a torn read of a fat pointer. I think it could have just as easily been an out-of-bounds write via a torn read of a slice. I don't see how you can seriously call this memory safe, even by a conservative definition.

Did you mean POC against a real program? Is that your bar?

Comment · 1 year ago
What about ROL r/m16, 8?
Comment · 2 years ago
I guess if the arch’s varargs conventions do something other than put each 32-bit value in a 64-bit “slot” (likely for inputs that end up on the stack, at least), then some of the arguments will not line up. Probably some of the last args will get combined into high/low parts of a 64-bit register when moved into registers to pass to the kernel. And then subsequent register inputs will get garbage from the stack.

Need to cast them to long or size_t or whatever to prevent this.

Comment · 2 years ago
No inline functions in library headers, then.
Comment · 2 years ago
Despite the title, it's not actually open source yet. Soon!
Comment · 2 years ago
Your NIC can already access arbitrary RAM via DMA. It can read your keys already.
Comment · 2 years ago
I think the MPL attempts to be that license.
Comment · 2 years ago
Supposedly “ampersand” comes from when the alphabet song/rhyme used to end in “and ‘per se’ and”. School kids mushed it together into “ampersand”, and over time it became the name for &.
Comment · 2 years ago
Do you find this problematic?
Comment · 2 years ago
> As for animators having to find new work... good?

Isn’t this a paternalistic point of view? Why do you know better than the animators who are accepting these jobs? Who are you to tell them that their career choice is wrong?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton