Live data from Hacker News

Viewing profile — alfanerd

alfanerd

HN member
Joined
Sun, May 28, 2017, 8:45 AM UTC
HN karma
18
Public activity
12 items

About alfanerd

Python nerd, which believes Python should have async objects, not just async methods :-)

Recent public activity

  1. comment
    Comment #44721616

    I think you only need one queue per actor? And then one worker per CPU core? I believe that how Erlang does it, and do millions of actors without any issues...

  2. comment
    Comment #44721293

    Sending a message between Actors can be just moving a pointer to a piece of shared memory. I think sending messages is more about the way you think about concurrency, more than the…

  3. comment
    Comment #28894511

    Yes, yes, yes and I hope the alternate timeline will start now. IMO the reason that we have so many ways of doing concurrency in Python (fra asyncio, curio, trio to gevent, multipr…

  4. comment
  5. comment
    Comment #23178021

    Of interest might also be Erjang, Kresten Krab's port of BEAM to JVM. https://github.com/trifork/erjang As I understand it, it is feature complete and actually runs Erlang pretty w…

  6. comment
    Comment #16570199

    In my 30+ years experience of concurrency, the shared-nothing message model makes it relative easy to reason about concurrency (since every actor is single threaded). I have worked…

  7. comment
    Comment #15022600

    It is in the Gilectomy branch of Larry Hastings github project. ( https://github.com/larryhastings/gilectomy ) I also pasted the fib test to pastebin: https://pastebin.com/Ryyb2K7V…

  8. comment
    Comment #15016398

    I just made a quick test: CPython-3.6.1 vs. Jython-2.7.0 (May 2015) I ran Larry Hastings' Gilectomy testprogram x.py: fib(40) on 8 threads HW: MacBook Pro, 2015, 8 (4+4) cores, 1Gb…

  9. comment
    Comment #14435316

    You loose access to all the C-libraries that comes with Python. On the other hand you get beautiful integration with all Java libraries very nicely integrated.

  10. comment
    Comment #14434428

    Both Jython (Java impl) and IronPython (C# impl) works fine without the GIL. The big issue is compatibility with C-based libraries, as I hear Larry Hastings, there are three levels…

  11. comment
    Comment #14434331

    Some years ago I wrote pyworks (www.github.com/pylots/pyworks), a proposal for async objects (inspired by ABCL and cooC (Concurrent Object Oriented-C, https://www.researchgate.net/…

  12. comment
    Comment #14434035

    I mean the developer (using a highlevel language as Python) ideally should get more performance on an 8-core than on a 1-core CPU. Erlang, which btw. is older than Python, will per…