Hacker News new | ask | show | jobs
by capableweb 1572 days ago
That's great to finally hear!

I started learning Rust recently and usually start learning new languages by building different kinds of Hacker News clients with the language. This time I focused on a offline-first desktop HN client, that fetches items periodically and allows the user to browse it in a desktop app built with Tauri.

While developing this, I started writing a API with Actix Web at the same time, so the same service could be used directly in the browser, not just with the desktop app. So I found Actix Web to be the most supported.

However, I jumped into the RC versions (in order to use tokio >v1 which I was already using for other things, and you can't mix versions), while most human-written documentation (website, Stack Overflow, forums and such) were written for the pre-4 version. So I'm glad to see it finally released, and can't wait for all the documentation to/web resources to be properly updated as well so I can learn more about Actix Web.

Great work on creating a nice library folks! :)

2 comments

Is this project public? I'd love to have a look at it. Thank you!
Ish, it's still pre-alpha :)

Running it over at https://ditzes.com, source code at https://codeberg.org/ditzes/ditzes

Waiting for reaching alpha status before I post as a Show HN, want to have the desktop builds publishable before then at least too.

"Actix was found by third parties abusing unsafe and when they were auditing most libraries found for Rust on the internet. When the unsafe code was audited it was found that on misuse, it can lead to serious vulnerabilities. So they opened a bunch of issues and added a lot of patches and PR’s in GitHub."

Good luck though

This is an easy mistake to make, but actix-web isn't actix, it's a web framework that uses actix. And while actix once had a controversial reputation regarding unsafety, the project has reversed its stance in the years since that quote was relevant and now appears to treat soundness violations with seriousness.
This is all true except that Actix Web hasn't used actix since v1.0.
Hey bud, you are being really aggressive and disagreeable in here. At this point, I think everyone is aware that you, personally, would not recommend Rust or Actix. Loud and clear my dude.
They have since fixed those issues in actix 3.0
Evidence of that? Or is the whole software world to believe the words of nextaccountic?
Why don't you provide evidence of extant misused `unsafe` first? Or is the whole software world to believe the words of lambda_dn?
Unless the HN API itself gets compromised, I'm not sure what can go wrong by running your own local HN client really (it only communicates with the official HN API). But happy to be showed otherwise.