Hacker News new | past | comments | ask | show | jobs | submit | hesus_ruiz's comments login

The author must have specified in the title: "Blocking code IN RUST is a leaky abstraction".

I am so happy to be using Go for most programs!

It has one of the best concurrency implementations that I have ever seen (Erlang permitting ...). And for most of my programs, the garbage collection is not a problem. It's the opposite: simplifies programming incredibly.

No blocking versus async problems. No libraries for async are needed. Just concurrency (which has its own problems, but this is another story ...).


Generation, signature, verification, and some more crypto operations are performed with the standard browser Crypto APIs (https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypt...).

Storage of the private key is another thing. For a web app it is difficult to acces a hardware-based storage system. So typically it is stored in Localstorage or IndexdedDB, encrypted using a user-provided password. It is possible (but very involved and I have not seen web apps using it) to use WebAuthn for that.


I couldn't explain better, thank you !

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: