Live data from Hacker News

Viewing profile — evmar

evmar

HN member
Joined
Tue, Jun 07, 2011, 7:33 AM UTC
HN karma
6,802
Public activity
832 items

About evmar

https://neugierig.org

evan.martin@gmail.com

My posts on HN: https://news.ycombinator.com/from?site=neugierig.org

Recent public activity

  1. comment
    Comment #49187574

    I did some exploration of this idea in a followup build system! See https://neugierig.org/software/blog/2022/03/n2.html . (It's not really production-ready.)

  2. comment
    Comment #49186513

    Thanks for saying this! I am close enough to it that I mostly remember all of the bad decisions I made that are now unfixable, haha.

  3. comment
    Comment #49184607

    Yes, I don’t remember the details but vaguely remember that CMake tends to group things together that could in principle be made more parallel, as you mention with generates files …

  4. comment
    Comment #49184274

    [Ninja author here] Nice post, cool to see the deep dive! I also appreciate the details on how they produced their numbers. As they observe, Ninja gets to be fast mostly by cheatin…

  5. comment
    Comment #48795679

    If you imagine Google's job is to present useful information, these blogs that are maximizing cash while simulating usefulness are exactly the sorts of things I would hope Google t…

  6. comment
    Comment #48583371

    A better solution might be to use https://github.com/evanw/polywasm to run the original wasm in place.

  7. comment
    Comment #48519297

    One thing I sometimes think about when I think about text layout problems is how the text we use also has a bunch of complexities that we can take for granted. Think of variable wi…

  8. comment
    Comment #48480413

    Thanks, I'd love to add them! Do you have a good source for this data? I did a quick look at the site you linked above and I'm not sure whether it has numbers for GDP or landmass f…

  9. comment
    Comment #48480024

    I was curious about comparisons like the ones you're making between US states and EU countries and made this little app, maybe you'll find it useful! https://evmar.github.io/states…

  10. comment
    Comment #48300163

    This is my second emulator, and in my first I picked a name more like that and regretted it. A thing I now appreciate about emulators is that it's common to increase scope -- like …

  11. comment
    Comment #48300139

    Thanks a lot for this, I will put it on my list to investigate. I've gone in circles a few times with how to think about image buffer management because I also support DirectDraw, …

  12. comment
    Comment #48299831

    Wow, thanks for the link, that is perfect timing! I submitted my post and my own feedback on the discussion: https://github.com/WebAssembly/shared-everything-threads/dis...

  13. comment
    Comment #48298933

    [post author] I looked into this API but wasn't sure how to make good use of it. I may have misunderstood, maybe you could help! The doc you linked has two forms of use, sync and a…

  14. comment
    Comment #48298658

    Gosh, I think that means even when your code is wholly running on workers (where you would be able to use the atomic wait mentioned in the comment), it still will busy loop, doesn'…

  15. comment
    Comment #48165219

    One nice tool for analyzing maps as a tree is as a dominator trees. I wrote a bit about it here: https://neugierig.org/software/blog/2023/07/dominator.html

  16. comment
    Comment #48122329

    The translator I made is only hobbyist quality, but I just have a big table that says “if you indirect jmp to address X then the associated block is at location Y”. This is slower …

  17. comment
  18. comment
    Comment #47868693

    Do you have any notes or other artifacts from your recompiler? I’d love to learn more.

  19. comment
    Comment #47868683

    Yes, I agree that there is little harm in gathering too much code. I have tried out just scanning data memory for values that refer to addresses within the region marked as code an…

  20. comment
    Comment #47865348

    Slow progress is fine, it took me like two years to get where I got! (Not that I was working on it full time or anything, but also there were just many false starts and I had no id…

  21. comment
    Comment #47855976

    Looking through Wikipedia at least, it's not exactly clear to me. They have separate pages for 'binary recompiler' and 'binary translation' that link to each other, and the latter …

  22. comment
    Comment #47855859

    [post author] I went down some similar paths in retrowin32, though 32-bit x86 is likely easier. I was also surprised by how much goop there is between startup and main. In retrowin…

  23. comment
    Comment #47855550

    It depends on what results you’re expecting! Relative to an interpreter, even the simplest unoptimized translation of that code is already significantly more efficient code at runt…

  24. comment
    Comment #47762313

    I see, I might be confused by the terminology. "clobber" to me suggests intentionally trying to throw away cached results (clobbering what you have), but it sounds like you might j…

  25. comment
    Comment #47759960

    I’m not too familiar with Firefox builds. Why are clobber builds common? At first glance it seems weird to add a cache around your build system vs fixing your build system.