When will we be able to use any programming language in the web?

  • xigoi@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    9 days ago

    JavaScript is slow if you need to do things that JavaScript can’t do, such as

    • lots of stack-allocated objects/arrays (in JavaScript you have to heap-allocate them)
    • hash maps with non-primitive types as keys (in JavaScript you have to serialize them to a string)
    • count trailing zero bits (in JavaScript you have to use a lookup table)