Git Product home page Git Product logo

Comments (5)

jsierles avatar jsierles commented on July 18, 2024 1

Yeah, I was thinking about that. We definitely want jemalloc enabled for every version, so we should start thinking about it. @samueldr can probably get us into shape here once the build stuff is sorted. I'm going to create a repo for the nix stuff to be extracted to. We can start plopping things like this in there.

from rails-nix.

jsierles avatar jsierles commented on July 18, 2024

Nice, this looks about right. We'll probably want to extract these into a separate repo where we build and upload to a binary cache. I'll open a separate issue to try to outline what I think we can try.

from rails-nix.

Matt-Yorkley avatar Matt-Yorkley commented on July 18, 2024

Just a note on some of the details of building Ruby versions (which might be a bit much at this early stage, but could be a consideration later): there's a couple of build flags that are quite popular and might be in demand if the Rails/Nix thing takes off, related to increasing Ruby's performance/speed. The first is the --with-jemalloc flag for switching out the default memory allocator, and the second is the new flag for enabling YJIT (which is now available in Ruby, but I think still disabled by default).

from rails-nix.

Matt-Yorkley avatar Matt-Yorkley commented on July 18, 2024

There are some bits built in to the pkgs.ruby implementation for handling jemalloc already 👌 But yeah the opt-in or opt-out YJIT thing will be in demand and that makes things a bit more complex if you want to offer that.

from rails-nix.

jsierles avatar jsierles commented on July 18, 2024

Now this is being moved into https://github.com/fly-apps/nix-base, we can open more specific tickets there.

from rails-nix.

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.