« first day (4122 days earlier)      last day (809 days later) » 

12:39 PM
 
 
4 hours later…
4:13 PM
Has anybody in here ever used zero message queue? If yes, what are your thoughts?
Is it worth it to use this over the usual std::queue?
 
nwp
Those don't seem at all related.
 
I've used it, but obviously not as a std::queue replacement
but to do IPC
 
you can use it for interhtread communication as well apparently
@nwp the inner workings of it for in process communication is probably based on a threadsafe queue mechanism
or any variant on that
Should have mentioned from the start that it is not for IPC, but in process stuff between threads which are part of the same process
 
nwp
Just use the message queues you already have in your application. Don't invent one from scratch.
 
there are none so far
 
4:21 PM
what are you trying to solve anyway?
these sorts of data structures tend to be tuned for purpose
 
so I either use std::queeu with a locking mechanism or something else. Which is how I started thinking about zmq
@Mgetz pass different kinds of messages between threads
 
so inter thread comms?
which OS?
 
as mentioned, yes
Linux. But should be OS agnostic. (Unix compatible)
 
then use the message pump mechanism of your windowing system unless you have a really good reason not to
those are generally thread safe
 
there is no windowing system
 
4:23 PM
zmq is waaay overkill for what you need
even if this is high throughput there are better options
 
oh ok. Yhea, could be. This is why I asked as I never used it
 
well ZMQ is designed for server apps to talk to each other
it's a mainline message bus
for that its great
 
seems like I ll just use a thread safe std::queue
 
but this is the equivalent of using a bulldozer to tow something when a car would do
 
I like buildozers
never been a fan of cars
 
4:25 PM
yes but you'll get there faster and use less gas in the car ;p
 
you seem to be an expert on the matter. I ll leave my bulldozer in the garage today, in that case.
 
4:37 PM
if this is super high throughput you may need to change to something else
buuut get there first
 
out of curiosity. What would that be?
 
depends on your characteristic and what you're doing. there are different locked and lock free options depending on how much data you need to push and what the reader/writer cadence is
that sort of thing tends to be super tuned when it becomes a bottleneck
I think Linux alone has three or four options depending on just what it is. Each with different tradeoffs
 
 
1 hour later…
6:09 PM
I JUST GOT MORE POWERFUL HAHAHAHA
20k reputation
So much for not doing anything in 5 years
 
6:40 PM
I posted my first question on SO today since 2018.
 
:o
My proudest contribution is a late hijacking of a popular question with a new answer
Then maintaining that answer to avoid people sharing better answers
 
 
3 hours later…
9:17 PM
@Morwenn Nice :)
 
 
2 hours later…
11:03 PM
@Morwenn I need more french pop music
 
French pop music? What?
What do you even listen to?
Depending on the answer I might not be able to help you
 
I listen to a lot of weird stuff
 
not helpful
 
but I need funky music in a language I almost understand
one second
 
11:05 PM
The uploader has not made this video available in your country.
lol
btw yes
this is good
 
I've been listening to so called russian post punk: youtube.com/watch?v=WKJ1s77t56Q
but that is like the opposite of this stuff
 
There's no opposites in music if you're brave enough x)
 
sublation_of_the_geist and other cringe handles I've used in the past
 
Currently I'm too busy watching anime to listen to music though
 
11:09 PM
apparently sublation isn't in the dictionary but
Any good animes
I need meme worth stuff to talk about
We had that blood cell anime, and that horse derby anime were horses were reincarnated as people (and for some reason still had to race)
 
11:33 PM
weird
 
11:54 PM
Wow, Scott Meyers' retirement from C++ was in 2015...
Didn't realize it was that long ago...
 

« first day (4122 days earlier)      last day (809 days later) »