13

I can't stand this JS is sooo fast bullshit anymore. You just suck at coding if your code with the most other languages is significantly slower.

Comments
  • 0
    True, haha. Yesterday, tried out electron it was so slow...
  • 1
    Well, I work with multiple languages and It is pretty fast... In my experience at least 😓
  • 0
    @linuxxx yeah, but if you compare that too c++ or c for example. It is much slower ofcourse.
  • 1
    @Jifuna Nope. In my experience it can even be faster sometimes (yes, I've worked with both)
  • 0
    @linuxxx oh, hmm didn't know that.
  • 0
    @Jifuna literally just ran a lot of benchmarks and compared (like create two things that do the same and compare the time)
  • 0
    @linuxxx okay, and what was the difference? I'm curious.
  • 0
    Ouch. Faster than the language the interpreter is written in?
    Ahm ... Nop.
  • 1
    Nobody says JS can't be fast under certain circumstances.
    But especially if you say something like C is slower u just don't use C to it's full extend and just made a benchmark which is nice to JS.
  • 1
    @Jifuna Can't recall much but it took JavaScript about 200ms and c++ like 400ms
  • 0
    It's not about being faster than C++ or something, but it's impressive how fast it is running for an interpreted language. Which begs the question - in which browser. Which is actually similar (but not the same as) how a different compiler makes a difference to your compiled code if there's multiple compilers for that language.
    So yeah, a language doesn't necessarily have "speed", it's more about how the available compilers/interpreters run with the language possibly being a bottleneck if you can't split the language commands into smaller chunks of machine code.
Add Comment