Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
evmar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
181.
▲
by
evmar
4y ago
The article is great, sorry for the quibble! The maybe too subtle point I was trying to make is that, even though the TypeChecker object literally provides an EmitResolver (I think? something like that?), in terms of the conceptual layout o
182.
▲
by
evmar
4y ago
This is a bit misleading in where the "Type Checker" box is pictured, but I think it's due to an understandable confusion about how the compiler is structured. Importantly, types do not affect TypeScript emit [1]: you can ta
183.
▲
by
evmar
5y ago
I read about stack graphs before, it sounds interesting! I think they help, but ultimately I expect you need a compiler solve the absolute madness of the totality of C++. For example I think getting argument-dependent lookup right in the p
184.
▲
by
evmar
5y ago
I contributed to a similar system used within Google (partially open source at kythe.io), that took the very different approach of integrating with the language-native toolchain for each language. As this article describes, doing this requi
185.
▲
by
evmar
5y ago
(n2 author here) ETA is pretty hard in the presence of parallelization unless you make big assumptions like "all pending build tasks will be able to run in parallel". If you had any good ideas here I'd love to hear them.
186.
▲
by
evmar
5y ago
(n2 author here) This is really cool! I am sorry if weird ninja decisions (like not being lexer-friendly or phony being underspecified) caused you grief, the whole thing was really built as a quick hack before I understood the problem spac
187.
▲
by
evmar
5y ago
In Ninja, which needs to spawn a lot of subprocesses but it otherwise not especially large in memory and which doesn't use threads, we moved from fork to posix_spawn (which is the "I want fork+exec immediately, please do the smart
188.
▲
by
evmar
5y ago
I love Factorio! If you've completed enough of the base game, I can recommend Seablock (which includes AngelBob) and Space Exploration as two mods that make the game dramatically larger. I played some of Pyanodon (which is also someti
189.
▲
by
evmar
5y ago
I don't know the history, but I think Figma predates much public knowledge about Skia. Further, I have the impression that Figma has pretty specific and complex graphics needs. For one example of the sort of thing I mean, we decode im
190.
▲
by
evmar
5y ago
Yes, sorry! I should've written GL, not GPU, but it's too late to edit it to fix. ...though there are some shaders involved.
191.
▲
by
evmar
5y ago
> Figma makes use of a low-level C++ library called Skia for 2D graphics rather than building their own graphics engine This is not quite right. The bulk of Figma rendering is Figma-custom GPU code. It's true that Figma uses Skia,
192.
▲
by
evmar
5y ago
How does this compare to http://www.plask.org/ ?
193.
▲
by
evmar
5y ago
Missing the most recent developments but still mostly accurate: http://neugierig.org/software/blog/2011/11/graphics-stack.ht...
194.
▲
by
evmar
5y ago
At least as of >10 years ago when I worked on the code, the equivalent feature in Linux Chrome uses a unix socket in your Chrome profile directory. It was a little subtle to implement in that you need to also handle the case where a cra
195.
▲
by
evmar
5y ago
My recollection is that you need a license to PDF patents from Adobe to implement those things, and Apple is somehow grandfathered themselves into those licenses via NeXT. (But upon writing that I'm not sure where I got that impression
196.
▲
by
evmar
5y ago
As a person who enjoys doing this kind of cleanups, it is disappointing. But when I think of the larger business perspective, these kinds of cleanups are difficult to justify, in that the value of them is hard to quantify. Overall the net
197.
▲
by
evmar
5y ago
> seems to compare the Firefox version number with 65 ... I’ve no idea what the purpose of this is I previously worked on JS infra at Google. Google uses a lot of shared JS libraries that date back over a decade, and those libraries hav
198.
▲
by
evmar
5y ago
In a separate context I discovered the slow performance of addr2line and wrote my own faster one as a learning experiment: http://neugierig.org/software/blog/2012/03/heap-profiling.ht...
199.
▲
by
evmar
5y ago
I worked 17 years at Google on lots of different things and with one exception* never let work stuff interrupt my life when I wasn't at work. I certainly kept odd hours at times and would do things like stay late some days if I had br
200.
▲
by
evmar
5y ago
If you're in the Bay Area and interested in an up close encounter with a giraffe, I recommend https://www.safariwest.com/ . (Disclaimer: no affiliation, I just enjoyed my visits there. I also have done no research int
201.
▲
by
evmar
5y ago
If the order matters, it's only as hard as using a (different) data structure that preserves order.
202.
▲
by
evmar
5y ago
To prevent these kinds of bugs, the iteration order in a Go map is randomized across each execution.
203.
▲
by
evmar
5y ago
You are right, sorry for missing the third bug.
204.
▲
by
evmar
5y ago
Chrome originally integrated RSS feeds in the new tab page, to show you when there were new posts on sites you frequently visited. We cut the feature just before launch, because it wasn't fully baked, and never resurrected it. (I know
205.
▲
by
evmar
5y ago
As a former Debian enthusiast (I even helped staff a Debian booth at a conference once!) who also tends to be conservative with new technology and who is consequently also skeptical of all these random Linux distros, I eventually tried out
206.
▲
by
evmar
5y ago
I noticed that the two bugs they linked [1] [2] are both due to the distros introducing bugs by applying patches -- one for hurd support (!) -- that were not shipped by the upstream projects that the distros were repackaging. As we have di
207.
▲
by
evmar
5y ago
I have been collecting new shell ideas here: http://evmar.github.io/smash/related.html
208.
▲
by
evmar
6y ago
I'm not sure how you got from "Rust gives you more confidence but not absolute confidence and you still need the normal stable of runtime detection tooling" to "useless".
209.
▲
by
evmar
6y ago
It's not, I linked the patch. (I don't fully understand the patch so I'm happy to be corrected here, but it looks like it was an ordinary "use atomics incorrectly" bug.)
210.
▲
by
evmar
6y ago
It's interesting, I read this and had the opposite conclusion -- people are still writing racy code using Rust. I mean, it's great that you can write threaded code with more confidence, but it seems the conclusion here is that Rus
More ›