Earlier quoted context omitted.
Back in the day people coded lightweight because it wouldn't run otherwise, and speed mattered in single core sub-GHz CPUs. We don't have that same constraint today, how do we get people to write more efficient code?
Operating systems should being pointing fingers at egregiously heavy apps. It’s not perfect but the battery menu on macOS pointing out apps consuming a lot of energy has inspired a good amount of efficiency work for macOS ports of things because users see it and gripe at developers about it. I would like to see that taken a step further. Something like the system showing a notification banner saying something to the…
Tauri – Electron alternative written in Rust
151–160 of 435 posts
Re: Tauri – Electron alternative written in Rust
#152Earlier quoted context omitted.
I would be curious if anybody onboarded an Tauri application into the Mac App Store and if it builds for M1?
It cheerfully builds and runs on M1.
Re: Tauri – Electron alternative written in Rust
#153Re: Tauri – Electron alternative written in Rust
#154I 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.
It makes perfect business sense to use electron. It opens paths which otherwise would be very costly and hence infeasible.
Re: Tauri – Electron alternative written in Rust
#155Earlier quoted context omitted.
Sounds like a frustrated open source maintainer who has had to handhold users and perhaps isn't terribly good at it. Does that speak to technical competence of the project? Not sure. This seems pretty mild compared to Linus Torvalds' infamous excoriations. That said, I would hope the maintainers and devs would spend time reviewing issues to become familiar with the feedback, at a minimum. I for one want a faster Elec…
Re: Linus, at least the linux kernel works. More seriously, you’re correct. See the new edit. Likely a good project, just doesn’t work well on M1 AFAIK, and doesn’t seem super friendly.
Re: Tauri – Electron alternative written in Rust
#156This is a really horrible project and should be avoided IMO. Not only are the instructions on their website incorrect for building & installation on M1 Macs, you cannot run the app without it crashing on M1. https://github.com/tauri-apps/tauri/issues/2421 https://github.com/tauri-apps/tauri/issues/2934 These things are not a big deal! Bugs happen. I would be more than happy to contribute and try to help fix these thi…
I'm glad to see that you've retracted this, but note per HN Commenting Guidelines: "Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something."
Re: Tauri – Electron alternative written in Rust
#157This is a really horrible project and should be avoided IMO. Not only are the instructions on their website incorrect for building & installation on M1 Macs, you cannot run the app without it crashing on M1. https://github.com/tauri-apps/tauri/issues/2421 https://github.com/tauri-apps/tauri/issues/2934 These things are not a big deal! Bugs happen. I would be more than happy to contribute and try to help fix these thi…
I have to say, this was a quite unpleasant and unwelcoming interaction as my question was genuine and I indeed did do some extensive research before asking this question in Discord.
As a devtools founder myself (co-founded www.prisma.io) I highly value welcoming and helpful communities and offered my help to the people behind the Tauri project to turn it into a more welcoming community. I hope they are open to it since I actually really enjoy using Tauri as a project.
Re: Tauri – Electron alternative written in Rust
#158This is a really horrible project and should be avoided IMO. Not only are the instructions on their website incorrect for building & installation on M1 Macs, you cannot run the app without it crashing on M1. https://github.com/tauri-apps/tauri/issues/2421 https://github.com/tauri-apps/tauri/issues/2934 These things are not a big deal! Bugs happen. I would be more than happy to contribute and try to help fix these thi…
But the contents aren't very problematic. This is one person tired of repeating himself in a chat.
The issues up there have a much more reasonable discussion.
I wouldn't embargo the project due to it, but it's worth looking if they have a better channel than the discord one. Anyway, the Mac isn't a good environment for webviewers (notice that there are other projects with this same known bug).
Re: Tauri – Electron alternative written in Rust
#159Earlier quoted context omitted.
People around here seem to really struggle with the miracle that is getting into soft dev from nothing and then actually being employable in the capitalist sense after 6 or so month. Of course it's a trade off! We enabled this miracle by training people that have a very focused, narrow understanding of not even a field but a particular tech. Electron is basically the perfect fit for this type of education. It enables…
>"It enables someone to build something where previously they could build nothing. It makes getting from 0 to 1 that much easier." Making GUI apps using Electron tech for front end is no less time consuming than doing GUI in Lazarus for example. But the end result is way more frugal in the latter case.
It is a lot faster if you already know web tech stack, and you would have to learn Lazarus/pascal
Re: Tauri – Electron alternative written in Rust
#160Earlier quoted context omitted.
CSS has too much old crap, how many ways you can center a thing? How many ways you can horizontal align some stuff? There should be only 1 way and that way should not have hacks like use negative margins. What a Qt or other similar frameworks gives you is consistency, all components in all apps will look and work the same (with the exception of customized ones). This means you can focus on UX and not on bad design. M…
> There should be only 1 way and that way should not have hacks like use negative margins. There is: flexbox and grid. All kinds of alignment can be done with basically a one-liner in both layout systems, without any hacks.
You missed the part with "there should be ONLY 1 way". I know about flex and grid, this are new and thanks the gods we finally we have something decent (not good).
Flexbox is great I wish to magically remove or magically fix all the code that does not use it and instead uses "float" or other shit.
You would say "don't use the other old shit" but my point was that we need a GUI framework that does not have 1 million lines of code for supporting this old stuff. If we really want to use HTMl a language for documents to write GUIs then we should make a new version that is the modern subset of html and css, where you ONLy have 1 way to do a thing (remove or limit the use of float, don't support all boxing models, simplify the layout rules so I don't have to google and find that to make something to work I have to set min=width=0 so the css engine follows a different path and does the correct thing)