Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Are we talking less? A Q&A with psychologist Matthias Mehl (March 2026)(arizona.edu ↗)
    discuss
  2. Does Jev Have Politics? (Yes)(idlerambling.substack.com ↗)
    discuss
  3. Turn curiosity into a map you can explore(echohive.ai ↗)
    discuss
  4. AI Netscape – 1997 Chrome, 2026 AI(ainetscape.com ↗)
    1comments
  5. The addiction of online sports gambling: "Like crack in the '80s"(cbsnews.com ↗)
    discuss
  6. The Crown of Creation(mika.global ↗)
    discuss
  7. KDE Goes to the Pyramids [video](ccc.de ↗)
    discuss
  8. How Anthropic CEO Dario Amodei's Writings Help Explain A.I. Fears(nytimes.com ↗)
    discuss
  9. Popular European Games(playfrom.eu ↗)
    discuss
  10. EkkoBSD(ekkobsd.org ↗)
    discuss
  11. DAPO: An Open-Source RL System from ByteDance Seed and Tsinghua Air(github.com/bytedtsinghua-sia ↗)
    discuss
  12. My AI Kept Pushing Me to Ship, So I Asked It Why(oreilly.com ↗)
    discuss
  13. "Reds of the Brick-Colored Road"(theinterposer.substack.com ↗)
    discuss
  14. Navier-Stokes, AI, Future of Mathematics with Martin Hairer (2014 Fields Medal) [video](youtube.com ↗)
    discuss
  15. The viewers ditching streaming 'rot' in favour of DVDs(rnz.co.nz ↗)
    discuss
  16. Where Rust actually is in Windows 11(hunterworks.software ↗)
    discuss
  17. Show HN: Lightspeed, bidirectional WebSockets for Laravel (with asteroids demo)
    discuss
  18. Show HN: Try Omarchy for Windows – Full Omarchy Desktop on Windows(github.com/omacom ↗)
    1comments
  19. V Language Review (2023)(n-skvortsov-1997.github.io ↗)
    discuss
  20. Lattice Gazette(lattice-gazette.pages.dev ↗)
    discuss
  21. Show HN: AI Adoption Survey (Census)(crawlspider.com ↗)
    discuss
  22. Can the Far Right Be Deradicalized? [video](youtube.com ↗)
    1comments
  23. Show HN: jevals – replacing LLM judges with typed Jev decisions(github.com/openlayer-ai ↗)
    discuss
  24. What Happened to the Snowden Archive(libroot.org ↗)
    8comments
  25. 30 years after Civ2, Eivind IV built his own 4X game (Genesis)(civfanatics.com ↗)
    2comments
  26. Google's Open Agentic Orchestrator(agentexecutor.io ↗)
    11comments
  27. Computers Add Numbers(youtube.com ↗)
    discuss
  28. Not all AI workers think the tech could kill everyone(bbc.com ↗)
    discuss
  29. Noam Brown – Agent swarms, alignment, & recursive self-improvement(dwarkesh.com ↗)
    discuss
  30. Ask HN: What Inspires You to Persevere?
    5comments

Show HN: Lightspeed, bidirectional WebSockets for Laravel (with asteroids demo)

4 pointsby 43m ago
1 comments
Hi HN!

Laravel has worked with websockets for years but generally speaking it's a one way push architecture (i.e. http in, sockets out).

Lightspeed is kind of like node in that it's a single server that serves your http and your websockets all under one roof. Auth runs in 0.03ms (a Redis read, no database). Your Laravel handler runs inside the full container and the reply comes back down the same socket. I think this could be really cool for creating new ways of working with Laravel.

Anyway, I put together a live demo to show it in action. Basically a cross between slither.io and Asteroids.

Game here:

https://innerloop.works/lightspeed

Repo here:

https://github.com/innerloop-dev/lightspeed

Note: This is 0.1.0, the API may change before 1.0. It needs the Swoole extension and Redis. MIT.

3m agoHN ↗

How does this relate to Laravel LiveWire?