From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: Org-mode <emacs-orgmode@gnu.org>,
John Kitchin <jkitchin@andrew.cmu.edu>,
Ken Mankoff <mankoff@gmail.com>,
andrew.stahlman@gmail.com
Subject: Re: ob-async
Date: Sun, 26 Feb 2017 16:46:15 +0100 [thread overview]
Message-ID: <877f4dt0oo.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87efyswrem.fsf@linaro.org> ("Alex Bennée"'s message of "Mon, 20 Feb 2017 20:14:57 +0000")
Hello,
Alex Bennée <alex.bennee@linaro.org> writes:
> Ken Mankoff <mankoff@gmail.com> writes:
>
>> An RSS feed I follow mentioned ob-async here:
>> https://github.com/astahlman/ob-async
>>
>> I haven't seen it mentioned on the list yet. Perhaps others would be
>> interested in asynchronous Babel processing. I've seen the feature
>> requested often on this list.
>
> This is not the first attempt to my knowledge. I know of:
>
> - my hacky attempt https://github.com/stsquad/async-org-babel
> - John Kitchen's python specific version http://kitchingroup.cheme.cmu.edu/blog/2015/11/20/Asynchronously-running-python-blocks-in-org-mode/
> - this matlab version http://emacs.stackexchange.com/questions/21301/async-execution-in-org-babel
>
> So I think there have been enough proof of concepts of using async.el
> and inserting results at a later date. I think what would be really
> useful is some feedback from the org-mode maintainers about the various
> approaches and if something generic could be included with org-mode
> itself.
>
> Any thoughts?
I never used any of these, so please take this with a grain of salt.
AFAIU, these solutions are too limited at the moment. They suffer from
the same problem as current ":cache" parameter, i.e., they seem unable
to cope with blocks that refer and execute other blocks.
IMO, for anything serious, we need to implement something that is able
to capture the "closure" of a block. In this case, all blocks belonging
to that closure would be marked as read-only during the process, so as
to avoid race conditions. We also need to be able to retrieve all the
results from all the blocks involved.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2017-02-26 15:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-16 15:54 ob-async Ken Mankoff
2017-02-20 20:14 ` ob-async Alex Bennée
2017-02-26 15:46 ` Nicolas Goaziou [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-20 13:28 ob-async Roger Mason
2023-03-20 13:49 ` ob-async Roger Mason
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877f4dt0oo.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=alex.bennee@linaro.org \
--cc=andrew.stahlman@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jkitchin@andrew.cmu.edu \
--cc=mankoff@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).