Since its inception, Microsoft Excel has changed how people organize, analyze, and visualize their data, providing a basis for decision-making for the flying billionaires heads up in the clouds who don’t give a fuck for life offtheline

        • Milady@lemmy.world
          link
          fedilink
          English
          arrow-up
          9
          arrow-down
          1
          ·
          2 years ago

          I mean, whatever speed java has or doesn’t have, what the other person said was emulate, you’ll have your os then on top of that the JVM then on top of that your python implementation, then finally the python code. If that’s faster than os->python imp…

          • Aceticon@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 years ago

            Just like Python doesn’t run from the source code through the interpreter all the time (instead, if I’m not mistaken, the interpreter pass converts the code to a binary runtime form, so interpretation of the source is done only once), so does “modern” Java (I put modern between quotes because it’s been like that for almost 20 years) convert the code in VM format to binary assembly code in the local system (the technology is called JIT, for Just-In-Time compiler).

            • nalyd@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              7
              arrow-down
              6
              ·
              2 years ago

              That’s not really what people mean when they’re talking about interpreted versus compiled languages. Java’s compilation step produces an intermediate language that still has to be interpreted before it’s executed.

              It turns Java code into something that can be interpreted faster, but not into something your processor directly understands. The key here is that it doesn’t produce an output that can be fed directly to the processor without additional work at runtime.

              • Phrodo_00@lemmy.world
                link
                fedilink
                English
                arrow-up
                8
                arrow-down
                1
                ·
                edit-2
                2 years ago

                If you go that detailed, then the jvm is JIT compiler, not an interpreter, so Java code still mostly runs natively on the processor. Java is quite fast achieving pretty close performance to C++, the only noticeable problems are on desktop because of the slow jvm startup and slow GUI libraries compared to native ones.

                • nalyd@sh.itjust.works
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  arrow-down
                  2
                  ·
                  2 years ago

                  I think you’re missing that all interpreters have a compilation step that produces machine code, that’s a requirement to produce programs.

                  Java’s JIT compiler is the final compilation step of Java’s interpreting path running in a separate thread that turns the intermediate language to machine code. To be very clear though, the output of the standard javac compiler is not machine code that a processor understands. This is what makes Java not a compiled language. It depends on additional processes at runtime to turn the code you wrote into something a processor understands.

                  On the performance front, well written Java is fast enough as long as you have sufficient resources for the overhead of JVM and as long as you don’t have strict latency requirements. That makes it good for a pretty wide variety of computing tasks, but, also not a good choice for a lot of others.

              • Aceticon@lemmy.world
                link
                fedilink
                English
                arrow-up
                5
                ·
                2 years ago

                There is another compilation step inside the Java Virtual Machine which “compiles” the VM Assembly code to native code at runtime.

                This is what’s called JIT compilation and has been part of the standard Java Virtual Machine for about 2 decades and the default - at least server side - for almost as long (i.e. you have to explicitly pass a parameter to disable it at startup if you want the old runtime interpreted VM opcode behaviour).

                Source: I used to design and develop mission critical high performance distributed server systems in Java for banks since before 2008 and it definitelly is capable of handling it (the bottleneck tended to be the TB-size database, not the Java application).

            • Captain Aggravated@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              3
              arrow-down
              3
              ·
              2 years ago

              Eh…Java source code compiles into bytecode which runs in a virtual machine. Compare this to a language like C which compiles to native machine code. Java still gets interpreted.

              • qaz@lemmy.world
                link
                fedilink
                English
                arrow-up
                5
                arrow-down
                1
                ·
                2 years ago

                The bytecode is turned into native code before execution

                • Aatube@kbin.socialOP
                  link
                  fedilink
                  arrow-up
                  1
                  arrow-down
                  2
                  ·
                  edit-2
                  2 years ago

                  That’s not how it works. If that really was how it worked there’d be no point even having bytecode; you’d just straight up get the native code. Unless you’re talking about JIT, but your wording seems to be implying that all the bytecode turns into native code at once.

      • Aceticon@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        edit-2
        2 years ago

        I used to make high performance distributed computing server-systems for Investment banks.

        Since the advent of Just In Time compiling, Java isn’t slow if properly used.

        It can however be stupidly slow if you don’t know what you’re doing (so can something like Assembly: if you’re using a simple algorithm with a O(n) = n^2 execution time instead of something with O(n) = n*log(n) time, it’s going to be slow for anything but a quantum computer, which is why, for example, most libraries with sorting algorithms use something more complex than the silly simple method of examining every value against every other value).

  • just_change_it@lemmy.world
    link
    fedilink
    English
    arrow-up
    46
    ·
    2 years ago

    Does anyone not think Microsoft is going to use all their cloud data for training language models?

    “We promise not to” doesn’t seem realistic to me. Proving they used it is impossible.

  • deweydecibel@lemmy.world
    link
    fedilink
    English
    arrow-up
    24
    ·
    2 years ago

    Surprising no one. You can’t even autosave files in Office software anymore unless you use OneDrive.

    • affiliate@lemmy.world
      link
      fedilink
      English
      arrow-up
      19
      ·
      2 years ago

      unfortunately the local storage technology just isn’t there yet. we have to rely on the magic of the cloud to handle complex things like auto saving files and running python interpreters

    • ZodiacSF1969@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years ago

      Yeh that pisses me off. When I looked that up, I saw that on the Microsoft help forums their response was ‘well, you never really had that feature locally anyway’.

  • Kethal@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    ·
    edit-2
    2 years ago

    This is inside-out programming. I want my code to read data files, not my data files to contain code.

    The first example is how to take cells in the sheet and make a data frame in an Excel equation. That’s easy, pandas.read_excel(): no clound needed, no need to hunt through cells of a sheet to find your code.

  • Eheran@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    ·
    2 years ago

    Holy shit Excel is still like it was 20 years ago. And now, when they want to add such a useful feature, it comes with that bag of crap with it? Fucking hell. I know why I switched all non-trivial stuff to python.

    Defining reusable functions? Diagrams with parametric ranges? (Only the title can be a cell reference, nothing else) Zooming in diagrams? More than 1 x axis? More than 2 y axis? …