3 ms·
Here's an interesting stack: https://github.com/ornicar/lila https://github.com/ornicar/lila It's the server/client for https://lichess.org/ https://lichess.or
by benatkin 8y ago
Here's an interesting stack: https://github.com/ornicar/lila https://github.com/ornicar/lila
It's the server/client for https://lichess.org/ https://lichess.org/ which is a powerful online chess server. Scalla with Akka actors is used to provide realtime multiplayer chess (bullet chess games, where each player only has a minute or two to play an entire game, are very popular there). The client-side is written in TypeScript, and rather than use React for the vdom, they're using a vdom called snabbdom. https://github.com/snabbdom/snabbdom https://github.com/snabbdom/snabbdom
- jpatokal 8y agoI'm a regular HN reader, yet I've never heard of half of these. This doesn't sound like the kind of stack you'd want to adopt if you ever want anybody else to work on the code.
- WilliamEdward 8y agoIt's interesting that your view works on paper but in practice lichess has many contributors and this has never really been a problem. This is probably not the go-to stack but not for the reasons you've stated.
- markoman 8y agoWhat would be the reasons, then? (Those that he didn't state, at least.)
- WilliamEdward 8y agoLack of online tutorials is something that comes to mind.
- The_suffocated 8y agoYeah. The official doc says that lila is a chess game server. It really isn't an immediate replacement for a general web stack. However, I don't think the technologies he/she mentioned are little known. Scala, Akka and TypeScript are certainly well known. The last I heard, Vue was based on a fork of Snabbdom. BTW, it may be worth notice that the code base of Lichess.org also uses Mithril. I used Vue in the past but converted my choice to Mithril afterwards. To me, Mithril is simpler to learn or use. My code using it is cleaner and easier to maintain. But this is certainly anecdotal and YMMV.
- virtualwhys 8y ago> I'm a regular HN reader, yet I've never heard of half of these Scala, Akka, TypeScript, React...uh, where have you been? Lichess is an impressive project, their chess app is not only excellent compared to everything else out there, it's incredibly efficient, and handles a ton of traffic with ease. I don't think the creators chose the stack without reason.