• 3 Posts
  • 35 Comments
Joined 15 days ago
cake
Cake day: June 13th, 2024

help-circle

  • My first is one and a half and change now and after getting out of year one, which was absolute hell for me, I kind of understand where you are. I don’t feel exactly the same as you, but I do feel a lot more hope than I’d have expected.

    My kid is a lot like @MagikShel’s youngest it sounds like, and she’s often extremely angry about my general existence, let alone any of my attempts at parenting her but in a way that comforts me because I see someone able to fight for what she wants at an early age and I’m very proud of that.









  • The only part of a JIT compiler I don’t understand how it works is the part that swaps in compiled routines during interpretation. That’s the point I’m unsure of how to write in Rust because it seems like it would require very custom control flow. It might be that you can handle this by storing your compiled instructions somewhere using the C calling convention and then having Rust call your compiled function like a C function.

    In essence, what you have is a Rust program that has to produce machine code (easy!), store it somewhere in RAM (also easy, I think), and then somehow call it (how???). The final part seems like the difficult one since passing execution into arbitrary memory they just wrote is just the sort of thing programs aren’t normally supposed to do.










  • Amanda@aggregatet.orgtoTechnology@lemmy.worldWhy we don't have 128-bit CPUs
    link
    fedilink
    English
    arrow-up
    37
    arrow-down
    1
    ·
    5 days ago

    The comments on this one really surprised me. I thought the kinds of people who hang out on XDA-developers were developers. I assumed that developers had a much better understanding of computer architecture than the people commenting (who of course may not be representative of all readers).

    I also get the idea that the writer is being vague not to simplify but because they genuinely don’t know the details, which feels even worse.