Live data from Hacker News

Extism makes WebAssembly easy

dylibso.com

41–50 of 100 posts

Re: Extism makes WebAssembly easy

#41
post #30
post #21

Earlier quoted context omitted.

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

1. Discord search is very poor 2. Discord will go away one day and so will all the accumulated knowledge 3. People who aren't directly looking for your project won't find it. It's will have no search footprint. You have to actively seek out the Discord to discover that that's activity there. "Most people" don't already have it. Only a fairly specific handful of demographics.

> "Most people" don't already have it. Only a fairly specific handful of demographics.

This just shows how in-a-bubble people can be. I'm trying to think of a single person outside of my hardcore gamer friends that I know who would have Discord - drawing a blank.

Re: Extism makes WebAssembly easy

#42
post #21
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.

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

The problem is that information in Discord is locked away and is completely inaccessible.

As an example. An Elixir library I'm using, Ash, had its support forum on Discord. Just recently they moved it to a proper forum. Here's the immediate result [1]:

--- start quote ---

Moving to ElixirForum just benefited me. I googled elixir ash registry to understand what it is and if I still need it (I ended up with it from an example somewhere). The top result was this excellent question and answer

--- end quote ---

A forum is always nicer, and is accessible to more people.

[1] https://elixirforum.com/t/ash-community-updates/58515/9

Re: Extism makes WebAssembly easy

#43
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.

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 for forums; it's a replacement for IRC.

Re: Extism makes WebAssembly easy

#44
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.

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

Re: Extism makes WebAssembly easy

#45
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.

Is there some service available for mirroring discord chats the web?

https://www.linen.dev/landing

Re: Extism makes WebAssembly easy

#46
post #7

This blog article is great, I had a hell of a time integrating Wasm into Ruby, so much so to the point that I gave up. I was absolutely going to call a function, pass it some HTML to parse (as a string), and return a number, but what I wound up doing is pass a directory with some HTML file in it, return a number as a string, and parse it. Because after struggling with wasmtime and wasmer until I could see it was not…

Great talk, thanks for sharing! Would love to hear if Extism allows you to accomplish this, and if not, what prevented you. We're always down to chat on Discord, but an issue on the Ruby SDK repo will do just fine as well - https://github.com/extism/ruby-sdk/

Re: Extism makes WebAssembly easy

#48

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…

Unfortunately, it tries to also be a replacement for forums, with the worst of both worlds (the lack of real time, AND the lack of discoverability).

Re: Extism makes WebAssembly easy

#49
post #31
post #23

The thing I want to achieve with WebAssembly is still proving a lot harder than I had anticipated. I want to be able to take strings of untrusted code provided by users and execute them in a safe sandbox. I have all sorts of things I want this for - think custom templates for a web application, custom workflow automation scripts (Zapier-style), running transformations against JSON data. When you're dealing with untru…

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!

Re: Extism makes WebAssembly easy

#50
post #26
post #23

The thing I want to achieve with WebAssembly is still proving a lot harder than I had anticipated. I want to be able to take strings of untrusted code provided by users and execute them in a safe sandbox. I have all sorts of things I want this for - think custom templates for a web application, custom workflow automation scripts (Zapier-style), running transformations against JSON data. When you're dealing with untru…

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.

Post reply on HN