-
jonas’
lovetox, in aioxmpp, we state clearly that you mustn’t mess with stanza objects after sending. terrible things will happen if you do.
-
jonas’
no wait
-
jonas’
the other way round
-
jonas’
but I didn’t realize that this was a possible issue for SM s ofar
-
jonas’
do I care though?
-
jonas’
I don’t think it’s a problem
-
Ge0rG
I had a very nasty situation with Smack where I re-used the same presence stanza for sending presence updates to all joined MUCs. It didn't end well.
-
flow
immutability ftw
-
Holger
Just switch to Erlang.
-
jonas’
or haskell
-
moparisthebest
Or Rust
-
pulkomandy
Or c++ with lots of "const" everywhere 😅
-
pep.
immutability ftw
-
Zash
Yeah, immutabilily is the gre+++OOM killed
-
pep.
I'd happily crush memory usage for maintainability
-
Zash
Tell Ge0rG that
-
Zash
Keeping a ton of subtly different clones around for 198, csi, etc is probably not optimal
-
pep.
You can have your API immutable using interior mutability, smartly reusing memory. I'm fine as long as I'm on the immutable side of it :P
-
pulkomandy
Reference counting and copy-on-write ftw