back to article Linux in Excel? Sure, why not ruin both

From the department of "but… why?" comes news of Linux running in Microsoft Excel, although all might not be as it seems. There are various painful ways to run Excel on Linux – using a web-version in Edge, a Windows virtual machine, or with WINE, say – but going the other way around and getting the Linux kernel to run in Excel …

  1. Doctor Syntax Silver badge

    VBA

    If you can emulate ARM 1 in 808 lines of BBC Basic, why not?

    1. captain veg Silver badge

      Re: VBA

      The first time I saw Excel it launched from DOS and brought in its own private Windows 2 runtime.

      Yep, definitely disappointing that this effort doesn't emulate a system in VBA, which is surely possible, though there are definitely hoops to negotiate, like the lack of unsigned integers and bit-shifting operations. I wonder which is the simplest Linux-compatible ISA to emulate?

      -A.

    2. el_oscuro

      Re: VBA

      By a strange coincidence, 808 is about the same number of lines of C-64 basic I used to write a 6502 assembler. I also had to write a simple EDLIN style text editor as the C-64 didn't have any capability to edit plain text files. I did all of this because as a broke teenager, I couldn't afford the $35 macro assembler cartridge.

  2. Anonymous Coward
    Anonymous Coward

    The idea of...

    a single humungous excel formula (function)† the encompasses the Linux virtual machine (mostly the syscall interface I would imagine) is magnificently insane. In size I imagine would have to be very many orders of magnitude greater than the largest LLMs.

    Even the less Olympian approach of emulating the execution of a Linux kernel in excel using a minimal processor (also emulated) demonstrates if not a limited grip on sanity, a need to get out more.

    † Probably the same problem as specifying the denotational semantics of a Linux kernel.

    1. Bronek Kozicki

      Re: The idea of...

      I imagine it would take an emulation of the simplest ISA that Linux supports (RISC V perhaps ?) alongside with memory and non-volatile storage.

      No, I do not want to troubleshoot that spreadsheet either. In fact I do not want to see it. It's for the best if it's never created.

      1. bazza Silver badge

        Re: The idea of...

        And interrupt vectors, and interrupt sources. All in all it could be a tad tricky to build the whole thing!

    2. MyffyW Silver badge

      Re: The idea of...

      I am left wondering at what point elephants standing on the back of turtles is involved in this Russian-doll-like chicanery

      1. hedgie

        Re: The idea of...

        Wrong author. Seems more like something from Miskatonic University than Unseen University.

    3. Mike007 Silver badge
      Joke

      Re: The idea of...

      Explains a support ticket from the accounts department. We were wondering what he was trying to do with that formula.

    4. TeeCee Gold badge

      Re: The idea of...

      You do know that, somewhere, there's a P&L analysis spreadsheet that's waaay more complicated than that?

      Organically grown over the last 40 years, nobody understands it but, as the results are acceptable, nobody questions it.

  3. b0llchit Silver badge
    Joke

    Pigeon Linux

    I'm holding out for someone to implement a world wide flying pigeon CPU where messages are sent, received and interpreted by pigeons.

    Oh, wait,... a message passing operating system... that must be Hurd hurting the flying pigeons. At least they both will finish in about the same time.

    1. Sp1z

      Re: Pigeon Linux

      Something similar to this on the CPU scale?

      https://www.rfc-editor.org/rfc/rfc2549

      1. b0llchit Silver badge

        Re: Pigeon Linux

        Yes, that was the thought.

        But QoS is not required on simple CPUspigeons, so using RFC1149 as a basis will suffice (as BLUG showed).

    2. GlenP Silver badge

      Re: Pigeon Linux

      a message passing operating system

      We wrote one of those over 40 years ago at Uni, back when degrees were in Computing, not IT, and taught low level programming. It was a group project in teams of four, and I suspect as much time was spent on inventing names* for the resulting O/S's as on writing them! I can't say I've ever felt the need to do this again but it gave us a deeper understanding of the background to both the O/S and the hardware and has certainly helped when developing multi-threaded applications**.

      *Ours ended up as Group Operating System Supporting Advanced Message Exchange Routines. of GOSSAMER, largely because it hung by a thread!

      **Nothing to do with work, model railway control on a Raspberry Pi.

    3. apolodoro

      Re: Pigeon Linux

      Since it is a new set of daemons running on top of Hurd, you would need to call it something like Phlok - Pigeon Hurd for Lightweight Operating Kernel.

  4. Anonymous Coward
    Anonymous Coward

    Linux everywhere

    IIRC, Linus stated linux' goal as total world domination.

    Running linux inside Excel is another step to world domination!

    "You won't be able to use tools like vi, but for simple commands it is fine."

    How long until we get vi in Excel?

  5. ecofeco Silver badge
    Flame

    Some men...

    ...just want to watch the world burn.

    1. MyffyW Silver badge

      Re: Some men...

      I want to see gamma rays, I want to hear X-rays, and I want to smell dark matter.

    2. tfewster
      Thumb Up

      Re: Some men...

      "but… why?"

      As George Mallory might have said, 'because it's there I can'

  6. elsergiovolador Silver badge

    NeXT STep

    Next step is to run Wine on that Linux and run Excel from within it.

    1. Ken Hagan Gold badge

      Re: NeXT STep

      It's probably already been done but the execution hasn't yet got past the startup code.

    2. veti Silver badge

      Re: NeXT STep

      Great idea, then you can transfer the whole thing to run on itself and you'll never have to look at it again. Which is the goal I'm sure we're all working for here.

  7. dmesg
    Mushroom

    Excel as a crypto object

    I once implemented DES in a spreadsheet. Not too hard, actually. But making Excel into a MITM attack on Linux -- that's something special!

  8. Ken G Silver badge

    It's ideal for the parts of the business who refuse to move off Excel

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like