so, i ported #GlasgowInterfaceExplorer to webusb
Conversation
Notices
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Friday, 18-Jul-2025 05:37:35 JST
✧✦Catherine✦✧
-
Embed this notice
John Kapri (johnkapri@mastodon.social)'s status on Friday, 18-Jul-2025 05:45:43 JST
John Kapri
@whitequark That's cool as heck?? I'd really want one, but I don't have an immediate need for it and I definitely don't have the money right now, but it is on my wishlist! You're building such a cool project...
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Friday, 18-Jul-2025 05:45:47 JST
✧✦Catherine✦✧
this is the culmination of my effort to cross-compile literally every fpga-related tool to webusb, i think
the code isn't... great, mostly because a bunch of things i never intended to be async had to become async. so i'll have to refactor it first
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Friday, 18-Jul-2025 05:46:22 JST
✧✦Catherine✦✧
@johnkapri thanks ^^
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Friday, 18-Jul-2025 06:08:51 JST
✧✦Catherine✦✧
i get about 60% of the native performance in a simple benchmark
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Friday, 18-Jul-2025 07:25:24 JST
✧✦Catherine✦✧
@equinox yeah
i have no idea why it's slow. maybe chromium doesn't queue enough in-flight requests or something. it's hard to debug this stuff
-
Embed this notice
equinox (equinox@chaos.social)'s status on Friday, 18-Jul-2025 07:25:25 JST
equinox
@whitequark for the USB bits specifically? I would've hoped USB were the bottleneck there, is it just increased request-response-repeat time/latency?
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Friday, 18-Jul-2025 07:30:43 JST
✧✦Catherine✦✧
@equinox yes but what i mean more specifically here is that everything is wrapped in a layer of webkit. which i don't appreciate
-
Embed this notice
equinox (equinox@chaos.social)'s status on Friday, 18-Jul-2025 07:30:45 JST
equinox
@whitequark +9000 on "hard to debug this stuff", I've got a bunch of painful memories debugging around the URB layer & particularly when exactly what happens and why 😬
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Friday, 18-Jul-2025 07:34:42 JST
✧✦Catherine✦✧
@equinox it's basically libusb with a few things renamed, but the problem is that... ok, consider this
if my native application breaks while doing syscalls, i run strace
if it's slow i run perfnow image running that on a browser tab.
-
Embed this notice
equinox (equinox@chaos.social)'s status on Friday, 18-Jul-2025 07:34:43 JST
equinox
@whitequark ah. Huh. I would've expected *that* interface to not be all that different from what libusb does. Never looked at it, Firefox user 😅
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Friday, 18-Jul-2025 07:37:28 JST
✧✦Catherine✦✧
@equinox thanks ^^
-
Embed this notice
equinox (equinox@chaos.social)'s status on Friday, 18-Jul-2025 07:37:29 JST
equinox
@whitequark right. Ugh. I've used JS level perf tools before, but no clue about somehow getting useful perf (or trace) out of wasm…
Anyway I shall stop wasting your time, happy hacking & appreciate a whole bunch of your stuff! 😊
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Friday, 18-Jul-2025 09:55:06 JST
✧✦Catherine✦✧
here's the pull request with webusb bits that i cleaned up so that they're not awful https://github.com/GlasgowEmbedded/glasgow/pull/958
there are also toolchain bits. the toolchain bits are awful. i am too ashamed to post them
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Friday, 18-Jul-2025 09:55:25 JST
✧✦Catherine✦✧
@jhwgh1968 also the latency is 10x worse lol
400us->4000us
dunno why
-
Embed this notice
J. "Henry" Waugh (jhwgh1968@chaos.social)'s status on Friday, 18-Jul-2025 09:55:27 JST
J. "Henry" Waugh
@whitequark for completely untuned/unoptimized? That is totally solid in my book
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Friday, 18-Jul-2025 11:47:14 JST
✧✦Catherine✦✧
how cool is this?
-
Embed this notice
dram🎀 (dramforever@mastodon.social)'s status on Friday, 18-Jul-2025 12:37:09 JST
dram🎀
@whitequark does this mean i can comfortably-ish use glasgow on my phone :3
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Saturday, 19-Jul-2025 00:56:16 JST
✧✦Catherine✦✧
@dramforever not quite yet
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Sunday, 20-Jul-2025 04:13:45 JST
✧✦Catherine✦✧
@twosky2000 @dramforever if it's chrome or edge yes
-
Embed this notice
twosky2000 (twosky2000@mastodon.social)'s status on Sunday, 20-Jul-2025 04:13:47 JST
twosky2000
@dramforever @whitequark does the phone support WebUSB by the default browser?
I just go in to apocalypse theory tinkering, likely it will be fine(🔥).
-
Embed this notice