Live data from Hacker News

Tauri: Rust-based Electron alternative releases beta

tauri.studio

61–70 of 177 posts

Re: Tauri: Rust-based Electron alternative releases beta

#61
post #2

Hey - I am nothingismagick aka Denjell, one of the founders of Tauri, and will do my best to answer your questions about the project, rust, wasm, etc. https://github.com/tauri-apps/tauri

Can I integrate Tauri into an existing Windows application?

Specifically:

1. Can I place it into a native window handle (e.g. HWND on Windows)?

2. Can I create a new window, but use the parent application's event loop without modification?

Thanks

Re: Tauri: Rust-based Electron alternative releases beta

#62
post #54

Earlier quoted context omitted.

Like I wrote in another response, we are due for a landing page revamp, and we'll be sure to make a "nothing but the facts" hero for people like yourself who are concerned that their time is being wasted.

> for people like yourself It's not for "people like me," it's for everyone. In terms of volume of traffic you're going to get, no one else cares about this stuff. Here's an example of one of my projects where I do just that: https://www.planimeter.org/grid-sdk/ Literally! I tell people what my team has built. I show them a screenshot. I then provide API examples. Mine could be better if I provided screenshots per AP…

We actually had this at an earlier stage during the alpha, but got so caught up in the alpha that we just plain forgot to put the apps for mac, win and linux back up there. We'll try to get that done this weekend. We have a full "API Explorer" app that we built...

https://github.com/tauri-apps/tauri/tree/dev/examples/api

Re: Tauri: Rust-based Electron alternative releases beta

#63
post #51
post #2

Hey - I am nothingismagick aka Denjell, one of the founders of Tauri, and will do my best to answer your questions about the project, rust, wasm, etc. https://github.com/tauri-apps/tauri

Please add an example app with bundles for each platform – a calculator, todo list, or something similarly simple?

yeah, we just plain forgot to put that back on the landing page. mea culpa

https://github.com/tauri-apps/tauri/tree/dev/examples/api

Re: Tauri: Rust-based Electron alternative releases beta

#64
post #2

Hey - I am nothingismagick aka Denjell, one of the founders of Tauri, and will do my best to answer your questions about the project, rust, wasm, etc. https://github.com/tauri-apps/tauri

Interesting that you guys list "No Rust Skills Required" as a Pro instead of a Con. As a Rust programmer I'd prefer "No JS Required"

Re: Tauri: Rust-based Electron alternative releases beta

#65
post #16

I’ve seen this before, and I still have no idea what it does. If it’s an electron alternative, is it too much to ask to show an image of a webapp running on a desktop (preverably a variation of every OS) front and center on the landing page? I’d like to see it working immediately, without needing to watch any videos.

We are going to put our demo app (that showcases the API) front and center on the landing page. Thanks for the input

https://github.com/tauri-apps/tauri/tree/dev/examples/api

Re: Tauri: Rust-based Electron alternative releases beta

#66
post #62

Earlier quoted context omitted.

> for people like yourself It's not for "people like me," it's for everyone. In terms of volume of traffic you're going to get, no one else cares about this stuff. Here's an example of one of my projects where I do just that: https://www.planimeter.org/grid-sdk/ Literally! I tell people what my team has built. I show them a screenshot. I then provide API examples. Mine could be better if I provided screenshots per AP…

We actually had this at an earlier stage during the alpha, but got so caught up in the alpha that we just plain forgot to put the apps for mac, win and linux back up there. We'll try to get that done this weekend. We have a full "API Explorer" app that we built... https://github.com/tauri-apps/tauri/tree/dev/examples/api

You're going to do great. Just steer the ship back in the direction of the elevator pitch experience. After that 20-30 second experience, if people are interested in more (provide Getting Started at the end of all of that, not the beginning,) they will click on it and want to learn more about what you have to offer.

Avoid putting things in people's face before they've gotten to know you. You're not trying to be a food blog throwing pop-ups in people's faces about how they need to subscribe to your newsletter. You're trying to be a competitor to Electron.

Here's what their website tells me what they do:

> Build cross-platform desktop apps with JavaScript, HTML, and CSS

Ah! OK. I'm interested. And see how specific they are? Don't be vague. Don't say "web front-end," what do you mean? React? They then show me screenshots! Of what big companies built!

Then. They provide a Getting Started section. Not great, could be better. I want to see how it's used. But this is the bar. Be better than that bar.

Edit: Even Electron's site provides Getting Started at the end.

Re: Tauri: Rust-based Electron alternative releases beta

#67

I don't care about your YouTube videos, I don't care about your governance, I don't care about your book, tell me what it is in non-marketing speak and show me a screenshot on the front page and shut up about everything else. Tell me what it is, show me what it looks like, provide a "Hello, World!" API example for opening a window on the front page. Stop contributing to landing pages that jerk the consumer around.

I came here to ask, “where is the screenshot?”

Re: Tauri: Rust-based Electron alternative releases beta

#68
As a developer of an Electron app to me a competing framework that doesn't bundle its own rendering engine doesn't make sense, why would I want to trade control over how my app is rendered for ~100MB of disk space?

I might as well just ship a website at that point, almost everything that makes Electron appealing comes from shipping your own rendering engine.

Re: Tauri: Rust-based Electron alternative releases beta

#69
post #54

Earlier quoted context omitted.

Like I wrote in another response, we are due for a landing page revamp, and we'll be sure to make a "nothing but the facts" hero for people like yourself who are concerned that their time is being wasted.

> for people like yourself It's not for "people like me," it's for everyone. In terms of volume of traffic you're going to get, no one else cares about this stuff. Here's an example of one of my projects where I do just that: https://www.planimeter.org/grid-sdk/ Literally! I tell people what my team has built. I show them a screenshot. I then provide API examples. Mine could be better if I provided screenshots per AP…

Great landing page. Straight to the point. OT question: what makes the engine multiplayer-first?

Re: Tauri: Rust-based Electron alternative releases beta

#70
post #60
post #37

Earlier quoted context omitted.

That seems to eliminate one of main advantages of electron, the consistent runtime environment. If your html/css/is has to work correctly in EdgeHTML, Safari Webview, and Blink, you are limited to the lowest common denominator features. Electron with Chromium has the largest feature set out of all of those.

Electron has two "sides" to it — a renderer process, and a NodeJS process, that communicate over IPC (where as far as the renderer is concerned, the NodeJS process is kind of like a very intrusive browser extension.) AFAIK, if you're writing a greenfield Electron app, it's best to do as little as possible in the renderer side, and as much as possible in the Node.js side, because the Node.js side has things like nativ…

This is actually untrue, you want to do as much as possible in the renderer process. The main NodeJS process is responsible for all user interaction, including mouse clicks and keyboard input. If you block the main process, the entire app will become unresponsive
Post reply on HN