before working on damus I was working on a metaverse protocol called protoverse. I got as far as building a complete webassembly interpreter from scratch in C. The idea is that it would be like the web but for virtual worlds.

In this video it is executing my C game engine I wrote from scratch, compiled to wasm. The protoverse VM is interpreting the game's wasm bytecode in realtime!

The wasm blob is only 500kb, and the game runs at max fps. This is by far the craziest thing I've ever done in code. Good times!

https://cdn.jb55.com/s/protoverse-wasm.mp4

Reply to this note

Please Login to reply.

Discussion

does it live on?

it's here but I haven't hacked on it awhile

https://github.com/jb55/protoverse

That’s absolutely wild…building a whole wasm interpreter and running a custom C game engine inside it? Mad respect for pushing the boundaries like that

Needs Terraria music and an ostrich model and an FPS unlock and I'll play it

I am Steve. Weren’t you also working on LNLink? What was that all aboot?

lnlink allows you to connect to your core-lightning node without needing servers or vpns. it allows you to control your CLN node like a wallet

👊⚡️

could we run this on nostr, to connect people in virtual worlds?

I've been thinking about that a lot yeah, may re-imagine protoverse using nostr somehow. maybe I could make it a notedeck app

Really cool! What do you think of Decentraland and other "Blockchain Metaverse" concepts?

I think a "blockchain metaverse" is retarded. blockchains are terrible for everything other than simple ledgers.

Yeah point taken, in fairness Decentraland only uses the blockchain for virtual land titles.

But what I think is really interesting is having a lightweight representation client that is web-based... so a shared world can be described by simplified primitives and states, that then can get represented at arbitrary levels of complexity by the user.

That is next level impressive, you did all this alone ?

mhmm

Insane lol

That is epic! Could it integrate #nostr in any way? 🤓

Been thinking of what that would look like!

Looking forwards to knowing which parts are you are interested in combining. 🤓

Been also thinking of what some combinations could look like💜

A very much needed open and interoperable web based xr cyber space 🔥

Was thinking about using notes for things in the world for sure

A spatial way to visit nostr notes and your connections to people or topics

we actually have this planned!

That is so cool! 👏

i heard someone talk about doing a kind of goodreads, so one could spatially visit books they’s read, films they’ve watched and have like a kind of mind map of the things they want to visit 🤭

When you rolling out?

Need testers??? :)

whoa

I can tell you did that project bc that one mountain in the background looks like a giant boner. Nice touch

I always find compact code fascinating