Git Product home page Git Product logo

Comments (8)

64kramsystem avatar 64kramsystem commented on May 20, 2024 1

I'd also take the other smartness task, if/after the auto alignment goes in. I'm not sure how long it will take me, as I hadn't look at it (and I'm also studying Fisk in parallel).

Before starting this, I'm going to spend a bit of time to try to think about how to add some form of testing to call_cfunc. Right now for example, on my system, aligning or not doesn't make any difference (I presume due to the fact that FP registers are not used), and there is some risk that subtle issues may be inadvertly present/added.

from tenderjit.

tenderlove avatar tenderlove commented on May 20, 2024

Also now that I'm thinking about it, if we only ever use the "rt.push_reg" / "rt.pop_reg" for managing registers, then the runtime object should also know the stack alignment and be able to automatically figure out how much we need to push.

from tenderjit.

64kramsystem avatar 64kramsystem commented on May 20, 2024

Also now that I'm thinking about it, if we only ever use the "rt.push_reg" / "rt.pop_reg" for managing registers, then the runtime object should also know the stack alignment and be able to automatically figure out how much we need to push.

I'd like to take this one, if it's ok. It's actually something I've previously thought as a mean to simplify the call_cfunc UX.

from tenderjit.

tenderlove avatar tenderlove commented on May 20, 2024

@64kramsystem it's all yours!

from tenderjit.

64kramsystem avatar 64kramsystem commented on May 20, 2024

I think it'd be a good idea to use dependency versions (e.g. tags) in the Gemfile, to ensure versioning consistency; it's not strictly needed, but I think that long-term, it may save minor headaches.

from tenderjit.

64kramsystem avatar 64kramsystem commented on May 20, 2024

I'd also take the other smartness task, if/after the auto alignment goes in. I'm not sure how long it will take me, as I hadn't look at it (and I'm also studying Fisk in parallel).

from tenderjit.

tenderlove avatar tenderlove commented on May 20, 2024

I think it'd be a good idea to use dependency versions (e.g. tags) in the Gemfile, to ensure versioning consistency; it's not strictly needed, but I think that long-term, it may save minor headaches.

Makes sense, I think that would be fine.

I'd also take the other smartness task, if/after the auto alignment goes in. I'm not sure how long it will take me, as I hadn't look at it (and I'm also studying Fisk in parallel).

👍🏻

from tenderjit.

tenderlove avatar tenderlove commented on May 20, 2024

Makes sense. AFAIK the 16 byte alignment only matters on macOS (but I could be totally wrong). I'm not sure how we can test, but it would be great to have a test.

from tenderjit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.