• Azzu@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 day ago

    What if the system does not have libc? What if your program needs obscure library X?

    Why do you think anyone even came up with the idea of virtual machines? Don’t you think they had a problem they wanted to solve, that was not solved adequately before?

      • Azzu@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        5 hours ago

        Maybe you should. Android for example does not use glibc and instead uses “Bionic” by default, which only implements a subset of libc.

        It is possible to write a C program that runs on one system but not on another. You can’t do that with node, if it runs on the VM and the VM runs in another place, your program will also run there.