• 0 Posts
  • 34 Comments
Joined 2 years ago
cake
Cake day: June 22nd, 2023

help-circle






  • An fuck off with these dumbass, utterly vacuous Anti JavaScript rants.

    I’m getting so sick of people being like “I keep getting hurt by bullets, clearly it’s the steel industry that’s the problem”.

    Your issue isn’t with JavaScript it’s with advertising and data tracking and profit driven product managers and the things that force developers to focus on churning out bad UXs.

    I can build an insanely fast and performant blog with Gatsby or Next.js and have the full power of React to build a modern pleasant components hierarchy and also have it be entirely statically rendered and load instantly.

    And guess what, unlike the author apparently, I don’t find it a mystery. I understand every aspect of the stack I’m using and why each part is doing what . And unlike the author’s tech stack, I don’t need a constantly running server just to render my client’s application and provide basic interactivity on their $500 phone with a GPU more powerful than any that existed from 10 years ago.

    This article literally says absolutely nothing substantive. It just rants about how websites are less performant and react is complicated and ignore the reality that if every data tracking script happened backend instead, there would still be performance issues because they are there for the sole reason that those websites do not care to pay to fix them. Full stop. They could fix those performance issues now, while still including JavaScript and data tracking, but they don’t because they don’t care and never would.













  • masterspace@lemmy.catoProgrammer Humor@programming.devJavaScript
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    1 month ago

    This is a really good interview, and does a good job highlighting Javascript’s biggest strength: it’s flexibility.

    “It was also an incredible rush job, so there were mistakes in it. Something that I think is important about it is that I knew there would be mistakes, and there would be gaps, so I made it very malleable as a language.”

    He cites the “discovery” of asm.js inside of JavaScript, calling it “another thing I’m particularly proud of in the last 10 years.” It uses the bitwise operators that were included in the original JavaScript which are now the basis for a statically-typed language with machine types for high-speed performance. “If it hadn’t been in there from 1995, it would’ve been hard to add later. And the fact that it was there all along meant we could do incredibly fast JavaScript.”

    He tells InfoWorld it’s “this very potent seed that was in the original JavaScript from the 10 days of May in 1995.” JavaScript’s 32-bit math operators (known as bitwise operators) trace their lineage all the way back to the C programming language — and to Java. This eventually led to WebAssembly — a way to convert instructions into a quickly-executable binary format for virtual machines — and the realization that with a JavaScript engine, “you can have two languages — the old language I did with the curly braces and the functions and the shift operators, and this new language which is a binary language, not meant for reading by humans or writing. But it can be generated by compilers and tools, and can be read by tools…”


  • Undoubtedly, but we still chose to come to Lemmy because we visited it and saw a bunch of people that we mostly agreed with on it.

    Think about how many Lemmy users block hexbear or lemmy.ml, or would spit in disgust when they visit gab or voat or something.

    Users prune those sources because they aren’t interested in hearing wildly toxic fringe ideas (or flat out being propagandized to), but it’s still fundamentally up to you as a user to decide what you consider rationale and worthy of discussion, and then going forward the content you see on here is only what’s shared by very like minded individuals.

    Don’t get me wrong, I think that Reddit and other corporate owned social media intentionally promotes rage bait and other distressing content, both in comments and posts, and that drives people to go even more nuts and become more polarized compared to a non-engagement driven algorithm like Lemmy’s, but even open and decentralized social media platforms create filter bubbles and information silos.