Live data from Hacker News

Tauri – Electron alternative written in Rust

tauri.studio

351–360 of 435 posts

Re: Tauri – Electron alternative written in Rust

#351
post #29

Earlier quoted context omitted.

Have you tried Sciter?

I do not really understand the lisence of this. In the repo it says its open source but on the website they ask for money?

Sciter SDK (https://github.com/c-smile/sciter-js-sdk) is OpenSource/BSD

But Sciter Engine itself (https://sciter.com) is not OS - its sources are available to customers only. I tried to make it Open Source ( https://www.kickstarter.com/projects/c-smile/open-source-sci... ) but not too much interest for that.

Re: Tauri – Electron alternative written in Rust

#352
post #29

Earlier quoted context omitted.

Have you tried Sciter?

no, but looks like it natively builds for m1 :)

That's correct.

Sciter supports ARM and M1 targets natively: Windows, MacOS and Linux.

As also H/W rendering with backends: DirectX, OpenGL, Vulkan(coming) and Metal (coming).

Re: Tauri – Electron alternative written in Rust

#353

Earlier quoted context omitted.

Right now, the various Electron apps I have running: 1Password, 155mb Discord, 441mb Element: 38.7mb Signal: 91mb Slack: 46.2mb A few higher but a couple that are lower...

How are you measuring this? Slack on my Mac is 325 MiB on disk (probably because it is a universal binary). A freshly-started Slack uses 461MiB RAM for all it's processes (usually getting worse when it has been running for a while).

I'm on Windows, this is what Task Manager is showing. IIRC that means this is the physical memory being used.

Some time later, some of these numbers have changed a bunch. I'm on a desktop so it's always on. Element has climbed up to 800mb of usage. Signal's dropped to 44mb. I closed Slack after posting that comment. Discord's about the same. I now have VS: Code open, it's taking up 626 mb.

Re: Tauri – Electron alternative written in Rust

#354

Earlier quoted context omitted.

>People don't just write Rust because it's trendy. [Citation needed]. Because when your unique selling point is "it's like $otherproduct but written in $language" then well ...

Here's your citation: https://insights.stackoverflow.com/survey/2020#most-loved-dr... Rust is #1 loved language, almost 20 points above the second one.

Reminds me kinda of the Haskell hype a few years back.

Re: Tauri – Electron alternative written in Rust

#355
post #109
post #94

I have a hard time understanding why platforms like electron are so popular. The predictions from Gary Bernhardt seem to really be true, in the future everything will be javascript. I wonder if somebody actually tried to make an OS that only has a browser, that's what Chrome OS actually is, after all.

Aside from the improvements to project timelines, Electron and similar products are popular because they improve the developer experience, and in 2022 the developer experience is what matters the most to many software companies (yes, in many cases ahead of the customer experience). DX directly drives engagement and retention, and good developers are hard to find (and keep!). And like it or not, there are more and mor…

> in 2022 the developer experience is what matters the most to many software companies (yes, in many cases ahead of the customer experience).

Not working on iOS

Re: Tauri – Electron alternative written in Rust

#356
post #171

Earlier quoted context omitted.

let's see - language: ES / Typescript are quite established - CSS: also quite established - Frameworks: there is still a lot of innovation here, but also React / Vue / Angular are quite established. on that latter part I prefer the innovation. Let's just imagine for a while what UI would look like if we only had Swing (Java) or QT (C++)

> Let's just imagine for a while what UI would look like if we only had Swing (Java) or QT (C++) yes, Telegram looks so bad right ?

if you like the pricing and licensing, functionally QT may be for you. The web frameworks mentioned on the other hand are free to use for everybody and anything.

Re: Tauri – Electron alternative written in Rust

#357
post #154

Earlier quoted context omitted.

would you rather have three teams developing one app on three platforms (windows, mac, linux) or one team developing one app for all platforms? It makes perfect business sense to use electron. It opens paths which otherwise would be very costly and hence infeasible.

> would you rather have three teams developing one app on three platforms (windows, mac, linux) or one team developing one app for all platforms? I would rather have one team developing a cross-platform application in a language that isn't Javascript.

HTML/CSS/WASM??

Would that work?

I am not a front end kind of developer, I am a "plumber". So it is a genuine question.

Re: Tauri – Electron alternative written in Rust

#358

Earlier quoted context omitted.

How do you feel about video games that range hundreds of gigabytes?

Games with hundreds of GB are using high poly models and high res textures. The actual code segment of the game is much much less. This isn’t really the same.

Games at that size are not clocking in because of their models and textures. It's from use of lossless, uncompressed audio files, and shipping multiple language files.

The issue is most common on games that release on consoles, but also for ones that want to support older hardware: the audio formats they use are designed to minimize the amount of decompression necessary for play, and so reduce resource requirements in exchange for storage space.

Re: Tauri – Electron alternative written in Rust

#359

Earlier quoted context omitted.

They call it rust, because everything written in it becomes derelict after 180days of its first 3 'written in rust' posts

Let's put this meme to bed. Tauri has been developed for two years now. People don't just write Rust because it's trendy. If you want to throw stones at Rust, there are many more substantial criticisms to make. Our compilation times are long. Those sweet, ergonomic macro interfaces are only possible because of proc-macro dark magic that tends to be very verbose and special case-y. There's no spec. Unsafe is overused.…

I don't think the criticism is of Tauri. As far as I can tell from their website, THEY aren't promoting THEMSELVES on the basis of their implementation language being the #1 feature.

I think the criticism/meme is directed more at overly enthusiastic fans of Rust. Even if a project doesn't promote itself as "Written in Rust!", that's how it gets promoted online by the fanboys. It IS a substantial criticism, as generally they are not doing the credibility of these projects any favors.

Post reply on HN