Squidward Tentacles meme format. Top panel shows Squidward looking happy while setting up a beach chair, with the text 'WANT TO CONTRIBUTE TO AN OPEN SOURCE PROJECT I USE AND APPRECIATE'. Bottom panel shows Squidward looking sad and disappointed, folding up the chair and going back inside a building, with the text 'WRITTEN IN JS'.
you are viewing a single comment's thread
view the rest of the comments
[–] 27 points 11 months ago (2 children)

JavaScript really depends on the people writing it restricting themselves to a sane (ish) subset, just like C++

My personal gripe with JavaScript is how horribly slow it is. C++ at least has the merit of being fast once compiled. I wouldn't feel great contributing to a JS project knowing fully well that a rewrite in a faster language would be 10x as effective as anything I could improve as is.

  • source
  • hideshow 2 child comments
  • [–] 1 point 11 months ago (1 child)

    That’s funny because I - having not written much C++ - have an irrational hate of the language. But I like JavaScript. I think I need to look at C++ through the same lens I look at JS through.

    Imo you can write pretty performant websites in JS. I guess it depends what you’re doing, but e.g. if you pay attention to you’re rerenders in React, you’re gonna have a much better time.

    But I also totally understand as soon as you wanna do some compex stuff, JavaScript is not a good time. I don’t think webassembly has worked as smoothly as promised, but in theory, that should let you bring some C++ into the browser.

  • source
  • parent
  • hideshow 1 child comment