!mTHKuEkFXCRlWgQUaY:elequin.io

Ditto Chat

217 Members
Ditto Chat is a user-friendly Matrix client. | Website: https://www.dittochat.org | Repo: https://gitlab.com/ditto-chat/ditto | Feedback: https://plan.dittochat.org105 Servers

Load older messages


SenderMessageTime
14 Apr 2021
@hanno_jg:matrix.orghanno_jgthus we will very likely start contributing to the matrix core package05:59:03
@hanno_jg:matrix.orghanno_jgWhy the change? It appears to us that using matrix natively doesn't bring that much of an advantage as sending all chat data over the RN bridge causes big lags, because ... well, so many data. Today I am testing whether just doing it on the JS side performs better (and it looks like it so far)05:59:59
@hanno_jg:matrix.orghanno_jgone thing that came immediately to my mind: it is using async storage, which is currently not the fastest. We would like to use the fastest solution available, which one of our engineers build: https://github.com/mrousavy/react-native-mmkv can someone point me to files where it would be possible to exchange the storage used? Will open a PR :) 06:01:30
@hanno_jg:matrix.orghanno_jgalso, I feel like ditto is missed a bit by people as its not hosted on github πŸ€”06:02:09
@hanno_jg:matrix.orghanno_jg

I see quite huge JS thread fps drops, when opening a chat / when sending/receiving a message. Is that something you guys already acknowledged?

06:08:27
@timewalker:foxden.partyTimeWalker For rn-matrix stuff, probably Annie E. can give the best information to this 11:09:01
@timewalker:foxden.partyTimeWalkerNever heard of mmkv, that seems like a pretty cool thing! Is it actually a drop-in replacement for async storage?11:10:40
@hanno_jg:matrix.orghanno_jgi guess there is a ditto developer chat? maybe these types of messages are better put there11:11:12
@timewalker:foxden.partyTimeWalkerI think that's the only Ditto chat for now πŸ™‚11:11:25
@hanno_jg:matrix.orghanno_jgyeah, its just a different storage library, but implemented in C++ so its blazing fast11:11:28
@hanno_jg:matrix.orghanno_jg * yeah, its just a different storage library, but implemented in C++ so its blazing fast11:11:52
@timewalker:foxden.partyTimeWalkerNeat! I'm keeping this in mind for my personal stuff, haha. Depends if Annie finds it useful too11:11:55
@timewalker:foxden.partyTimeWalkerAlso do you mean the huge fps drops on Ditto Chat? I have noticed that and have tried to mitigate this with optimizing the redraws which unfortunately always regrabbed the information and dropped the performance a lot before. Should be merged in the latest master if you only tried the release version for now11:12:25
@timewalker:foxden.partyTimeWalker * Also do you mean the huge fps drops on Ditto Chat? I have noticed that and have tried to mitigate this with optimizing the redraws which unfortunately always regrabbed the information and dropped the performance a lot. Should be merged in the latest master if you only tried the release version for now11:12:29
@timewalker:foxden.partyTimeWalker * Also do you mean the huge fps drops on Ditto Chat? I have noticed that and have tried to mitigate this with optimizing the redraws which unfortunately always regrabbed the information and dropped the performance a lot before. Should be merged in the latest master if you only tried the release version for now11:12:44
@hanno_jg:matrix.orghanno_jgyes, I tried the latest master version. Currently I am "rebuilding" somewhat the matrix core, as the ditto matrix core is not written in TS. And we need TS. I will have a look where bottlenecks/issues come from and will write them here once I found them. Best would be if the ditto matrix core would be (even more) documented + written in TS11:14:12
@hanno_jg:matrix.orghanno_jg(so we can all use the same impl :)) 11:14:30
@hanno_jg:matrix.orghanno_jg
regrabbed the information
11:14:49
@hanno_jg:matrix.orghanno_jgwhat do you mean by that? What happens exactly11:14:56
@hanno_jg:matrix.orghanno_jg(the core implementation I am building also uses mmkv, maybe that gives some more performance)11:16:37
@timewalker:foxden.partyTimeWalkerHmm, it has been a while since I looked into it. Maybe it's something fully different than the issue you mentioned since when it was redrawing it tried to re-request messages and images via rn-matrix core again.11:16:44
@timewalker:foxden.partyTimeWalkerI've been starting to use Typescript at work personally and I agree, Typescript is 😍. I totally wouldn't mind TS typings for the project11:17:28
@timewalker:foxden.partyTimeWalker * I've been starting to use Typescript at work personally and I agree, Typescript is 😍. I totally wouldn't mind TS typings for the project11:17:48
@hanno_jg:matrix.orghanno_jgokay, I've just stopped writing an own typescript implementation. Now i write types for @rn-matrix/core In the long-run we should type the whole core codebase (AirBnb says that 60% of their bugs were prevent through the introduction of proper typing/TS usage)13:17:51
@hanno_jg:matrix.orghanno_jgWhat is the newest version of @rn-matrix/core ? 0.0.33 or 0.1.0-alpha.1 ?13:31:49
@hanno_jg:matrix.orghanno_jggot it13:41:45
@hanno_jg:matrix.orghanno_jgam i seeing it correctly that you try to remove the rxjs stuff and exchange it against hooks?13:46:05
@annie:ditto.chatAnnie E. Oh wow I missed a bit! Yeah let’s move to a developer chat :) all exciting stuff!! 15:01:05
@mason:beeperhq.comDavid Mason joined the room.19:23:02
16 Apr 2021
@mason:beeperhq.comDavid Mason changed their profile picture.14:41:56

There are no newer messages yet.


Back to Room List