webtransport VS ggpo

Compare webtransport vs ggpo and see what are their differences.

webtransport

WebTransport is a web API for flexible data transport (by w3c)

ggpo

Good Game, Peace Out Rollback Network SDK (by pond3r)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
webtransport ggpo
11 22
800 3,071
1.5% -
9.1 0.0
4 days ago 4 months ago
Bikeshed C++
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

webtransport

Posts with mentions or reviews of webtransport. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-16.
  • WebGPU – All of the cores, none of the canvas
    7 projects | news.ycombinator.com | 16 Jul 2023
  • Firefox 114 released
    2 projects | /r/linux | 6 Jun 2023
    WebTransport is now enabled by default and will be going to release with 114. As the original Explainer notes, it enables multiple use-cases that are hard or impossible to handle without it, especially for Gaming and live streaming. It covers cases that are problematic for alternative mechanisms, such as WebSockets. Built on top of HTTP3 (HTTP2 support will be coming later). The current implementation in Firefox is passing 505 out of 565 Web-Platform Tests.
  • Alternatives to WebSockets for realtime features
    1 project | dev.to | 6 Jan 2023
    WebTransport is still an emerging technology. As of November 2022, WebTransport is a draft specification with W3C, and there’s always a chance that aspects related to how it works may change.
  • Librespeed - a Foss speedtest
    2 projects | /r/linux | 25 Oct 2022
    Sort of. The browser will re-use the connection if you have a bunch of resources in the HTML. When rendering it sees that it needs 2 images and 3 javascript files from the same server, so it pipelines all of those. But for requests initiated from javascript, you're going to get a new connection for each one unless you're using a library that implements the long-polling hack. SocketIO can use the long-polling hack as a fallback if websockets is not supported. HTTP/2 (formerly SPDY) gets part of the way to replacing websockets, but it's not a synchronous link. Only the client can send messages to the server and the server can only respond to those message (with websockets, either side can send messages once the connection is open). FWIW, less than 50% of websites use HTTP/2. HTTP/3's webtransport looks like it could replace websockets, but it also looks like it'll live along side websockets.
  • The WebSocket Handbook
    14 projects | news.ycombinator.com | 11 Jan 2022
    If it's streaming data like dashboard statistics the new WebTransport API might be a much better base: https://github.com/w3c/webtransport/blob/main/explainer.md
  • We Got to LiveView
    19 projects | news.ycombinator.com | 22 Sep 2021
    Are you guys looking into the Web Transport protocol for the future? Right now you have to tunnel the websocket connections over http2 and it will probably be the same for http3 afaik.

    I know there is this work in progress (https://w3c.github.io/webtransport/) and websockets are probably fine for a long time but sooner or later (unless there is an update to websockets) it will probably be faster to just do normal http requests and listen on server sent events.

    What are your thoughts for Liveview for the future? Will it forever stay on websockets or would you be open to change the underlying technology if / when new stuff becomes available?

  • WebTransport is a proposed API to expose QUIC's datagrams and streams to JavaScript clients
    1 project | /r/programming | 5 Jul 2021
    The W3C draft is here: https://github.com/w3c/webtransport
  • The History and Future of Socket-level Multiplexing
    3 projects | dev.to | 6 May 2021
    It's taken nearly 10 years for QUIC to be refined and adopted in the wild and we're basically there. There's even a new browser API in the works called WebTransport.
  • Show HN: PSX Party – Online Multiplayer Playstation 1 Emulator Using WebRTC
    6 projects | news.ycombinator.com | 30 Dec 2020
    tl;dr using WebRTC just for realtime client<->server data sucks, but WebTransport[1] is coming soon to serve that exact usecase with an easy API

    WebRTC has data channels, which are currently the only way to achieve unreliable and unordered real-time communication (UDP-style) between the browser and other browsers or a server. This is pretty essential for any networked application where latency is critical, like voice and video and fast-paced multiplayer games.

    As other commenters have noted, it's a royal pain in the ass to set up WebRTC if all you want is UDP-style communication between a server and browser, since you need to wrangle half a dozen other protocols in the process.

    However! A new API, WebTransport[1], is actively being developed that will offer a WebSockets-like (read: super simple to set up) API for UDP-style communication. I am extremely excited about it and its potential for real-time browser-based multiplayer games (which I'm working on).

    https://github.com/w3c/webtransport

ggpo

Posts with mentions or reviews of ggpo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-22.
  • Q: How are online games like Street Fighter 6 able to synchronize inputs from two players at a high frame rate? (60fps)
    3 projects | /r/gamedev | 22 May 2023
    As mentioned in the top comment, rollback and client side prediction is key. One of the more robust and popular libraries that do this specifically for fighting games is GGPO. When it was opened sourced a few years ago it was a fairly big deal as games that used it felt great. Larger studios have their own libraries but the concept is the same. Its worth a look through if you want to implement something on your own.
  • Virtual Venerable Vestments - Weekly Discussion Thread, May 8th, 2023
    3 projects | /r/VirtualYoutubers | 9 May 2023
    I just did a quick Google so I don't know the exact details, but I think Max said Idol Shodown is running GGPO which, as far as I can tell, is open source.
  • 2D Fighting Game Engines in 2023
    1 project | /r/gamedev | 16 Apr 2023
    will reply here also in case anyone else wanted an answer. You could use the original C++ library with C++ or any language that interops with C++ (e.g. C#), so that's there for ya if you need
  • What was your "Holy crap...This is like, an actual game" moment
    1 project | /r/gamedev | 9 Mar 2023
  • rolled back
    1 project | /r/Kappachino | 21 Jan 2023
    Sure thing bud. I guess we'll just keep pretending like Code Mystics, the same people that did the KI netcode, haven't partnered with SNK because SNK realized their shit sucks and they needed external assistance. We'll pretend like the source code for GGPO is hidden away in the recesses of Tony Cannon's mind or that it isn't open and free for anyone to use or that it doesn't have Japanese documentation. We'll pretend like MikeZ didn't implement a version of GGPO in Skullgirls in 2012.
  • Lesser known fields or industries?
    1 project | /r/ExperiencedDevs | 6 Nov 2022
    GGPO is a common implementation and it's all open source if anyone wants to get into the nitty-gritty: https://github.com/pond3r/ggpo
  • [Summary] Help wanted with Backroll-rs (new networking library) r/rust
    3 projects | /r/SummaryLab | 26 Oct 2022
    Backroll-rs is a brand new networking library based on GGPO dedicated to peer-to-peer Rollback Netcode, for use in fighting games, platform fighters, and other games with less than 8 players that require low latency. We are looking for programmers familiar with Rust to help finish this project. We are 80% of the way completed with this project, but we need more unit tests and debugging to fully finish it.
  • Why is online so hard for fighting games?
    1 project | /r/Fighters | 6 Jun 2022
    This doesn't work in the comparison to shooters. Shooters operate through a server, while fighting games are peer-to-peer. They only require a server for matchmaking purposes. Doing the peer-to-peer part actually puts fighting game devs at an advantage compared to other genres, as there's libraries and documentation for those libraries to either plug and play a rollback solution or build one buy looking at existing source code complete with solid documentation.
  • Rant: I love Street Fighter V ! But I HATE the netcode! Please Capcom! Let SF6 have good netcode!!
    1 project | /r/StreetFighter | 16 Feb 2022
    GGPO doesn't really solve the biggest problem with SFV's netcode, which is client timesync. It does have code in there to handle it by slowing down the client that's ahead and allowing the client that's behind to catch up, but that doesn't fix the fact that one client consistently gets ahead in the first place, and also means the faster client will see more stuttering or slowdown.
  • Honest opinion about rollback netcode
    1 project | /r/Fighters | 4 Feb 2022

What are some alternatives?

When comparing webtransport and ggpo you can also consider the following projects:

fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production

nakama - Distributed server for social and realtime games and apps.

phoenix-liveview-counter-tutorial - 🤯 beginners tutorial building a real time counter in Phoenix 1.7.7 + LiveView 0.19 ⚡️ Learn the fundamentals from first principals so you can make something amazing! 🚀

backroll-rs - A (almost) 100% pure safe Rust implementation of GGPO-style rollback netcode.

Mercure - 🪽 An open, easy, fast, reliable and battery-efficient solution for real-time communications

geckos.io - 🦎 Real-time client/server communication over UDP using WebRTC and Node.js http://geckos.io

datagram - In-progress version of draft-ietf-quic-datagram

rapier - 2D and 3D physics engines focused on performance.

bevy - A refreshingly simple data-driven game engine built in Rust

stimulus_reflex - Build reactive applications with the Rails tooling you already know and love.

joystick-mapper - A Rust library to map joystick input to keyboard, mouse and custom actions