Live data from Hacker News

Viewing profile — spiffyk

spiffyk

HN member
Joined
Wed, Nov 13, 2024, 3:05 PM UTC
HN karma
296
Public activity
86 items

About spiffyk

No profile information was provided.

Recent public activity

  1. comment
    Comment #48539673

    Fair, but it is less of a burden than just submitting a report with no proposed fix. Also, submitting quality patches regularly seems to be a good way to eventually become a mainta…

  2. comment
    Comment #48538116

    > but then what? Then you send the patch upstream, they incorporate and maintain it for you. Congratulations, you just FOSSed.

  3. comment
    Comment #48383876

    A cache line is simply the unit of data a CPU cache works with (generally 64 bytes, because someone somewhere has probably determined that that is the best line size for general us…

  4. story
  5. comment
    Comment #47888147

    Pretty sure if you let only a handful of individuals from an almost-extinct species roam around freely in an uncontrolled environment, chances are pretty high something is going to…

  6. comment
    Comment #47888062

    I expressly said "not be so tightly coupled to LLVM" because I know they're not planning on dropping it altogether. But it is the plan for LLVM and Clang not to be compiled into th…

  7. comment
    Comment #47874741

    There is actually another C compiler written in Zig, Aro[1], which Zig started using since 0.16 for its TranslateC module. [1]: https://github.com/Vexu/arocc

  8. comment
    Comment #47874726

    Zig actually bundles LLVM's Clang, which it uses to compile C with the `zig cc` command. But the long term goal seems to not be so tightly coupled to LLVM, so I'm expecting that to…

  9. story
  10. comment
    Comment #47776632

    How is it a hack? I mean, you may not like the fact that Zig does not provide syntax sugar for interfaces, but how exactly do you think they are implemented in languages that do?

  11. comment
    Comment #47544935

    It does not need to be an explicit check (i.e. a condition checking that your index is not out of bounds). You may structure your code in such a way that it becomes a mathematical …

  12. comment
    Comment #47542346

    First, if a performance optimization is a reliability regression, it was done wrong. A bounds check is removed because something somewhere else is supposed to already guaratee it w…

  13. comment
    Comment #47491670

    That whole section is kind of weird. The mention of operator overloading also seems out of place, since the operator is not overloaded here at all.

  14. comment
    Comment #47488152

    Not that it fits everyone, but that is basically how the Linux kernel is being developed.

  15. comment
    Comment #47365687

    That, too, though I'm sure that particular problem is mainly because of the textual animation in the background.

  16. comment
    Comment #47365356

    Funny how you can tell a project is vibe-coded just from a first glance at its website. All these websites seem to somehow have the same visual style. Anyone noticed this?

  17. story
  18. comment
    Comment #47324044

    That is also my understanding. My personal theory is that many corporate compliance departments (or whoever is in charge of this at a particular place) just disallow any *GPL use i…

  19. comment
    Comment #47230685

    The indie gamedev scene is full of people for whom games are an art form. These people don't give two hoots about what "the industry" prioritizes, they just want to make their game…

  20. comment
    Comment #47217324

    I think the biggest mistake you can make is shifting your mindset from making a game to making a game engine . No, you still want to be dead set on making your game , you just don'…

  21. comment
    Comment #47122174

    > What if something is costly, that you need to compute dynamically, but not often, makes it into the frame? Do you separately now create a state flag for that one render object? T…

  22. comment
    Comment #47120780

    I actually use a very similar paradigm successfully in a game [1] whose (immediate-mode) UI is fully responsive. I allow more operations than just cutting to do that, but the basic…

  23. comment
    Comment #47086398

    You don't. Labels are local to functions in C.

  24. comment
    Comment #47037336

    https://archive.ph/cSYCK

  25. story