Live data from Hacker News

Extism makes WebAssembly easy

dylibso.com

51–60 of 100 posts

Re: Extism makes WebAssembly easy

#51
post #4

Another open Source project locking their community discussions away on Discord where it can't be easily discovered or searched. At least consider mirroring to the web - or at this stage inform people you will one day make posts available on the open web. Acquiring that consent afterwards is painful.

I've been wanting a bot that would scrape discord conversations into a database and then render them as HTML to be served statically, bash.org-style.

Re: Extism makes WebAssembly easy

#52

Earlier quoted context omitted.

I really miss forums tbh, what happened to them? It feels like Discord has replaced the good old forum but it's worse in so many ways.

Most forums were awful phpbb nonsense where it was impossible to find the information you wanted. Search always required logging in and the only interface for very long threads was paging through them 10 badly laid out posts at a time. No thank you. Of course modern forums are better. Disqus is ok, and D's forum software is arguably the best thing to come out of the D project. In any case Discord is not a replacement…

None of the phpBB-like forums that I am aware of (phpBB, SMF, vbulletin) require login to search.

Re: Extism makes WebAssembly easy

#53
post #38

Earlier quoted context omitted.

Indeed, webassembly is moving extremely slowly. I started a project years ago expecting https://github.com/WebAssembly/memory-control/blob/main/prop... and https://github.com/WebAssembly/memory64 to be fixed at some point. Neither are yet, and the project still suffers from it to this day. I think wasm is still great without these fixes, but I have lost confidence in the idea that wasm will reach its full potential a…

Eventually people will realise its potential is being yet another bytecode format, with VC trying to capitalise products on top of it.

Assembly is not bytecode! V8 already has bytecode for the web. WASM is meant to run faster and more efficient computations.

Re: Extism makes WebAssembly easy

#55
post #4

Another open Source project locking their community discussions away on Discord where it can't be easily discovered or searched. At least consider mirroring to the web - or at this stage inform people you will one day make posts available on the open web. Acquiring that consent afterwards is painful.

I really miss forums tbh, what happened to them? It feels like Discord has replaced the good old forum but it's worse in so many ways.

> I really miss forums tbh, what happened to them?

Spammers and similar bad actors. :(

Re: Extism makes WebAssembly easy

#56
post #44

Earlier quoted context omitted.

hear ya loud and clear -- and we use multiple forms of communication.. GitHub issues and discussions are actively suggested when we find that a conversation is turning into something that would benefit others and move from Discord. Discord is really advantageous for us to have real-time conversations with people though.

Note to other maintainers: GitHub does have a nice Q+A feature. Use that, not Discord! https://github.com/features/discussions

Not really a real-time chat replacement thing, so it's not a suitable replacement.

Re: Extism makes WebAssembly easy

#57
post #22
post #21

Earlier quoted context omitted.

Iis there any problem with that? Discord is nice to use, free and most people already have it.

can't view without a phone number at times

Discord doesn't seem to need a phone number.

Are you thinking of Telegram, which does?

Re: Extism makes WebAssembly easy

#58
post #50
post #26

Earlier quoted context omitted.

To run a JavaScript interpreter (spidermonkey, in this case) in Wasm, as well as running that same wasm in a JS engine, you want to look at `jco` https://github.com/bytecodealliance/jco The component model tooling is getting very close to maturity and will solve many of these problems.

That's really useful. This page in particular: https://github.com/bytecodealliance/jco/blob/main/EXAMPLE.md Being able to run "jco wit cowsay.wasm" to see what interfaces that .wasm file provides solves a problem I've run into a bunch of times in the past.

you should also check out modsurfer[0]

"modsurfer generate -p cowsay.wasm -o mod.yaml"

Especially for non-component core modules that wont have wit definitions

[0]: https://github.com/dylibso/modsurfer

Re: Extism makes WebAssembly easy

#59
post #49
post #31

Earlier quoted context omitted.

Hey Simon, I've done some similar experimentation using Extism to sandbox LLM generated code. This uses our JavaScript PDK (which uses quickjs) and can be embedded in any host language we support https://extism.org/blog/sandboxing-llm-generated-code I'm also working on a Python-PDK right now and hope to have a beta ready in the next month. That would allow us to do something similar with python.

Sandboxing code generated by LLMs is another of my use-cases for this, that's a fantastic link, thanks!

I think I referenced one of your blog post in that article too. So thank you!

Re: Extism makes WebAssembly easy

#60
post #38

Earlier quoted context omitted.

Eventually people will realise its potential is being yet another bytecode format, with VC trying to capitalise products on top of it.

Assembly is not bytecode! V8 already has bytecode for the web. WASM is meant to run faster and more efficient computations.

Dude first learn what you are talking about.

> 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, enabling deployment on the web for client and server applications.

https://webassembly.org/

Post reply on HN