News for hackers. Stuff that matters.
Re:The Bytecode Alliance: Building a secure, composable futu... by rb808 on Tuesday November 12, 2019 @04:36PM (#21518419)
Can you use wasm instead of regular js/html? I'm thinking for rich GUIs it would be great, even just for company internal sites. I can't find any good examples though.
Re:The Bytecode Alliance: Building a secure, composable futu... by code_code on Tuesday November 12, 2019 @05:15PM (#21518773)
I have a recent note that says (from HN id=21495338), try makepad.github.io/makepad . My recollection is that this is such an example.
Re:The Bytecode Alliance: Building a secure, composable futu... by rb808 on Tuesday November 12, 2019 @05:24PM (#21518867)
Nice! though confusingly its an editor that run JavaScript pages. https://makepad.github.io/makepad.html
Re:The Bytecode Alliance: Building a secure, composable futu... by tiborsaas on Tuesday November 12, 2019 @05:21PM (#21518832)
Yes, of course, you can draw anything on a regular HTML canvas and all you need is a thin layer of JS to do some interfacing.

However, I'd discourage you build complex GUI-s in WA. If you do that it means that you have to reimplement everything how the browser works and your end users are accustomed to.

Re:The Bytecode Alliance: Building a secure, composable futu... by jedisct1 on Tuesday November 12, 2019 @05:35PM (#21518964)
Check out Microsoft Blazor.
Re:The Bytecode Alliance: Building a secure, composable futu... by rb808 on Wednesday November 13, 2019 @10:04PM (#21532416)
Actually this looks great.
Re:The Bytecode Alliance: Building a secure, composable futu... by hellofunk on Tuesday November 12, 2019 @04:37PM (#21518434)
Rust has libraries for this.