Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 6 months agoJavaScriptsh.itjust.worksexternal-linkmessage-square85fedilinkarrow-up1756arrow-down128
arrow-up1728arrow-down1external-linkJavaScriptsh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 6 months agomessage-square85fedilink
minus-squareObstreperousCanadian@lemmy.calinkfedilinkEnglisharrow-up5·6 months agoIt’s in alpha, but there is a Kotlin to wasm compiler in the works.
minus-squareMaggiWuerze@feddit.delinkfedilinkarrow-up4·6 months agoDoes WASM do DOM manipulation nowadays?
minus-squareObstreperousCanadian@lemmy.calinkfedilinkEnglisharrow-up3·6 months agoDoesn’t look like it, unfortunately. But it’s planned. Kotlin can also compile to JavaScript with DOM manipulation. I’ve not tried either scenario, myself.
minus-squareMaggiWuerze@feddit.delinkfedilinkarrow-up2·6 months agoI can’t wait for the day I can use something like Kotlin to write Frontend code. Maybe there’ll be something like vue or react build on it
minus-squarerooroo@feddit.delinkfedilinkarrow-up1·6 months agoYou could use Java ages ago and it was, very rightly so, abandoned.
minus-squareMaggiWuerze@feddit.delinkfedilinkarrow-up1·6 months agoYou meanbJavaFX? Yeah the web version of it never was great
minus-squarerooroo@feddit.delinkfedilinkarrow-up1·6 months agoEven worse, I’m old enough to have used GWT at some point.
minus-squareCanadaPlus@lemmy.sdf.orglinkfedilinkarrow-up2·6 months agoKotlin -> JavaScript would work. I assume there must be a Python version of that as well.
minus-squareintensely_human@lemm.eelinkfedilinkarrow-up2arrow-down2·6 months agoJust use javascript and don’t try to add {} to [].
It’s in alpha, but there is a Kotlin to wasm compiler in the works.
Does WASM do DOM manipulation nowadays?
Doesn’t look like it, unfortunately. But it’s planned. Kotlin can also compile to JavaScript with DOM manipulation. I’ve not tried either scenario, myself.
I can’t wait for the day I can use something like Kotlin to write Frontend code. Maybe there’ll be something like vue or react build on it
You could use Java ages ago and it was, very rightly so, abandoned.
You meanbJavaFX? Yeah the web version of it never was great
Even worse, I’m old enough to have used GWT at some point.
shudder
Kotlin -> JavaScript would work. I assume there must be a Python version of that as well.
Just use javascript and don’t try to add {} to [].
Well, you never try to.