Live data from Hacker News

Show HN: I rewrote my Mac Electron app in Rust

desktopdocs.com

51–60 of 465 posts

Re: Show HN: I rewrote my Mac Electron app in Rust

#52

> Today the app still uses CLIP for embeddings Have you investigated multimodal embeddings from other models? CLIP is out of date, to put it mildly.

For sure. We've been prototyping embedding a vision model in desktop docs, but just needs more dev time to be stable. Went with CLIP for parity, but we are looking to upgrade soon. I tried Siglip and wasn't impressed. Do you know other open-source image embedding models you'd recommend?

Re: Show HN: I rewrote my Mac Electron app in Rust

#54
post #40

I'm neither a Mac uset nor is our team exploring a Rust rewrite ... however I appreciate this post. This is what I hope for from "Show HN", a just long enough summary of technical tradeoffs required to solve a real-world problem for a relatable small business (admittedly that part is an assumption). Thank you for sharing your experience.

Happy to share the experience. It was something we debated for a long time. Rebuilding something that is already kind've working is daunting, but in this case we are happy with the results.

Re: Show HN: I rewrote my Mac Electron app in Rust

#55
post #30

As a C++ developer I shrug at those size numbers, but I’m glad you are a happy with Rust.

As a rust developer, I do too! Those are not representative of rust GUI/3D etc desktop applications. I've made some pretty complicated stuff with 2D and 3D graphics, lots of functionality; expected size is 5-15Mb on Windows, and 10-25Mb on Linux. Less if you don't need 3D.

Re: Show HN: I rewrote my Mac Electron app in Rust

#56

> Trusted by Professionals Worldwide Who are they? as far as I see ProductHunt with only 11 votes.

Yeah we didn't get a lot of traction on PH unfortunately and they have a lot of rules about relaunching. As far as users go - it ranges from prosumers to producers at media companies.

Re: Show HN: I rewrote my Mac Electron app in Rust

#57
i built an electron app for managing massive (millions) photo and video libraries. it took work and creativity (what technical problems dont) but its very performant. node is actually pretty good at io. that is to say electron itself wasnt your bottleneck, but rewriting in another language is pretext to write long form blog posts for seo and marketing purposes

Re: Show HN: I rewrote my Mac Electron app in Rust

#58
post #39

Earlier quoted context omitted.

Dealing with the rendering differences isn't any more difficult with Tauri than it is when making a normal web app, is it?

With Electron, it will bundle chrome into the app so you only have to handle that single rendering engine. Tauri uses whatever is the default browser on the system the app is installed on

I know. I'm saying that Tauri doesn't make things more difficult than any normal web app development, it's not like making web apps which work across browsers is a new and scary thing

Re: Show HN: I rewrote my Mac Electron app in Rust

#59
post #30

As a C++ developer I shrug at those size numbers, but I’m glad you are a happy with Rust.

As a rust developer, I do too! Those are not representative of rust GUI/3D etc desktop applications. I've made some pretty complicated stuff with 2D and 3D graphics, lots of functionality; expected size is 5-15Mb on Windows, and 10-25Mb on Linux. Less if you don't need 3D.

What do you think would be more in line with what you've seen in the past? There's definitely room to keep optimizing.

Re: Show HN: I rewrote my Mac Electron app in Rust

#60
post #44
post #39

Earlier quoted context omitted.

Dealing with the rendering differences isn't any more difficult with Tauri than it is when making a normal web app, is it?

No, WebkitGTK is notoriously an issue.

Is WebKitGTK as used by Tauri worse than WebKitGTK used by a web app user's web browser?
Post reply on HN