00:31
hkaiser has joined #ste||ar
00:55
diehlpk has joined #ste||ar
02:19
simbergm has quit [Read error: Connection reset by peer]
02:20
diehlpk has quit [Quit: Leaving.]
06:06
<
heller >
maxwellr96: different C++ standards used when compiling boost and HPX
13:08
hkaiser has quit [Ping timeout: 276 seconds]
13:37
diehlpk has joined #ste||ar
13:39
aserio has joined #ste||ar
13:48
diehlpk has quit [Quit: Leaving.]
15:01
hkaiser has joined #ste||ar
15:03
jaafar has quit [Ping timeout: 245 seconds]
15:08
jaafar has joined #ste||ar
15:38
diehlpk has joined #ste||ar
15:55
jaafar has quit [Quit: Konversation terminated!]
15:56
jaafar has joined #ste||ar
16:05
jaafar has quit [Ping timeout: 268 seconds]
16:13
K-ballo has quit [Remote host closed the connection]
16:14
K-ballo has joined #ste||ar
16:54
diehlpk has quit [Quit: Leaving.]
17:06
aserio has quit [Ping timeout: 264 seconds]
17:31
aserio has joined #ste||ar
17:33
USTOBRE has joined #ste||ar
17:37
jaafar has joined #ste||ar
17:53
jaafar has quit [Ping timeout: 276 seconds]
18:10
<
hkaiser >
Yorlik: unfortunately, that talk is rather uninspiring
18:11
<
Yorlik >
He's somewhat repeating himself. But after all it marks the talks are bing published bow.
18:11
<
hkaiser >
yah, keynotes are quick to be published, usually
18:11
<
Yorlik >
So the good stuff takes longer? :(
18:12
<
Yorlik >
I'm especially curious about the networking TS talks
18:12
<
hkaiser >
right, I have not even given my talk yet ;-)
18:12
<
Yorlik >
Are doing doing HPX or an application of it?
18:12
<
hkaiser >
mostly HPX with some applications
18:13
<
hkaiser >
Futurize All The Things!
18:13
<
hkaiser >
nowadays I should probably say co_Futurize ;-)
18:14
<
Yorlik >
Futures are somewhat expensive aftr all, eren't they?
18:14
<
hkaiser >
depends on your workload
18:14
<
Yorlik >
I wish I could chop below 100microsec
18:15
<
zao >
HPX - like programming C++ but good!
18:15
<
hkaiser >
if your frame rate is 50Hz, then you can handle 20000 of them in one frame
18:15
<
Yorlik >
The fastest corouting switch I ever measured was 9ns from a tiny library. I kinda liked that.
18:15
<
hkaiser >
zao: I like that!
18:15
<
zao >
Beats the previous slogan.
18:39
<
heller >
hkaiser: oh, you are in colorado right now?
18:39
aserio has quit [Ping timeout: 250 seconds]
18:42
<
heller >
didn't realize it is happening this week ;)
18:50
<
hkaiser >
heller: not yet, flying tomorrow
18:50
<
heller >
ahh, have a good time and say hi to klaus, bryce and michael
18:55
nikunj has joined #ste||ar
18:56
<
heller >
hkaiser: #3961 should be good to go now, btw
19:01
<
hkaiser >
ok, thanks
19:04
<
Yorlik >
I just tested boost::serialization and it's printing "serialization::archive" into the data ????
19:05
<
Yorlik >
For small objects thios really is a waste of space.
19:05
<
Yorlik >
I used a std::ostringstream for the archive to get a package I can send over UDP.
19:06
hkaiser has quit [Ping timeout: 264 seconds]
19:06
<
Yorlik >
112 bytes to send two uint64_t types
19:06
<
Yorlik >
and one uint16_t
19:07
<
Yorlik >
a "pong" package with a message type and two timestamps.
19:07
<
Yorlik >
Is there a way to send more efficiently, e.g. with different optiopns?
19:13
aserio has joined #ste||ar
19:14
<
heller >
Yorlik: what do you mean? more context needed
19:15
<
Yorlik >
I am trying to use boost::serialization and boost::asio to send serialized structs over the network for a test client/server messaging.
19:15
<
Yorlik >
Serializing a simple ping message gave me this large serialized package
19:15
<
heller >
aserio: looks like rostam is misbehaving again
19:15
<
Yorlik >
I serialized a message type and two uint64_t
19:16
<
heller >
ah, use hpx::serialization ;)
19:16
<
Yorlik >
So all in all 18 bytes of real payload
19:16
<
Yorlik >
Impossible
19:16
<
Yorlik >
We don't use HPX on the UE client side
19:16
<
Yorlik >
I would have to use it just for serialization
19:17
<
Yorlik >
Which part of HPX would I haver to include to just use its seialization?
19:17
<
heller >
at the moment, everything ;)
19:17
<
Yorlik >
I don't plan to make the client a full HPX app
19:17
<
heller >
but you can use it without starting up the runtime
19:17
<
heller >
no problem there
19:18
<
Yorlik >
This is a little overkill, isn't it?
19:18
<
zao >
So what kind of archive type are you using?
19:18
<
Yorlik >
I mean - if the hpx serialization is so much more eficcient - might be a reason.
19:18
<
heller >
IIRC, the header of an HPX archive is about 32 or 64 bits, that'll give you what you want
19:18
<
Yorlik >
I used an ostringstream
19:18
jaafar has joined #ste||ar
19:19
<
Yorlik >
I probably would have to make my messages components for it to work, right? Or dies it work on simple structs too?
19:20
<
heller >
it works almost like boost serialization
19:20
<
Yorlik >
I know the api is the same
19:21
<
zao >
Fewer Rameys :)
19:21
<
Yorlik >
So - could I just use hpx_setup_target on cmake, include the hpx dll and done?
19:22
* Yorlik
imagines horrible things happening to his client
19:23
<
heller >
there seems to be another boy in town
19:24
<
zao >
I need to find a cross-language serialization format for float-heavy applications.
19:26
<
zao >
Yorlik: I'd prefer something that had a reasonably formal IDL, ad-hoc schemas with JSON/CBOR are a bit meh.
19:26
<
Yorlik >
Why not just flatbuffers / protobuffers then?
19:27
<
zao >
Well, that's the thing, I need to find what there is and pick the least horrible one.
19:28
<
zao >
Haven't had a good experience with the C++ side of protobuf.
19:29
<
heller >
zao: looked into libffi yet?
19:30
<
heller >
that it might solve your problem ;)
19:30
<
heller >
might have just misremembered what it's use case is for though...
19:30
<
heller >
other than that: do what the cool kids do, just use json/yaml ;)
19:31
<
zao >
FFI would be more for in-process language interop, I'm doing poor-man's inter-process RPC.
19:31
<
zao >
Ad-hoc JSON schemas are lovely, but I've got a bit too much in the way of floating point data for it to work well.
19:31
<
zao >
Time will tell, I could always start with it.
19:38
<
heller >
i guess XMLRPC is the closest thing to a standardized beast
19:45
<
Yorlik >
Seems Cmake is trolling me again. Is it correct or wrong to assume that hpx_setup_target(gc_app ) should allow gc_app to include <hpx/hpx.hpp> ?
19:46
jaafar has quit [Ping timeout: 265 seconds]
19:49
aserio has quit [Ping timeout: 245 seconds]
19:53
USTOBRE has quit [Quit: Connection closed for inactivity]
19:53
aserio has joined #ste||ar
19:55
jaafar has joined #ste||ar
19:58
<
Yorlik >
Anything wrong with this: ?
19:58
<
Yorlik >
std::ostringstream outstream;
19:58
<
Yorlik >
hpx::serialization::output_archive ar(outstream);
19:59
<
Yorlik >
I'm getting template errors for output_archive
20:00
<
zao >
The ctor calls the argument "Container", might be a hint to what concept is in play?
20:02
<
Yorlik >
Woops - is this where HPX diverges from the boost API then maybe?
20:03
aserio has quit [Quit: aserio]
20:03
<
zao >
You might be able to implement some traits, but hpx/traits/serialization_access_data.hpp seems to imply a vector-like?
20:04
<
Yorlik >
Gotta dig deeper it seems. Thanks for the hint !
20:04
<
zao >
(I've never used this part of HPX, just digging around on github :)
20:04
<
Yorlik >
Got poked by a fellow dev - kinda semi afk now.
20:06
jaafar has quit [Ping timeout: 276 seconds]
20:29
jaafar has joined #ste||ar
20:30
hkaiser has joined #ste||ar
20:41
<
heller >
Yorlik: the tests should make the usage much clearer
20:41
<
Yorlik >
I'll lokk into them once my meeting is done .
21:03
jaafar has quit [Ping timeout: 265 seconds]
21:03
nikunj has quit [Read error: Connection reset by peer]
21:03
nikunj has joined #ste||ar
21:50
jaafar has joined #ste||ar
21:54
nikunj has quit [Read error: Connection reset by peer]
21:54
nikunj has joined #ste||ar
22:25
jaafar has quit [Ping timeout: 268 seconds]
23:02
nikunj has quit [Quit: Leaving]