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

  • @31337
    link
    English
    310 months ago

    Yeah, in my personal experience (with numerical compute-heavy code), normal python code, ran in the normal python interpreter, is much slower than the equivalent normal Java code with the normal Java VM (like 50x). Then C/Fortran is ~2x faster than Java (with gcc + optimization flags).

    I think Java is a good middle-ground between coding speed and execution speed. Sadly, it seems to be dying. And JavaFX is shit for trying emulate full-stack web-dev. The fucking ancient Swing is even better.

    Scala and Kotlin are OK, but I think they are making the mistake of feature-creep that causes large projects with many people to contain multiple programming paradigms that only some of the team can grok well, instead of a restricted OOP Java codebase that encourages Gang of Four style code. Though, I guess GoF-style code resulted in that crazy complicated “enterprise” Java shit.

    • @[email protected]
      link
      fedilink
      English
      3
      edit-2
      10 months ago

      Last I checked Java was alive and well in the server-side for things like middleware and backend, especially because the whole development ecosystem is incredibly mature and significantly more stable and well integrated with corporate-category systems than pretty much anything else (good luck managing a single reliable transaction across, say, 2 different databases in 2 different sites and 1 MQ system with Python).

      Absolutelly, it’s been mostly limping in a half-dead state on the UI ever since day 1 and even Google using it with Android didn’t exactly help (because Google’s architectural design of the entire Android framework is, well, shit, and has become worse over time).

      It also lost it’s proeminence in dynamic web page generation at around the early 00s to actual templating languages (such as PHP) with a much lower learning curve and later to Python.

      The ecosystem for Java is rock-solid and in widespread use in corporate multi-tier architectures that require reliable operation (were, for example, it’s native multi-threading synchronisation support and core libraries make a huge difference) and integration with professional backend systems, but for the rest, not so much (I did both that stuff and Android, and the latter is like the amateur-hour of Java ecosystems in comparison with the former).

      • AatubeOP
        link
        fedilink
        110 months ago

        At least Android has switched to Kotlin which is rightfully superior.

        • @[email protected]
          link
          fedilink
          English
          110 months ago

          The problem in Android has always been that the framework design is pretty bad in design and technical architecture terms and its evolution over time has made its glaring flaws more obvious and actually made it even messier, rather than the language (Java is fine as languages go and UI stuff only has to run in user-time, so response times of 100ms are fine and bleeding edge performance is not required).

          Further, splitting the user base into two languages, by introducing a new language that is not used anywhere else (hence you’re not going to find Kotlin programmers from outside Android development whilst you will find plenty of Java programmers) is one of the stupidest technical architecture decisions I’ve seen, and I’ve been in the industry for over 2 decades.

          Last but not least, the gains from the small programming-time efficiency advantages of Kotlin over Java are a drop in the ocean next to the losses due to the Android Framework itself being badly designed (something as simple as not having functions in different core classes that do the same thing named the same).

          Even for programmers going for Kotlin is a less than wise career move: as an Android-only language those who specialize in it are locking themselves into programming for Android only and have fewer career options - hands up anybody who expects to still be programming Android in 10 years time! The great thing of generic languages is that there are a lot of lateral career moves you can make without the high likelihood of failure that comes from hiring managers naturaly prefering people with several years of experience in the programming language used in their projects over people who say “I’ve mainly done Kotlin but I can learn that easilly”.

          What many years of experience in the industry tells me is that you don’t want your career to hang on the ficklness of a vendor, any vendor, especially the likes of Google who will drop massivelly hyped systems with tons of 3rd party investment whenever they feel like: just ask everybody who invested in developing for Stadia.

          • AatubeOP
            link
            fedilink
            110 months ago

            I code Kotlin for a hobby and have never heard of Android frameworks. While the largest use case is still Android it IS a very good language, and there are a LOT of things online about Kotlin being used outside of Android. Kotlin is a generic language; you don’t need Android stuff at all to use it.

            • @[email protected]
              link
              fedilink
              English
              1
              edit-2
              10 months ago

              A framework in the software development context means an integrated set of software libraries and tools for developing for a platform.

              So all the android.* libraries, the build tools, the Android IDE and so on together form a framework for Android application development.

              As Kotlin is not a generic language and is only really used for Android, it makes sense to consider it as part of the Android Application Development Framework (a programming language is basically a kind of tool), but for example Java which is generic has its own independent compiler, runtime and core libraries and there are various frameworks (such as I2EE, Spring, Android and so on) that on top of Java and those core elements add a set of libraries and tools to allow development of applications for different platforms (FYI, I2EE and Spring are for server-side application development).

              If I’m not mistaken Google themselves refer to the tools and libraries for developing applications for Android as the “Android Application Development Framework”.

              • AatubeOP
                link
                fedilink
                1
                edit-2
                10 months ago

                The android.* libraries are not included with Kotlin. I consider it an independent framework, just like the ones you said. What’s your definition of a generic language? AFAIK Kotlin can do everything Java can do. Kotlin also has its own independent compiler and runtime (Native) though it inherits Java’s or C’s libraries, which also means you can just use Kotlin frameworks with it. Spring even made their own completely Kotlin version, along with Compose. In a 2020 JetBrains survey 47% of surveyed developers were using Kotlin for web backends so Kotlin is definitely not limited to Android. I got that from the Wikipedia page which also has a lot of big names that use it including Amazon, Netflix, and Shazam (Apple?).

                • @[email protected]
                  link
                  fedilink
                  English
                  1
                  edit-2
                  10 months ago

                  I meant it as “general use” language, as in a language that’s widelly used for several things.

                  I’m quite suspicious of the methodology of that JetBrain survey, since 47% would put Kotlin above the likes of Python for web backend development, which is the most ridiculous claim I’ve read in quite a long time.

                  Certainly big corporates aren’t using Kotlin (with or without Spring) for making middleware (which is not at all the same as web-development) and “big name companies” “using it” doesn’t mean much because merely trying it out for 2 weeks with a handful of developers on a side project fits the definition of “using it”. If it was that successfull you would be hearing about actual large projects. Frankly it sounds a lot like a certain kind of marketing messaging I’ve often seen in the past for other kinds of languages or frameworks some large tech company or other was trying to convince developers to use, and such manufactured hype doesn’t really mean anything when it comes to the actual usage in the field.

                  Certainly that idea about Kotlin’s “success” isn’t something I’m seing in the hiring side and if companies aren’t hiring for it they’re not using it seriously.

                  (PS: The idea that Apple would use it is pretty wild as Kotlin was created in response to Apple coming up with their own language for smartphone development - Swift - which replaced Objective-C, and they’re pretty similar in terms of the language features they add over the languages they replace, so it’s kinda silly that Apple would give up on the developer-lock-in benefits of Swift to adopt the language of its competitor which is also trying to achieve the same kind of developer-lock-in but to benefit Google instead of Apple).

                  • AatubeOP
                    link
                    fedilink
                    1
                    edit-2
                    10 months ago

                    I think you’re comparing 47% to the wrong statistic. It’s 47% of Kotlin developers do backend, not 47% of backend developers use Kotlin. I haven’t seen any reliable backend languages survey yet.

                    It’s not just side projects. Though admittingly most of the sources there are from a “talking kotlin” podcast which I suspect is tied to JetBrains, the projects discussed in the podcasts aren’t just side-projects. For example “Allegro” is Poland and Slovenia’s Amazon and almost all of their backend is Kotlin apparently. It backends tax collection in Norway and (part of?) Shazam which is owned by Apple which was why I put “Apple?”, I’m not saying Apple’s using it officially.

                    “Kotlin created against Swift” is completely speculative. The only things related they have is Swift started in 2010 while JetBrains announced it in 2011, but even then it’s a stretch as Swift was only announced in 2014. You can’t make something in response to something which doesn’t exist yet.