HackerTrans
TopNewTrendsCommentsPastAskShowJobs

catern

no profile record

comments

catern
·10 месяцев назад·discuss
>What would be the syntax for promise pipelining, if you aren't using promises to start with?

Oh, great point! That does seem really hard, maybe even intractable. That's definitely a reason to like cooperative concurrency, huh...

Just to tangent even further, but some ideas:

- Do it the ugly way: add an artificial layer of promises in an otherwise pre-emptive, direct-style language. That's just, unfortunately, quite ugly...

- Use a lazy language. Then everything's a promise! Some Haskell optimizations feel kind of like promise pipelining. But I don't really like laziness...

- Use iterator APIs; that's a slightly less artificial way to add layers of promises on top of things, but still weird...

- Punt to the language: build an RPC protocol into the language, and promise pipelining as a guaranteed optimization. Pretty inflexible, and E already tried this...

- Something with choreographic programming and modal-types-for-mobile-code? Such languages explicitly track the "location" of values, and that might be the most natural way to represent ocap promises: a promise is a remote value at some specific location. Unfortunately these languages are all still research projects...
catern
·10 месяцев назад·discuss
I totally agree with your framing of the value of async/await, but could you elaborate more on why you think that this behavior (which I would call "cooperative concurrency") is important for (ocap?) RPC systems? It seems to me that preemptive concurrency also suffices to make RPC viable. Unless you just feel that preemptive concurrency is too hard, and therefore not workable for RPC systems?
catern
·3 года назад·discuss
It is unfortunate that there are poorly-managed projects with poorly-managed mailing lists (just like there are poorly-managed projects on Github), but sourcehut at least requires a properly-managed mailing list, and I think you should evaluate this workflow on that standard. Tell poorly-managed projects to move to sourcehut, if you want to fix this issue.
catern
·3 года назад·discuss
You don't have to subscribe to send a patch to a mailing list.
catern
·3 года назад·discuss
That specific workflow precludes reviewing the patch via quoting and making inline comments, which is the normal way to review patches when sending them via email.
catern
·4 года назад·discuss
I use Sendgrid's free tier in this exact way, for mail from catern.com.
catern
·11 лет назад·discuss
The manuals built in to Emacs are good, check M-x info.
catern
·11 лет назад·discuss
I much prefer "An Introduction to Programming in Emacs Lisp", which is available both from inside emacs in M-x info, and on the web at https://www.gnu.org/software/emacs/manual/eintr.html
catern
·11 лет назад·discuss
An Introduction to Programming in Emacs Lisp is good, and is available both from inside emacs in M-x info, and on the web at https://www.gnu.org/software/emacs/manual/eintr.html