7 ms·
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 - Providin
by angelmm 4y ago
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 https://github.com/copy/v86
- MuffinFlavored 4y agoCould I hypothetically pass USB through to v86? Like libusb on the host into v86 on the guest? Or do USB over IP or something?
- simcop2387 4y agoChrome supports a USB api that could potentially work for that, https://developer.chrome.com/docs/extensions/reference/usb/ 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).
- rjh29 4y ago> This API is part of the deprecated Chrome Apps platform. Learn more about migrating your app. Classic Google...
- lights0123 4y agoThat's the old one. https://web.dev/usb/ https://web.dev/usb/ is the supported one.
- MuffinFlavored 4y agoWhat about this: https://wicg.github.io/webusb/ https://wicg.github.io/webusb/
- OJFord 4y agoIsn'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'?
- burggraf 4y agoI'm curious -- what's the intended use case for this? This is something we could try to add if gives some cool new functionality.
- MuffinFlavored 4y agopassing devices through to do libusb stuff with them (like OBD diagnostics on cars)
- burggraf 4y agoOh, so it's not related to PostgreSQL. I'm super interested in new and different uses for WASM. This could open some new doors.
- MuffinFlavored 4y agoCould you tell me at a high level how you would implement in your mind/opinion passing USB devices through v86/WebUSB/libusb?