Live data from Hacker News

Viewing profile — benno128

benno128

HN member
Joined
Sat, Jun 19, 2021, 11:25 PM UTC
HN karma
285
Public activity
65 items

About benno128

No profile information was provided.

Recent public activity

  1. story
  2. story
  3. comment
    Comment #44039392

    Yeah for sure: run it inside a virtual machine, or do some sort of docker magic. You kind of need to pretend you are a whole computer for a programming language to be happy. There'…

  4. comment
    Comment #44036422

    I've got one that uses WebAssembly to run Python, Ruby, C/C++, JS: https://runno.dev/articles/sandbox/

  5. story
  6. story
  7. comment
    Comment #43529115

    Thanks! Yeah I'm very aware of Pyodide and interested in adopting some of their techniques. A big difference between my approach and their approach is that Runno is generic across …

  8. comment
    Comment #43528671

    Working on Runno ( https://runno.dev/ ) as a side project. It's a tool for running code in the browser for educational use. [Edit]: I wrote a re-introduction to Runno: The WebCompo…

  9. comment
    Comment #43522738

    Sounds really interesting. Where can I try it out? I struggled to find a link in the article.

  10. story
  11. story
  12. story
  13. comment
    Comment #38863585

    Really impressed by the depth and breadth of this project, well done! A particularly interesting part is the socket layer inside the browser. Other people solving this problem have…

  14. comment
    Comment #38861466

    This is the use case I've been tackling with Runno ( https://runno.dev ), it's more performant than OP's approach but not as flexible.

  15. comment
    Comment #38861460

    There is support in Docker to run wasm-wasi binaries directly (see: https://wasmlabs.dev/articles/docker-without-containers/ ). The downside compared to OP's approach is that whate…

  16. comment
    Comment #37772511

    I'm working on this problem as well and would be happy to sling you some thoughts and notes. Check my website https://runno.dev and send an email to the address on that website!

  17. comment
    Comment #37303070

    Snapshot Preview 1 is the standard all tools are building to right now. The specification is available here: https://github.com/WebAssembly/WASI/blob/main/legacy/preview... It's pr…

  18. comment
    Comment #37292520

    Yeah of course! They've got STDIN/STDOUT/STDERR and I've built a Virtual Filesystem. But if you're using WASI binaries locally they don't have that restriction. You might be intere…

  19. comment
    Comment #37291835

    Thanks for the feedback! It’s also cost me about $15 so far. I don’t think I’ll do that again, but it was fun as a demo!

  20. comment
    Comment #37291826

    SPA sense. It’s cobbled together because I just have fun with it. Not sure why it’s temperamental, haven’t bothered investigating.

  21. comment
    Comment #37290972

    I wouldn't put it in prod, but it would be possible. You'd need a JS binding layer that dealt with the output and wrote it to the page, but it could be minimal. There are other pro…

  22. comment
    Comment #37289330

    Might be this particular build of Python, or might be that I implemented one of the `fd` functions in a way Python/SQlite is surprised by. I'll have a look into it some time!

  23. comment
    Comment #37289081

    Thanks! Yeah WebAssembly has an exciting future ahead of it.

  24. comment
    Comment #37289073

    Looking forward to it!

  25. comment
    Comment #37288995

    You just need to create the file first! >>> open("data.db", "w+").close() >>> db = sqlite3.connect("/data.db") >>> db