Live data from Hacker News

Revolt: Open-source alternative to Discord

revolt.chat

131–140 of 413 posts

Re: Revolt: Open-source alternative to Discord

#131

Earlier quoted context omitted.

I would strongly urge you to consider migrating to an alternative database, given MongoDB's SSPL license that is difficult to comply with.

What are the best nosql databases? half of our devs dont like sql much (ive tried to make them use orms too, didnt work)

> half of our devs dont like sql much

I'd suggest you and your team shouldn't rule out SQL-like databases, given a lot of very competent NoSQL databases have SQL-like syntaxes (say Cassandra or ScyllaDB, what Discord went with). And regarding hiding it behind an ORM, if you want or need cream of the crop performance not only do you need to have chosen a database that fits your needs, but you will also need to occasionally work very close to the database to avoid abstraction inversion situations.

Re: Revolt: Open-source alternative to Discord

#132
post #77

Earlier quoted context omitted.

Totally agree. It's not good for HN to have this kind of repetitive language promotion on the front page. I could see if this was the first major project written in the language, which would make it noteworthy, but something like this needs to stand on its own without the upvotes of Rust fans.

This is the way it’s always been though. First it was Java, then Ruby, then Clojure, then Go, then Node, and now Rust. As languages get popular, multiple projects get rewritten in them. At first it’s a novelty, but it is often useful to see what the strengths and weaknesses are of a language to implement an existing project. Eventually, it becomes annoying to have “written in X” attached to articles and links, but so…

> As languages get popular, multiple projects get rewritten in them.

Lately I've been thinking, it's kind of funny how the modern development mindset is so all about code reuse what with its giant dependency graphs and reliance on cross-platform frameworks; and yet the favorite sport is still rewriting perfectly good applications in the new hotness.

Re: Revolt: Open-source alternative to Discord

#133
post #89
post #3

Not sure "written in Rust" is a headline thing that's worth mentioning anymore. Particularly amusing in this case when parts of Discord are written in Rust too.

Also, only the backend is written in Rust. The desktop client is an Electron app: https://github.com/revoltchat/desktop

That's odd honestly because there are excellent rust-based bindings for electron

Re: Revolt: Open-source alternative to Discord

#136
post #105

Earlier quoted context omitted.

Personally I see “Written in rust” as more of a meme, often using buzzwords like “blazing fast” and “memory safe.” Electron is definitely worse than rust is good.

> Blazing fast So have you measured it or do you just mean you haven't implemented as many features? -> Usually the latter.

Cynicism aside, from what I’ve seen it’s been the former. See regex and rg by burntsushi as an example.

Re: Revolt: Open-source alternative to Discord

#137

Earlier quoted context omitted.

Hi, one of the developers here, we use electron because its hard for our small amount of devs (there are about 4) of us to maintain multiple clients, this is the same reason we use the same web client for mobile.

Did you consider Qt or some other cross-platform native option? There was just recently a HN article [1] on the topic of cross-platform development and UX, with a few alternatives proposed. I think some teams just reach for the Electron tool by default now, instead of weighing each alternative and then choosing it with eyes open. Maybe your team did examine the pros and cons, but it seems the overall software industr…

Personally, managing a QT application across multiple OSes is itself harder as I’ve spent a lot of time doing platform-specific UI work (eg. fonts on macOS and DPI scaling problems on Windows) compared to Electron. The only similarity was in doing platform-specific tooling for deployments/code signing which is par for the course.

Re: Revolt: Open-source alternative to Discord

#138
post #89

Earlier quoted context omitted.

Also, only the backend is written in Rust. The desktop client is an Electron app: https://github.com/revoltchat/desktop

Hi, one of the developers here, we use electron because its hard for our small amount of devs (there are about 4) of us to maintain multiple clients, this is the same reason we use the same web client for mobile.

A friend and a bunch of her friends had visibly too much time and implement a chat protocol with a server implementation in rust, one in go and one in swift. As well as a client in flutter, rust (iced), Vue and Qt. https://github.com/orgs/harmony-development/repositories

Re: Revolt: Open-source alternative to Discord

#139
post #94

Earlier quoted context omitted.

Now I want to know if HN hates Electron more than it loves Rust. Or do they perfectly cancel out?

Personally I see “Written in rust” as more of a meme, often using buzzwords like “blazing fast” and “memory safe.” Electron is definitely worse than rust is good.

Is Rust as blazing fast as Electron is slow?

Re: Revolt: Open-source alternative to Discord

#140
post #89
post #3

Not sure "written in Rust" is a headline thing that's worth mentioning anymore. Particularly amusing in this case when parts of Discord are written in Rust too.

Also, only the backend is written in Rust. The desktop client is an Electron app: https://github.com/revoltchat/desktop

One of the wonderful things about rust is it's a nice, modern language with good performance. Electron will be a performance limiting factor.
Post reply on HN