“What is the most complex program, application or game you have created on Linux? What programming language did you use?”

  • Dran@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    1 day ago

    I wrote and maintain a zero-to-working SAP HANA/S4 installer in pure bash.

    It takes a redhat compatible from base install to a working, production-ready SAP system in about 5 hours.

    It’s like ~9,000 lines of bash

      • Dran@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        15 hours ago

        Building a fully functional SAP system just takes that long in raw install time when your process also includes a sufficiently large system copy, and your hardware isn’t bleeding-edge.

        It’s a massive application stack

          • Dran@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            7 hours ago

            I copy the install media locally. Although there is probably a noticable performance hot to running my main VM disk over the network.

            • I worked at a place once that had a system that was all bash that would take hours to run. I rewrote it in Ruby and got the run down to about 10 minutes.

              This was 2000; I don’t recall anymore how much of that was the runtime and got much was just refactoring and hindsight - god knows how old that jumble of bash scripts were. A lot must have been the interpreter; even just looping is far slower in bash than probably anything else.

              Not a comment on your script; just remembering that win.

              • Dran@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                edit-2
                6 hours ago

                99% of the waiting time in my case is either waiting for file copies or waiting on SAP programs to run.

                I wish I had low hanging fruit like that to go after.