3 ms·
This is what frustrates me with JS development/the ecosystem - why use Astrodon instead of Tauri directly, with deno and whatever else you want? Sure maybe a bi
by OJFord 4y ago
This is what frustrates me with JS development/the ecosystem - why use Astrodon instead of Tauri directly, with deno and whatever else you want? Sure maybe a bit quicker to get started, but there's more unknown/unfamiliar, another set of docs to look at, another thing that could be the cause when something goes wrong, just unnecessary indirection.
Or put another way, why isn't this just a template repo, why does it need it's own 'community', versioning, plugin system etc., it just seems like an annoying level to have a framework at to me - on top of Tauri but beneath any svelte/vue/etc. framework you might use.
- 5350-uiop-1130 4y ago> why use Astrodon instead of Tauri directly, with deno i haven't heard of any of these. even deno just heard today.
- OJFord 4y agoWell that's my point really, this sort of behaviour of the ecosystem leads to exponential 'stuff' to be (not) aware of. Tauri's the Electron-like bit doing the bulk of the work here. It's framework & JS runtime agnostic, just packages up your compiled frontend with your Rust backend, and provides an API between the two.
- adolph 4y agoDoes that mean I get to link you to Bun? https://www.youtube.com/watch?v=FMhScnY0dME https://www.youtube.com/watch?v=FMhScnY0dME https://bun.sh/ https://bun.sh/ https://xkcd.com/1053/ https://xkcd.com/1053/
- talkingtab 4y agoI am not currently familiar with Tauri or Astrodon, but it appears that Tauri uses Nodejs and Astrodon uses Deno. For me this makes Atrodon more appealing as it appears that despite years of using Node, in the future I may move to Deno. Certainly I am going to try Deno. And since I do build some small desktop things with Electron, I might try Astrodon for them. Thank you Node. Thank you Electron. Thank you Deno and thank you Tauri and Astrodon.
- OJFord 4y agoI'm about 95% certain Tauri doesn't care what you use, though I've only used Node and I'm sure all its quickstart docs assumes so too, but basically it just needs to know how to bundle your frontend, it doesn't care what you write it with or how you compile it. Tauri itself is written in Rust. You could have a static page that loads the rest by SSR in Rust and no node/deno/anything.
- sieabahlpark 4y ago
- jsmith45 4y agoMy understanding is that Tauri is designed for using a Rust back end (i.e. the code responsible for creating windows, and native platform interop), with arbitary html+javascript front-end. One can think of it more as a way of creating a web-tech based UI for your program otherwise written in rust. Astrodon on the other hand appears to be designed around allowing you to write the back-end in javascript running on Deno, with the front end still being arbitrary html+javascript. The net result being more akin to a deno powered electron (instead of a node powered one).