The Gemini protocol is brutally simple, which makes it just about too useless for apps, tracking, and commercial purposes. Gemtext, the format for Gemini pages, is very basic; with about half as many features as markdown, it’s barely a step above plain text. As a result, Gemini is a small universe of blogs and personal sites.

Its simplicity makes it easy for people to create compatible clients and services for it. It’s self-hosting friendly and there are also hosting services, like smol.pub and some pubnixes.

Of course, you’ll need to get a Gemini browser or visit a Gemini-to-web proxy to access it.

    • moseschrute@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      5
      ·
      edit-2
      3 days ago

      You know JavaScript allows websites to be more local first, right? Apps that would otherwise require a server to handle a lot of the rendering logic. Sure, you can wish we had a front-end scripting language other than JavaScript, but modern JavaScript is pretty good actually. There’s been a ton of work by browsers to optimize performance, and TypeScript has made shipping JavaScript with confidence much easier. Facebook has made it possible with Hermes to ship bite code pre-compiled JavaScript. The entire JavaScript tool chain is currently being rewritten to Rust and Go for massive speed increases. I’ve been writing JavaScript for a decade, and it used to suck. It’s a wonderful time to write JavaScript.

      • Windex007@lemmy.world
        link
        fedilink
        arrow-up
        11
        arrow-down
        2
        ·
        3 days ago

        I know what JavaScript is.

        I’m saying any language could perform the same function.

        My issue is with the design of the language and its gargbage feature set.

        • moseschrute@lemmy.world
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          3 days ago

          What would you change about JavaScript? Like specific language features you don’t like. Not general statements.

          • Windex007@lemmy.world
            link
            fedilink
            arrow-up
            6
            ·
            edit-2
            3 days ago

            Types?

            Edit:

            For clarity, consider all the shit an actual real production scenario demands of layering on library after library and framework after fucking framework to make it usable.

            Nobody even USES “JavaScript”, they use like 7 layers to try and turn it into a production ready environment.

            Why.

            Because JavaScript sucks.

            Look at what they need to mimic a fraction of what other languages come with out of the box.

            • moseschrute@lemmy.world
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              2 days ago

              TypeScript solves most of your type issues. Zod gives you runtime enforcement of those types if you want, if you can stomach installing a library. But it’s true it’s not actually a statically typed language with built-in runtime enforcement of types. I hope in the next 5-10 years we see browsers that are able to run TypeScript with both runtime enforcement and performance benefits from using actual static typing. But IMO TypeScript is good enough solving most of the type problems with JavaScript.

              You’re welcome to use as many or as few libraries as you want. There are tons of JavaScript libraries, and some of those libraries have way too many dependencies. But if you cut through the noise, there are actually a lot of high-quality libraries that don’t have an absurd number of dependencies and bring a lot of value.

              JavaScript is by no means perfect, but I think it’s become trendy to hate on it. Every language has its issues. JavaScript has done an amazing job outgrowing many of its problems. Growth has brought new problems, but I’ve been writing JS/TypeScript for 10 years, and would not like to go back to JS 10 years ago. It kind of sucked compared to today.

            • moseschrute@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              2 days ago

              I’ve been writing JavaScript for 10 years, the majority of that professionally. I have a formal education in computer science. In college, I wrote Java, assembly, C, Python, Lisp, Prolog, and SQL. Outside of school, I’ve written Go, Rust, Ruby, and probably dabbled in a bunch of others.

              As someone that knows programming and that has learned JavaScript, I don’t get the sense that people here have actually given JavaScript a fair chance. Sure, it’s not without its issues, but why don’t you learn it and see?

              Voyager, which I believe is the most popular Lemmy iOS client, is written in JavaScript. It’s a fantastic app. There are a bunch of people that love hating on JS, but there are also a bunch of people that hate being locked into cloud services that can be shut down at any time. JavaScript allows you to build local-first apps that are less dependent on a server (obviously, backend is still a thing).

              • Valmond@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                2 days ago

                Learn C++ or a modern high level language (not Java). You seem stuck in the old stuff which might be why you don’t see the obvious flaws with js.

                That a nice program is written in a language says nothing positive about the language IMO. Everything was written in old clunky languages at a certain point.

                • moseschrute@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  2 days ago

                  Lol isn’t C++ insanely bloated? Surely there are more modern languages. Like Zig maybe?

                  Also I mentioned I’ve written Rust and Go, which are pretty modern. I’d be interested in learning Zig if I had more time. As for the other languages, CS programs just use older languages, but it was more about learning the concepts like data structures.

                  But it’s very much a right tool for the right job. JavaScript is a very good tool for front end development. C++ is a very good tool for writing a rendering pipeline or doing signal processing (I’m guessing idk I haven’t tried doing that stuff).

                  But my original read in this thread was “JavaScript sucks” not “JavaScript sucks when you use it for the wrong task”. It doesn’t suck, but I agree don’t use it for the wrong task.

                  • Valmond@lemmy.world
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    8 hours ago

                    Missed you’re still in school, which explains a couple of things.

                    Doing a little 100k lines soft is doable in any language, and you are right trying out lots of popular languages, there’s a high probability you’ll end up working with one of them.

                    Okay so why is javascript crap, and C/C++ not? Javascript is just a scriptung language, it’s made for a simple front end displaying simple things, sure you can make a software with it but the reason you should isn’t about the language or the “task” but 1) what tech choice some guy did 15 years ago and now you’re stuck with it, or 2) you know how to program in javascript. No sane person is doing a javascript program otherwise (except learning maybe) because, its, and it is even in the name, a scripting language. And a very poorly made too.

                    Which means you can’t do large software with it, and you’ll hit performance bottlenecks if you try. Also it will be an architectural nightmare.

                    C/C++ is lots. That’s probably why you think it’s bloated, you can do anything from assembler up to template metaprogramming, so yeah, a steep learning curve if you try to master even a subset. But classes and inheritance is something you should learn anyways so if you try, I’d advice you to start there. C/C++ is extremely fast, versatile and can handle extremely large projects, but it’s also complex, and will blow your stuff up if used badly, a glass vial of nitroglycerin of sorts. Modern C++ helps a lot with the dangers of classic C/C++.

                    The best language for the task (with the exception of 1) and 2) already mentioned) is probably between the two.

                    Cheers