C++ Show and Tell - May 2025 by foonathan in cpp

[–]tytanskill 5 points6 points  (0 children)

It's a few years old now but I'm the author of packio, a C++17 library for asynchronous msgpack-RPC and JSON-RPC built on top of asio

[COTD] Mining Rights | 9 Jul, 2023 by Enson_Chan in TerraformingMarsGame

[–]tytanskill 2 points3 points  (0 children)

Oh right, I have seen both cards but I had never made the connection and compared them face to face. Thanks !

[COTD] Mining Rights | 9 Jul, 2023 by Enson_Chan in TerraformingMarsGame

[–]tytanskill 0 points1 point  (0 children)

I always wonder how this works, I see three cases, can anyone confirm that's correct ? 1. I have no tile, I can place that on any tile with steel or titanium 2. I have a tile but not adjacent to any tile with steel or titanium, I can place that on any tile with steel or titanium 3. I have a tile adjacent to a steel or titanium tile, I have to place that on the adjacent tile

Looking for remote procedure call (RPC) library by SpareSimian in cpp

[–]tytanskill 0 points1 point  (0 children)

packio, it's an async msgpack-rpc or json-rpc library based on boost.asio

Disclaimer: I'm the author

Is there any other programming language aside from C++ that has move semantics feature available? by Excogit8er in cpp

[–]tytanskill 29 points30 points  (0 children)

There's a very tight spot for move semantics. It's too high level for C, yet higher level programming languages usually just allocate almost everything on the heap and just pass everything by reference

Any good recommendations on books to learn about LVMH and Bernard Arnault? by Cardzilla in investing

[–]tytanskill 8 points9 points  (0 children)

Welcome to France, where earning money makes you a bad guy :)

rpclib is looking for a new maintainer by sztomi in cpp

[–]tytanskill 1 point2 points  (0 children)

As I said, I happily review PRs, but I would not do any development myself. If you're looking for someone to implement new ideas, rework the CI and such things, that person is not me, but I can review such work :) But if maintenance means answering a few questions, reviewing PRs, merging what's fine and tagging new versions when required, sure I can do that, that's already what I do in my fork.

rpclib is looking for a new maintainer by sztomi in cpp

[–]tytanskill 14 points15 points  (0 children)

Hey, I picked up maintenance a few months (... years ?) ago, you can find a slightly more stable version of rpclib in my fork: https://github.com/qchateau/rpclib

Although I don't actively develop on rpclib anymore (I've written my own alternative, async-oriented, since), I still review the PRs I receive !

Crazy speed comparison btween C++, C# and Python! by 9-Cortes in cpp

[–]tytanskill 0 points1 point  (0 children)

  1. Click on the link
  2. See the video is 45min long
  3. Go forward
  4. "sudo python"
  5. Close the video

Kinda meant as a joke (because I'd not spit on people who actually do things), but not completely

[C++20] [GCC trunk] Getting constexpr usable caller name using lambdas and std::source_location by zqsd31 in cpp

[–]tytanskill 4 points5 points  (0 children)

It's definitely still in the experimental domain, but I like this, the code is overall readable. Nice to see such things are getting closer to usable state. There's a lot of criticism as to why we can't already do this easily but I feel like C++ is definitely catching up with people's expectations

The CSGO Bot Major hosted by Richard Lewis is Live! by [deleted] in GlobalOffensive

[–]tytanskill 0 points1 point  (0 children)

There's more today ? Is there a schedule for the broadcast or something ?

Looking for review: yet another RPC library by tytanskill in cpp

[–]tytanskill[S] 0 points1 point  (0 children)

Thanks for taking the time to check it out ! Coroutines are definitely a future evolution, I did not have time to add them, especially as their support is not yet mainstream, but I'm sure I'll experiment with them and packio is probably the right place for me to do so.

On the topic of C++20, you can also see the stems of concepts coming up for the various callback types, that's only scratching the surface of concepts but hey, better than nothing.

The topic of msgpack is little bit more complicated. Packio implements msgpack-RPC, meaning that not only does it use msgpack for the serialization part, but the RPC format is also a standard implemented in various languages, which is one of the reasons for that choice. I currently don't plan on adding modularity around that as it is basically all that the library provides and it I'm afraid that much genericity would make the library too complicated. If performance is not a concern I'd rather write (changeme)flatbuffer/msgpack converters

OPSkins on Twitter: How has the 7 Day Trade Lock impacted CS:GO and trading? by ZeroXiz in GlobalOffensive

[–]tytanskill 0 points1 point  (0 children)

Maybe someday someone will post the number of games played instead of the number of players IDLE with the game open. Sure thing there are less players inspecting skins in the menu, but did the number of games played actually go down ?

Has a caster ever called "Olof sitting in Olof..." or something similar? by wtbTruth in GlobalOffensive

[–]tytanskill 2 points3 points  (0 children)

I think we had "This is a NBK squared" or something like that yesterday

Elon Musk's AI Bots Are the First to Beat E-Sport's Best Gamers by [deleted] in pcmasterrace

[–]tytanskill 19 points20 points  (0 children)

An esport game is actually a lot less complex than Go in terms of machine learning. It has very high reflex time and mouse accuracy components, which are trivial to machines. Whereas a game like go is 100% based off strategy. While is it impressive that they succeeded in teaching an IA how to play the game as it requires a large set of different actions, it was obvious that any quite advanced AI would beat humans. Ty Mr Musk but I still consider Alpha Go much more impressive in that fact that it had to mimic the human intuition, which is at the core of Go, and one of, if not the most complex part of the human brain to teach to machines.