Announcement

Collapse
No announcement yet.

XCP-ng Initating Effort To Rewrite Xen Components In Rust

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #51
    Originally posted by patrick1946 View Post
    So not always the best wins?
    The decay of UI design and UX since 2001 and the usability regressions that Apple accepted when they botched Copland and bought NeXT instead is proof of that. (Seriously. How elegant is it that you can make a bootable Classic MacOS backup just by dragging and dropping the System folder onto another drive? How elegant is it that you can fix a non-bootable System folder just by double-clicking it to make the OS notice what it is and add the special icon? How elegant is it that you can install system extensions just by dragging them onto the System folder and accepting the offer to put them where they need to go? How elegant is it that you can copy-paste icons between Get Info dialogs to add custom icons to any file or folder? Wasn't it wonderful that the interaction between Macintosh Toolbox APIs and resource forks provided a standardized way to make pretty much any application user-moddable by default, etc.)

    There's a famous paper by Richard Gabriel named The Rise of "Worse is Better" which explores how UNIX won out over better designs.
    Last edited by ssokolow; 20 March 2023, 11:41 AM.

    Comment


    • #52
      Originally posted by stormcrow View Post
      But what a lot of naysayers conveniently ignore is that having a start means that eventually the legacy code bases will fade into disuse. If there's never a start, then those code bases will never fade into disuse and we'll still be finding buffer overflows in 40 year old code after they've already been exploited, just like like we're doing in the present. "Never" is not a future sane people can be hopeful about.
      Do you experienced the rise of Java? Actually it really reminds me to Rust except Java was much more successful in the beginning. New concept always look very convincing but only after they are used widely broad experience gets gathered with them and new concepts grow out from them.

      People have their context and it's all we have. If people argument from a different context it is easy to say that their context is an 'illusion' but my is 'fundamentally solid'. But you can never know because nobody can see the future except for a Messiah like figure. ;-)

      Comment


      • #53
        Originally posted by patrick1946 View Post

        Do you experienced the rise of Java? Actually it really reminds me to Rust except Java was much more successful in the beginning. New concept always look very convincing but only after they are used widely broad experience gets gathered with them and new concepts grow out from them.

        People have their context and it's all we have. If people argument from a different context it is easy to say that their context is an 'illusion' but my is 'fundamentally solid'. But you can never know because nobody can see the future except for a Messiah like figure. ;-)
        Bear in mind three key details:
        1. Java had massive promotional funding behind it from Sun Microsystems. Rust's rise has been more organic/viral.
        2. Java was basically the first thing in its niche, and its growth was arrested partly by the rise of C#... which came about as Microsoft's "I'll build my own casino, with blackjack and hookers" after Sun sued them for trying to Embrace, Extend, Extinguish with Visual J++ and which also had massive promotional funding and platform tie-in behind it. Java also was hampered by Sun's over-dedication to "write once, run everywhere". (eg. The difficulty of integrating with POSIX APIs on POSIX's terms is which Richard Stallman never liked Java but did like Python. C# integrates with Windows APIs on Windows's terms and that's one big reason it's so popular.)
        3. Rust is the first innovation in niches formerly unique to C and C++ to gain significant traction in decades. Assuming other factors don't halt its growth, it has the potential to be a huge success. (eg. D had potential, but the ecosystem split and the ""technically optional but, because so many third-party libraries rely on it, mandatory in practice" garbage collector killed its momentum.)
        TL;DR: Sun pumped up Java with a massive promotional budget but then basically strangled it in the name of keeping it pure to their vision, so much of its momentum was transferred to C# as Microsoft's "Java by Microsoft®" after the Visual J++ lawsuit. If you count Java and C# as one phenomenon, it was hugely successful and cornered the "memory-safe application development" niche until node-webkit/Electron came around.
        Last edited by ssokolow; 20 March 2023, 11:51 AM.

        Comment


        • #54
          Originally posted by ssokolow View Post
          Java was basically the first thing in its niche ...
          Smalltalk existed since the '70 but the syntax was really different.

          Originally posted by ssokolow View Post
          Rust is the first innovation in niches formerly unique to C and C++ to gain significant traction in decades. Assuming other factors don't halt its growth, it has the potential to be a huge success. (eg. D had potential, but the ecosystem split and the ""technically optional but, because so many third-party libraries rely on it, mandatory in practice" garbage collector killed its momentum.)
          I think the biggest drawback of Rust is some of their Evangelists overselling it aggressively. ;-)

          Comment


          • #55
            I think the biggest drawback of Rust is some of their Evangelists overselling it aggressively.
            I agree . But new kids on the block like the 'newest' things on the block too. In my world, the software we use for Energy Management 'finally' has left Fortran behind and is completely C++ now. I don't think there is any plans in the near future to be looking at 'Rust' as a possible replacement . Ha! (At least in my lifetime).

            Comment


            • #56
              Originally posted by patrick1946 View Post
              I think the biggest drawback of Rust is some of their Evangelists overselling it aggressively. ;-)
              I don't like the RIIR crowd either. I was among the /r/rust/ old-guard who were busy running damage control at the height of that.

              When I say "Rust is the first innovation in niches formerly unique to C and C++ to gain significant traction in decades.", I'm referring to things like how Microsoft is apparently using it internally but won't say where, Google is praising the results of migrating parts of Android from C and C++ to Rust and preparing to use it in Chromium, and it's the first non-C, non-Assembly language where support is tentatively getting added to the Linux kernel.

              The more "like Java was"-y stuff would be how Espressif has hired the guy who DIYed ESP32 Rust support on top of their Xtensa fork of LLVM (upstreaming in progress) so he can have a full-time job providing official Rust support for both Xtensa-based and RISC-V-based ESP32 models and how Infineon recently announced official Rust support for some of their lines of automotive-oriented microcontrollers.

              Comment


              • #57
                Originally posted by ssokolow View Post

                Bear in mind three key details:
                1. Java had massive promotional funding behind it from Sun Microsystems. Rust's rise has been more organic/viral.
                2. Java was basically the first thing in its niche, and its growth was arrested partly by the rise of C#... which came about as Microsoft's "I'll build my own casino, with blackjack and hookers" after Sun sued them for trying to Embrace, Extend, Extinguish with Visual J++ and which also had massive promotional funding and platform tie-in behind it. Java also was hampered by Sun's over-dedication to "write once, run everywhere". (eg. The difficulty of integrating with POSIX APIs on POSIX's terms is which Richard Stallman never liked Java but did like Python. C# integrates with Windows APIs on Windows's terms and that's one big reason it's so popular.)
                3. Rust is the first innovation in niches formerly unique to C and C++ to gain significant traction in decades. Assuming other factors don't halt its growth, it has the potential to be a huge success. (eg. D had potential, but the ecosystem split and the ""technically optional but, because so many third-party libraries rely on it, mandatory in practice" garbage collector killed its momentum.)
                TL;DR: Sun pumped up Java with a massive promotional budget but then basically strangled it in the name of keeping it pure to their vision, so much of its momentum was transferred to C# as Microsoft's "Java by Microsoft®" after the Visual J++ lawsuit. If you count Java and C# as one phenomenon, it was hugely successful and cornered the "memory-safe application development" niche until node-webkit/Electron came around.
                As a JVM/Java developer, I would add one thing that people commonly miss which I think is the biggest factor for Java's rise (especially in backend systems) and that is its memory model. Java's memory model in conjunction with GC allowed developers to write concurrent code that properly utilized many threads (not like Python with a GIL) and due to its GC is also largely safe (unlike C/C++). This was massive at the time Java was getting popular, because it was also at the same time you had many core server systems popping up and unlike nowadays where we have multi tenancy systems, back then hosting on premise (or in a data center) was the norm so you would have an entire multi-core server system for "yourself" (which means unless you feel like throwing performance off the table, you need to use all of those cores). Ontop of this most systems were monolithic/single process in design (idea being you had a single JVM VM per node that would take up almost all of the resources).

                Combine that with a fairly easy to learn language and bobs your uncle.
                Last edited by mdedetrich; 20 March 2023, 04:09 PM.

                Comment


                • #58
                  Originally posted by patrick1946 View Post

                  Smalltalk existed since the '70 but the syntax was really different.
                  Smalltalk is great but it was not just a language. It uses a virtual machine that preserves the status of every object persistentenly. This is significantly different form other languages that you could compile or interpret. I believe this was probably a bigger barrier to adoption.


                  I think the biggest drawback of Rust is some of their Evangelists overselling it aggressively. ;-)
                  People is too sensitive these days. We should evaluate the language objectively independently of it's promoters.

                  Comment


                  • #59
                    Originally posted by patrick1946 View Post

                    Do you experienced the rise of Java? Actually it really reminds me to Rust except Java was much more successful in the beginning. New concept always look very convincing but only after they are used widely broad experience gets gathered with them and new concepts grow out from them.

                    People have their context and it's all we have. If people argument from a different context it is easy to say that their context is an 'illusion' but my is 'fundamentally solid'. But you can never know because nobody can see the future except for a Messiah like figure. ;-)
                    I remember when I developed C applications with embedded SQL. Every vendor used a different propietary technology. With Infomix you could only build with a live connection to the server. I had to go the customer site to build. There was a preprocessor that generated unreadable c. And all the warts of C, like strings management, pointers, leaks, etc.

                    In comparison the same in Java was multiplatform, used a standard database driver in Java that was also portable. Easy string and memory management. It would have been just perfect for that use case.

                    Comment


                    • #60
                      Originally posted by darkonix View Post

                      Smalltalk is great but it was not just a language. It uses a virtual machine that preserves the status of every object persistentenly. This is significantly different form other languages that you could compile or interpret. I believe this was probably a bigger barrier to adoption.
                      I would argue the biggest developer to smalltalk is that most of the good implementations of it was commercial. Getting a machine with a good implementation of smalltalk was quite expensive and this really hurt the adoption.

                      While the persistent VM that preserved your environment was unconventional, I don't think that was a dealbreaker in this regard.

                      Comment

                      Working...
                      X