Wow, can't believe I missed this in March. So glad to see Croquet revived and continued. Any relationship between this incarnation and lively kernel? https://lively-kernel.org/
Croquet: Live, network-transparent 3D gaming
21–30 of 79 posts
Re: Croquet: Live, network-transparent 3D gaming
#22Excellent article -- Liam Proven does it again! Speaking of a big Plate of Shrimp -- https://www.youtube.com/watch?v=rJE2gPQ_Yp8 ... The incredible Smalltalk developer Vanessa Freudenberg -- who besides being Croquet's devops person, also developed Squeak Smalltalk, EToys, Croquet, and the SqueakJS VM written in JavaScript, and worked extensively with Alan Kay -- was just tweeting (yeah, it's ok to deadname Twitter!)…
Haha, thanks for the plug, Don! I just fleshed out the README for my Croquet resurrection yesterday so others may have an easier time trying it. It maybe even contribute :) https://github.com/codefrau/jasmine
https://freudenbergs.de/bert/publications/Freudenberg-2014-S...
>The fact that SqueakJS represents Squeak objects as plain JavaScript objects and integrates with the JavaScript garbage collection (GC) allows existing JavaScript code to interact with Squeak objects. [...]
>• a hybrid garbage collection scheme to allow Squeak object enumeration without a dedicated object table, while delegating as much work as possible to the JavaScript GC,
Have you ever thought about implementing a Smalltalk VM in WebAssembly, and how you could use the new reference types for that?
https://bytecodealliance.org/articles/reference-types-in-was...
Re: Croquet: Live, network-transparent 3D gaming
#23Earlier quoted context omitted.
Haha, thanks for the plug, Don! I just fleshed out the README for my Croquet resurrection yesterday so others may have an easier time trying it. It maybe even contribute :) https://github.com/codefrau/jasmine
Vanessa, it has always amazed me how you managed to square the circle and pull a rabbit out of a hat by the way you got garbage collection to work efficiently in SqueakJS, making Smalltalk and JavaScript cooperate without ending up with two competing garbage collectors battling it out. (Since you can't enumerate "pointers" with JavaScript references by just incrementing them.) https://freudenbergs.de/bert/publication…
For the overall VM, however, I’ll leave that to others (I know Craig Latta has been making progress).
I just love coding and debugging in a dynamic high-level language. The only thing we could potentially gain from WASM is speed, but we would lose a lot in readability, flexibility, and to be honest, fun.
I’d much rather make the SqueakJS JIT produce code that the JavaScript JIT can optimize well. That would potentially give us more speed than even WASM.
Peep my brain dumps and experiments at https://squeak.js.org/docs/jit.md.html
Re: Croquet: Live, network-transparent 3D gaming
#24How does this compare to Mozilla hubs or the Third Room. https://hubs.mozilla.com/ https://github.com/matrix-org/thirdroom
I can speak to Third Room, although haven’t dug enough into the current incarnation of Croquet to do a side by side comparison. I’ve called out the bits which I’d guess are more unique about TR. TR is/was: * Open decentralised platform for spatial 3D collaboration, end-to-end encrypted by default thanks to being built on top of Matrix * Web native built on WebGL/WebXR; no proprietary Unity or similar. glTF native for…
Re: Croquet: Live, network-transparent 3D gaming
#25Earlier quoted context omitted.
Vanessa, it has always amazed me how you managed to square the circle and pull a rabbit out of a hat by the way you got garbage collection to work efficiently in SqueakJS, making Smalltalk and JavaScript cooperate without ending up with two competing garbage collectors battling it out. (Since you can't enumerate "pointers" with JavaScript references by just incrementing them.) https://freudenbergs.de/bert/publication…
I would like to speed up some parts of SqueakJS using web assembly. For example BitBlt would be a prime target. For the overall VM, however, I’ll leave that to others (I know Craig Latta has been making progress). I just love coding and debugging in a dynamic high-level language. The only thing we could potentially gain from WASM is speed, but we would lose a lot in readability, flexibility, and to be honest, fun. I’…
I love Caffeine, and I use Craig's table every day! Not a look-up table, more like a big desk, which I bought from him when he left Amsterdam. ;)
Re: Croquet: Live, network-transparent 3D gaming
#26Earlier quoted context omitted.
I can speak to Third Room, although haven’t dug enough into the current incarnation of Croquet to do a side by side comparison. I’ve called out the bits which I’d guess are more unique about TR. TR is/was: * Open decentralised platform for spatial 3D collaboration, end-to-end encrypted by default thanks to being built on top of Matrix * Web native built on WebGL/WebXR; no proprietary Unity or similar. glTF native for…
Damn, this is a huge shame. What were this sticking points for investors if you don't mind me asking? What is the value proposition? I mean, I am really interested in potentially using this in the AEC industry as an open source product. But where would the revenue come from?
a) metaverse hype collapse causing blowback oversteer against any kind of virtual world platform
b) the team wasn't interested in running it standalone as a for-profit startup outside of the Matrix Foundation, and Matrix doesn't have enough $ to fund core Matrix, let alone Third Room
c) big organisations who claimed they were interested in funding it within Matrix entirely failed to follow through (which probably maps to metaverse hype collapse). My favourite example is Rolls Royce, who ran a fullblown innovation challenge in May, saying they were specifically focusing on interoperable 3D collaboration: https://iuk.ktn-uk.org/opportunities/rolls-royce-sme-innovat.... We invested significant effort in applying, and never even heard back from them at all. As far as I know, they silently ditched the innovation challenge without telling anyone who'd applied to it. You can see our showreel for it at https://youtu.be/cFKJ-IuGaKA.
In terms of business models: selling SaaS hosting and proprietary apps & DLC on top of the open platform is the way to go, imo. https://thirdroom.io/preview#what-can-you-use-it-for has ideas for problem domains.
If anyone reading this happens to have $500K-$1M/y available to fund core dev, there's a small but finite chance of finding a way to get the project back on the road. But the core Third Room team has disbanded, and as per https://matrix.org/blog/2023/12/25/the-matrix-holiday-update... the focus of the remaining Matrix core team is currently monomaniacally on core Matrix foundations rather than future-facing stuff like Third Room.
Needless to say, I feel incredibly frustrated that we funded TR so far, and then had to stop before it got to escape velocity: simultaneously helping the open metaverse while setting it back too.
Re: Croquet: Live, network-transparent 3D gaming
#27This looks very interesting, but if I was to write a game with it, how would I handle cheating if I can't control the server?
Exactly this, if the networking is all handled automatically, the server is only relaying data so won't be able to validate things. The update in TFA is interesting as well, they're worried about Amazon for some reason, hence not releasing some of the moving parts. There are open source licenses that prohibit cloud usage.
Re: Croquet: Live, network-transparent 3D gaming
#28How does this compare to Mozilla hubs or the Third Room. https://hubs.mozilla.com/ https://github.com/matrix-org/thirdroom
Re: Croquet: Live, network-transparent 3D gaming
#29It's when you scale up the world complexity and size that these simple approaches come un-glued.
The Croquet web site is "sign up now for waitlist", not "Here's our world".
Re: Croquet: Live, network-transparent 3D gaming
#30Earlier quoted context omitted.
Erm. Not much at all. They are original monochrome 1978 Space Invaders, and this is Fortnite with 10,000 players online at once, in full immersive VR?
How does a client device hande networking with 10,000 players at once without a server?