Live data from Hacker News

Viewing profile — hoodchatham

hoodchatham

HN member
Joined
Mon, Dec 27, 2021, 7:36 AM UTC
HN karma
18
Public activity
17 items

About hoodchatham

No profile information was provided.

Recent public activity

  1. comment
    Comment #49129868

    See also "Camus and Sartre: The Story of a Friendship and the Quarrel that Ended It" https://press.uchicago.edu/Misc/Chicago/027961.html

  2. comment
    Comment #48528628

    crates.io is for distributing source code, pypi is primarily for distributing wheels which contain a mixture of Python code and compiled shared libraries.

  3. comment
    Comment #48524406

    That video was a major inspiration for me and probably indirectly led to me becoming a Pyodide maintainer.

  4. comment
    Comment #45373924

    It says the same thing in the pyodide repl for what it's worth.

  5. comment
    Comment #44656757

    Reference types makes wasm/js interoperability way cleaner and easier. wasm-gc added a way to test a function pointer for whether it will trap or not. And JSPI is a standard since …

  6. comment
    Comment #43371140

    Yes, it has all the normal CORS restrictions. If you're curious, the PR that added support for this is here: https://github.com/urllib3/urllib3/pull/3195

  7. comment
    Comment #43177549

    The actual code example he made runs about 100 times faster in Spy/emscripten than in Pyodide.

  8. comment
    Comment #39908964

    Pyodide uses its own event loop which just subscribes to the JavaScript event loop. My suspicion is that this will be more efficient than using uvloop since v8's event loop is quit…

  9. comment
    Comment #39908759

    Are people maintaining wasi ports of Python 2.7 and 3.8?

  10. comment
    Comment #39906711

    I certainly think there's an 80/20 rule here. Most packages are not very hard to port, and generally the ones that are hard to build use features like threads and multiprocessing, …

  11. comment
    Comment #39291903

    As far as I'm aware, even discarding the instance isn't good enough, since v8 doesn't seem to reclaim the Wasm Linear Memory ever. I think the only thing you can do is start it in …

  12. comment
    Comment #39199567

    aiohttp is still work in progress but it works with a monkey patch. https://github.com/aio-libs/aiohttp/pull/7803

  13. comment
    Comment #31234715

    To be clear these are all use cases of Pyodide. PyScript only was released two days ago so it's harder to point to real world uses.

  14. comment
    Comment #31234705

    > Why? This isn't good for most web use cases but there are some major new use cases that it enables. Pyodide is in Python documentation all over the place, for instance on https:/…

  15. comment
    Comment #31234574

    Adding -Os to the Pyodide compilation flags has proven surprisingly hard: https://github.com/pyodide/pyodide/pull/1882 But some other low hanging fruit include unvendoring the spec…

  16. comment
    Comment #31234535

    Agreed, wasm loading is supposed to be cached but in practice it doesn't seem to happen.

  17. comment
    Comment #29700418

    I'm confused how this would work. What about METH_VARARGS | METH_KEYWORDS functions? These are declared with type PyObject* f(PyObject*, PyObject*, PyObject*), are cast to PyObject…