>year 2022. >javascript runtime runs faster than jvm

>year 2022
>javascript runtime runs faster than jvm
i just started learning javascript.

Ape Out Shirt $21.68

Black Rifle Cuck Company, Conservative Humor Shirt $21.68

Ape Out Shirt $21.68

  1. 2 years ago
    Anonymous

    it's not compatible with Node.js
    it's DOA

    • 2 years ago
      Anonymous

      >Bun natively implements hundreds of Node.js and Web APIs, including ~90% of Node-API functions (native modules), fs, path, Buffer and more.
      anon?

      • 2 years ago
        Anonymous

        90% is not 100% and also those 90% are for sure full of bugs
        no on will use it for serious

        • 2 years ago
          Anonymous

          post nose

          • 2 years ago
            Anonymous

            nose

          • 2 years ago
            Anonymous

            The nose knows

          • 2 years ago
            Anonymous

            He nose

    • 2 years ago
      Anonymous

      it's not? the website and videos on it said it is. here i was planning on trying out Fresh + Deno. if Bun has a better ecosystem than Deno then it's pretty clear who's going to win in the runtime rat race.

      • 2 years ago
        Anonymous

        i literally installed deno last night to try out fresh then deleted it once i saw bun's announcement. looks like bun doesn't have an edge service for it like deno does but since it's supposed to be node compatible i can just start using node then transition over once it matures.

        • 2 years ago
          Anonymous

          deno's incompatibility with node packages seems like an oversight. did they really expect people to drop everything and start supporting yet another ecosystem? sure it might allow new devs to get their foot in early in the package ecosystem but their adoption is going to take a massive hit. have you tried out Bun yet?

          • 2 years ago
            Anonymous

            >have you tried out Bun yet?
            no. and after looking at the github issues page, i probably won't try it out for a few months.

          • 2 years ago
            Anonymous

            >deno's incompatibility with node packages seems like an oversight
            guess figured out themselves since nowadays deno has node compatible mode

      • 2 years ago
        Anonymous

        its leeching off node ecosystem otherwise it wouldn't be a thing

  2. 2 years ago
    Anonymous

    THERES SO MANY FRICKING FRAMEWORKS IM FRICKING DONE

    I THOUGHT AT LEAST NODE WAS THE FOUNDATION THERE'S NO WAY THEY'LL COME UP WITH ALTERNATIVES TO NODE RIGHT? OH NO WAIT DAHL HAS TO GO AND MAKE ANOTHER NODE BECAUSE HE DIDNT GET IT RIGHT THE FIRST TIME

    ON THE LAST DAY OF CHRISTMAS YOU FRICKTARDS GAVE TO ME
    TWELVE PACKAGE MANAGERS
    ELEVEN BUILD MANAGERS
    TEN BOOTSTRAPPERS
    NINE SCAFFOLDERS
    EIGHT TASKRUNNERS
    SEVEN TRANSPILERS
    SIX POLYFILLERS
    FIVE CONTAINER MANAGERS
    FOUR STATE MANAGERS
    THREE REACT ROUTERS
    TWO JS EXTENSIONS
    AND ONE BIG FRICK YOU IM OUT OF HERE

    • 2 years ago
      Anonymous

      it was always a only a matter of time. at the start there were only a few programming languages and look at where we are now.

      • 2 years ago
        Anonymous

        No other ecosystem has a market place where at each junction you have half a dozen alternatives. Just give me a canonical set of tools I can invest in PLEASE.

        >2018 you gotta use gulp and grunt and then pipe it to gobble and gobby goober
        >2022 nah you should just use webpack

        • 2 years ago
          Anonymous

          > frontend sufferings
          your-tears.jpg

          • 2 years ago
            Anonymous

            I want to crowdsource processing to the end user.

        • 2 years ago
          SAGE

          Uhm, sweaty, Webpack is deprecated, we use Vite now.

          • 2 years ago
            Anonymous

            They should just let people use import on require on the browser

        • 2 years ago
          Anonymous

          just ignore the homosexualry and use "no framework" JS. It's not even that bad, outside of how utter shit JS is as a whole. Generators let you build all your gay reactive elements and everything easily too.

    • 2 years ago
      Anonymous

      Kek. The hymn of the buttblasted webdev. Bravo anon!

    • 2 years ago
      Anonymous
    • 2 years ago
      Anonymous

      Best post on IQfy this entire month. Sometimes, this board is alright.

    • 2 years ago
      Anonymous

      tears. Chills even

    • 2 years ago
      Anonymous

      Sung to the tune of there ain’t no bugs on me

  3. 2 years ago
    Anonymous

    Is a build system that reuses Node's runtime not a whole thing from scratch. Shouldn't be that fast.

  4. 2 years ago
    Anonymous

    >bun embeds JavaScriptCore, which tends to be faster and more memory efficient than more popular engines like V8
    I am having a hard time believing this.

    • 2 years ago
      Anonymous

      V8 uses something called Isolates to lock the entire virtual machine during code execution on any thread. This essentially means that there is no way for multiple threads to concurrently call into a JavaScript context with V8.
      JavaScriptCore locks specific contexts on the other hand (where a context is a part of the virtual machine, and consists of a stack pointer and packaged closure variables). If two contexts don’t share a closure, they can both run in parallel with no contention on different threads.
      In the case where two contexts share a global/closure variable, one will acquire the lock and the other thread will have to wait, thus introducing atomic behavior.
      So, to sumarize: V8 is simply not capable of supporting shared mutable state with its current approach and design philosophy. It would have to be rewritten from scratch to support such a use case. JavaScriptCore’s design provides a granular approach when it comes to concurrent locking.

      • 2 years ago
        Anonymous

        So is JSCore only faster when doing concurrent operations or are there other certain optimizations that also make it faster than V8 when just doing normal operations?

  5. 2 years ago
    Anonymous

    >nodelets btfo
    >nodelets found shitting and crying
    Zigchads can't stop winning

    • 2 years ago
      Anonymous

      the best part?
      Bun is written in Zig
      Faster than V8 therefore Zig got good ads

      >zig
      this is considered idiomatic in zig

      • 2 years ago
        Anonymous

        Looks better than Rust

  6. 2 years ago
    Anonymous

    > Who cares?
    Javascript is a shit language. Typescript is 100% a shittier language built on top of a shit language.

    Java is a dead, gay pajeet language that runs the most dead apps in the business sector, attracting Raj and Sanjay.

    but Javascript takes the cake for being an absolutely horrendous maintenence nightmare, lack of compiler oversight, buggy, slow, piece of absolute garbage.

    Javascript is a disgrace to programming and the whole field of computing. It needs to die.

    Go do your website bullshit. Meanwhile my shitty C# app, which is very nicely compiled, and has no string constants whatsoever, no eval(), and is methodologically solid, is cranking out hundreds of thousands of dollars in revenue every hour.

    It never crashes, or has a single bug at all, because the beauty of the strongly typed language standard, and *cough cough* compiler.

    • 2 years ago
      Anonymous

      post github link for your project.

    • 2 years ago
      Anonymous

      It was over when people thought that websites should be functional applications and not just libraries for information.

    • 2 years ago
      Anonymous

      Fricking based. JS devs need to fricking kill themselves for the amount of pure dogshit they've unleashed on the world.

      • 2 years ago
        Anonymous

        Except that moron is wrong.
        I would use a shitty FOSS language over a well made and corporate financed one any day.

        • 2 years ago
          Anonymous

          Except Javascript is both things, a shitty AND a corporate financed language. Inf' fact the fact is backed with billions and thousands of man hours is the only merit it has.

          • 2 years ago
            Anonymous

            >when you use javascript the whole world works for you
            yes

    • 2 years ago
      Anonymous

      Purescript exists

      • 2 years ago
        Anonymous

        >another compile to js language
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

    • 2 years ago
      Anonymous

      >Javascript is a disgrace to programming and the whole field of computing. It needs to die.
      python is worse honestly... but ya it's bad.

  7. 2 years ago
    Anonymous

    the best part?
    Bun is written in Zig
    Faster than V8 therefore Zig got good ads

  8. 2 years ago
    Anonymous

    redpill me on serverside rendering
    why would i want to use my servers processing power when i can outsource it to the user?

    • 2 years ago
      Anonymous

      because the client is useless and easily manipulated

      • 2 years ago
        Anonymous

        so?

        • 2 years ago
          Anonymous

          Just use wasm lmao

          why are brainlets like this? go back to shitposting about video games or whatever you used to

          • 2 years ago
            Anonymous

            >jskiddie thinks anyone wants to steal his uber GUI code

            kys

      • 2 years ago
        Anonymous

        Just use wasm lmao

    • 2 years ago
      Anonymous

      It's better when you're serving static content. nobody wants to see a page dynamically loading some blog article. it also has the benefit of being easier to be cached with a CDN. if you're using it right, your static content should not put much burden on the server at all. and if you care, better SEO.

      also if you want edge computing, then server side processing makes sense. these fast javascript runtimes are actually optimized for edge compute.

    • 2 years ago
      Anonymous

      >cache renderings
      >better seo/crawlability
      >faster response time, not killing user battery

    • 2 years ago
      Anonymous

      Some modern web pages are such a clusterfrick that anything lower than a modern i7 makes will render slower.

    • 2 years ago
      Anonymous

      Because of consistent loading speeds

      • 2 years ago
        Anonymous

        if some third worlder with a wooden pc and dial up internet gets a slow loading time that's his problem not mine

  9. 2 years ago
    Anonymous

    With JS being so much simpler than Java, I would believe that it is can be optimized more easily

  10. 2 years ago
    Anonymous

    what exactly is server side rendering? im not a webdev but i¨ve head the term used quite a bit

    i presume its not actually rendering the website on the server side and sending back an imagine like it sounds like...so what is it exactly?

    • 2 years ago
      Anonymous

      it's basically how IQfy works. you make a request. server builds the html and sends the html to the client with minimal javascript. the client barely does any work.

      client side rendering is when the server spits out data to the client and the majority of the work is done by the client to render the html and form the page.

      they both have pros and cons.

      • 2 years ago
        Anonymous

        >you make a request. server builds the html and sends the html to the client
        so...basically how any non-static site have always worked? like...php, etc? why is it being hyped up as if its some kind of new technology?

        • 2 years ago
          Anonymous

          this is basically what web devs do. Reinvent the wheel under a different name every 5 or so years.
          See: https://www.youtube.com/watch?v=UBUNrFtufWo
          these two things are essentially the exact same fricking thing yet webdevs INSIST that because one stores the token in javascript, and the other in a session cookie its an entirely different concept. Its fricking not. This is literally the same story for 99% of new innovations in the field of web dev in the last ~10 years. This is why i despise & have no respect for webdevs. There are a couple of good ones, but my god they're hidden in a sea of morons & bullshit.

        • 2 years ago
          Anonymous

          kind of, yes. but some things are different still. one of the reasons server side rendering has become popular again in recent years is because how fast javascript runtimes have become. There are services that run these javascript runtimes for you in every region of the world in many datacenters. We call these edge services. All you need to do is upload your javascript code, and it literally runs everywhere with low latency. You never have to maintain a server. Companies like cloudflare, vercel, deno, netlify, etc. all provide these edge services. so javascript is once again moving away from the client to the server side.

          i think wasm will take javascript's place on the edge. no idea when that's actually going to happen tho.

        • 2 years ago
          Anonymous

          Mostly because of how loading speeds now affects our page ranking on search engines.
          It's not only for UX like some here suggest, good SEO actually helps to decrease expenses for paid advertisement.

          • 2 years ago
            Anonymous

            hmm, another reason why useless bloated WebView apps became a thing.

        • 2 years ago
          Anonymous

          This. It's how all php sites worked 10-20 years ago. It's not special.

        • 2 years ago
          Anonymous

          because web devs are morons

        • 2 years ago
          Anonymous

          This time they're doing clever stuff like delivering html diffs via webscoket and update the client html without refreshing the page.
          It's cute but ultimately they're gonna end up rediscovering state management hell and push the work to client side again.
          Time is a fat circle.

  11. 2 years ago
    Anonymous

    >filled with bugs
    >doesn't work on windows

    Yeah it's shit. Also even if the above was fixed, it still doesn't fix the main issues with JS runtimes:

    >no true multithreading
    >the only typed language option (Typescript) actively refuses to implement many necessary language features

    • 2 years ago
      Anonymous

      >the only typed language option (Typescript) actively refuses to implement many necessary language features
      Which features? I’m curious.

  12. 2 years ago
    Anonymous

    >v0.1.0
    How many exploits?

  13. 2 years ago
    Anonymous

    javascript is the natural spiritual successor of Lisp. I don't get why it gets all that hate here.

    >But it was a couple of not straight intuitive behaviors
    stop being a brainlet

    • 2 years ago
      Anonymous

      Javascript has nothing substantial to do with Scheme nowadays, is just just happen to have some functional features as the worst middle point between stacking a crap ton of features and having an inconsistent and anemic language at the same time. Is the proof that you only need a name and marketing to get funding.

  14. 2 years ago
    Anonymous

    Why so much panicking lol, at least bother to read the webpage

  15. 2 years ago
    Anonymous

    Seems neat, but definitely not ready for production use yet. I'll check on it again in a year or so.

Your email address will not be published. Required fields are marked *