Live data from Hacker News

Viewing profile — _cogg

_cogg

HN member
Joined
Thu, Jun 06, 2024, 12:05 PM UTC
HN karma
14
Public activity
8 items

About _cogg

No profile information was provided.

Recent public activity

  1. comment
    Comment #47357801

    Python supports arithmetic on mixed numeric types, so it makes sense that floats and ints should have a hash function that behaves somewhat consistently. I don't write a lot of pyt…

  2. comment
    Comment #45574235

    Yeah, I expect the real advantage of a JIT is that you can perform proper register allocation and avoid a lot of stack and/or virtual register manipulation. I wrote a toy copy-patc…

  3. comment
    Comment #42928128

    Thank you! Not the author, but I'm also building a compiler. I've stumbled across these tests before and mostly just been irritated and confused about what to do with them.

  4. comment
    Comment #42871678

    Yeah, I was totally unaware of this. The namespace appears to be blocked in the sandbox -- probably rightfully so -- but now I'm curious as well. I might have to test it out and wr…

  5. comment
    Comment #42859346

    Author here. My background is in rust if anything. Honestly, I prefer to avoid playing these clever games with type systems unless it's really necessary. It just ended up being the…

  6. comment
    Comment #41483101

    Writing bindings isn't something I have a lot of experience with. The main difference I'm aware of is the FFI system, which creates bindings from C headers, and will result in fast…

  7. comment
    Comment #41482919

    You used to have to be extremely careful to keep the JIT happy, but I think this has been partially solved in LuaJIT 2.1. Calling C functions using the old stack API would cause th…

  8. comment
    Comment #40597321

    I've been thinking a lot about embedded scripting lately, to the extent that I've decided to roll my own language. I agree with all your points, but here are some of my own thought…