News for hackers. Stuff that matters.
Re:Show HN: Open-source web embeddable code runner by kiwicopple on Saturday November 20, 2021 @09:44PM (#29293735)
This is very cool - I’ve wanted to do something like this on our docs at supabase. I’ll give it a go!

I see that you did a lot of work to make it function on iOS. Is there a fallback mechanism for older browsers where this wouldn’t be supported?

Re:Show HN: Open-source web embeddable code runner by benno128 on Sunday November 21, 2021 @12:42AM (#29294457)
Yeah I love the use case of documentation! Right now Runno wouldn't be great for libraries (or web requests!) but it's definitely something I'd like to support.

I guess it would depend on the browser. There's two different fallbacks for the IO. So if the env doesn't support SharedArrayBuffer it will fallback to using a ServiceWorker hack. If that's not supported it will fallback to using an input prompt. But if the browser doesn't support WebAssembly there's no fallback mechanism.

PS: Thanks!