onlinepersona@programming.dev to Programmer Humor@programming.devEnglish · 6 months ago"No way to prevent this" say users of only language where this regularly happens - 07/01/2024xeiaso.netexternal-linkmessage-square21fedilinkarrow-up158arrow-down115file-text
arrow-up143arrow-down1external-link"No way to prevent this" say users of only language where this regularly happens - 07/01/2024xeiaso.netonlinepersona@programming.dev to Programmer Humor@programming.devEnglish · 6 months agomessage-square21fedilinkfile-text
minus-squareechindod@programming.devlinkfedilinkarrow-up4·6 months agoOh gawd. That would be so horrible! Is there a project o compile JavaScript to bytecode? With like LLVM? There must be, but I haven’t heard of it. I shouldn’t even say anything because I will be better off pretending it doesn’t exist.
minus-squarecalcopiritus@lemmy.worldlinkfedilinkarrow-up1·6 months agoJust bundle a JavaScript interpreter with the JavaScript code. No need to compile JavaScript.
Oh gawd. That would be so horrible! Is there a project o compile JavaScript to bytecode? With like LLVM? There must be, but I haven’t heard of it. I shouldn’t even say anything because I will be better off pretending it doesn’t exist.
Just bundle a JavaScript interpreter with the JavaScript code. No need to compile JavaScript.