tusharsadhwani

Joined 5 years ago

Karma
395
Submissions
62
Member since
May 5
Python developer.

Some of my posts may have broken links, the blog currently lives at https://tush.ar

View on Hacker News

Recent submissions

Comment · 2 years ago
that's because it's not a reimplementation, it is cpython recompiled to wasm.
Comment · 2 years ago
I finished this book, wrote the two implementations in Python and Zig, genuinely one of the best set of projects I've ever built.
Comment · 2 years ago
This is already the best API testing client that I have found. It's lightweight, it's snappy, it's intuitive, and it can run on a VPS out of the box over an SSH connection, no proxying needed.
Comment · 2 years ago
Yup, it's extract, fork process, cleanup. It's also fairly easy to extend the project to create installers and let the user choose a path to extract in, and I plan on doing that.

I also believe that sending a signal to the parent will be propagated down, but I haven't tested it.

Comment · 2 years ago
This is brilliant stuff, a very nice high level explanation that skips everything that would make it too boring for a first time reader.

Adding other resources at the end which explain how it _really_ works under the hood would be great.

Comment · 3 years ago
they're beta testing `textual-serve` which does exactly this.
Comment · 3 years ago
thanks for the non paywalled link!
Comment · 3 years ago
It's true, the truly cursed method should never be used in a project that you actually aim to use. But, I just wanted to see how close I could get to the original idea, regardless of how "bad" the solution ended up being.

The second method indeed goes very far! I've made some very cool libraries and talks with that alone.

Comment · 3 years ago
it does!
Comment · 3 years ago
you're welcome!
Comment · 3 years ago
If you think about it it's no different than wasm already.

And wasm has been accessible for at least 4 years now, and yet nobody has given up react and typescript.

wasm is being used to do compute heavy work efficiently, and giving that data back to js. and this will allow doing that but with the 60 or so years of unix programs that already exist. code reuse to the highest extent. how cool is that?

Comment · 3 years ago
requirements.txt doesn't support putting your python version in it
Comment · 4 years ago
Projects can't keep using an old compilers because of security patches though. At some point, the old versions are too old to keep the security up to date.

A more common example, what if a library that you use stops supporting the old version, and the latest compatible release of the library has a security vulnerability.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton