Hacker News new | past | comments | ask | show | jobs | submit login

One of the things I love from this post is the collaboration on this kind of OSS projects.

Making Postgres Wasm helped:

- v86[0] to find a new bug

- Providing a great deep-dive article that will trigger new ideas in the future

- Showcase the possibilities of Wasm and how you can overcome the current challenges

I really appreciate these projects are OSS :)

Congratulations for the project!

[0] https://github.com/copy/v86




Could I hypothetically pass USB through to v86? Like libusb on the host into v86 on the guest? Or do USB over IP or something?


Chrome supports a USB api that could potentially work for that, https://developer.chrome.com/docs/extensions/reference/usb/

sadly though it's chrome only, not a standard of any kind (no other browsers support it that I know of). ESPHome can use it to program microcontrollers (along with the serial port support).


Isn't that because it was explicitly rejected on grounds of security & privacy concerns, rather than 'oh if only others would be up with Google on implementing new features'?



> This API is part of the deprecated Chrome Apps platform. Learn more about migrating your app.

Classic Google...


That's the old one. https://web.dev/usb/ is the supported one.


I'm curious -- what's the intended use case for this? This is something we could try to add if gives some cool new functionality.


passing devices through to do libusb stuff with them (like OBD diagnostics on cars)


Oh, so it's not related to PostgreSQL. I'm super interested in new and different uses for WASM. This could open some new doors.


Could you tell me at a high level how you would implement in your mind/opinion passing USB devices through v86/WebUSB/libusb?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: