[Cialug] WASM
Adam Shannon
adam at ashannon.us
Mon Aug 31 18:50:27 UTC 2020
I've cross compiled Go->WASM to build developer tools that are single page sites. Think of a tool like this: https://mholt.github.io/json-to-go/
The benefit was to keep PII (personal info) off any server that's hosting this. It's all ran client-side in the browser.
Also we don't have to port library code to other languages.
If you're curious how I did it here's two links. I can help explain it in IRC.
build: https://github.com/moov-io/ach/blob/6522f423a516cb85bb61fa49711f08363933c13e/makefile#L13-L16
Go code / main(): https://github.com/moov-io/ach/tree/6522f423a516cb85bb61fa49711f08363933c13e/cmd/webui
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, August 31, 2020 11:26 AM, jim kraai <jimgkraai at gmail.com> wrote:
> need exponentially more obfuscation of what's going on on web sites you
> visit? ask 'em to use WASM!
> https://www.virusbulletin.com/virusbulletin/2018/10/dark-side-webassembly/
>
> need exponentially more difficulty debugging the web site you're
> developing? use WASM!
> https://thenewstack.io/the-pain-of-debugging-webassembly/
> https://www.virusbulletin.com/virusbulletin/2018/10/dark-side-webassembly/
>
> this class of things might be a small help
> https://v8.dev/blog/wasm-decompile
>
> it's just another grand canyon in the web security game of whack-a-mole, i
> suppose
>
> /me ain't gonna touch that raw looking "real" languages nerve
>
> -jim
>
> On Mon, Aug 31, 2020 at 7:43 AM L. V. Lammert lvl at omnitec.net wrote:
>
> > On Sun, 30 Aug 2020, Andrew Denner wrote:
> >
> > > Sorry, I am not following? Which thread are you talking about?
> >
> > Noticed it from Jeff in the FF80/eBay thread, ..
> > =====================
> > Just wait until WASM really takes off. I'm not really a web developer, but
> > I've been itching to try compiling Go into WASM and playing around with
> > that. One of the many things that's held up my web development is
> > JavaScript. I just can't stand it. Makes my skin crawl. Now that WASM is
> > here and I can do web stuff in a "real" language I'll have to give it a
> > try. So many things though that I want to get to first.
> > Jeff
> > ================
> > "WebAssembly (abbreviated Wasm) is a binary instruction format for a
> > stack-based virtual machine. Wasm is designed as a portable compilation
> > target for programming languages..."
> >
> > Cialug mailing list
> > Cialug at cialug.org
> > https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
>
> Cialug mailing list
> Cialug at cialug.org
> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
More information about the Cialug
mailing list