Email or username:

Password:

Forgot your password?
Top-level
Jeff KC1PYT

@mjgardner @Perl @shiar Honestly, I think the thing that works against #Perl and #Raku the most is that they don't work natively in the browser or on mobile.

I love both languages and want to see them prosper.

6 comments
Jeff KC1PYT

@mjgardner @Perl @shiar Yes, *eventually* I expect just about everything to get ported to it. Correct me if I'm wrong, but the hold up is there is no generalized mechanism to access the DOM from WASM, right?

So stuff has to run WASM, then spawn JS (expensive) and then make API calls to JS to interact with the DOM. Stop me if I'm wrong.

Mark Gardner

@KC1PYT @Perl @shiar I don’t have any direct #Wasm experience so I can't confirm or deny without doing the same research as anyone else. Maybe somebody receiving these group messages can opine.

gram

@mjgardner @KC1PYT @Perl @shiar

Without reading the whole thread, yes, any calls from wasm to WebAPI have to go through the host environment (JS). It's not too slow in practice but could be much better considering that wasm is generally faster than JS.

Also, you'll need to provide a small JS bridge, like what Go has:
github.com/golang/go/blob/mast

Jeff KC1PYT

@mjgardner @Perl @shiar That project seems semi-stale. There aren't any recent commits though there are decently recent comments in the few issues that are opened.

Mark Gardner

@KC1PYT @Perl @shiar “Recent” is in the eye of the beholder. I haven’t personally used #WebPerl, but it appears to be based on a slight fork of #Perl v5.30 from 2019: github.com/Perl/perl5/compare/

As with anything, it needs someone with an itch to scratch and enough skills and tuits. The primary author is employed doing #Python now, so it's a fine time to pick it up unimpeded.

Go Up