• Ephera@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    30 days ago

    I mean, yeah, valid point. JVM languages also have GraalVM for that purpose.

    But I’m playing devil’s advocate here. 🙃

    Arguably these don’t count, because they’re not the normal way of using these languages. Reflection isn’t properly supported in them, for example, so you may not be able to use certain libraries that you’d normally use.

    These also still require a minimal runtime that’s baked into the binary, to handle garbage collection and such.
    Personally, I enjoy fully compiled languages, because they generally don’t lock you into an ecosystem, i.e. you can use them to create a library which can be called from virtually any programming language, via the C ABI.
    You cannot do that with a language that requires a (baked-in) runtime to run.

    But yeah, obviously someone just specifying “compiled” probably won’t have all these expectations…