René's URL Explorer Experiment


Title: python-csp syntax overhall · Issue #17 · futurecore/python-csp · GitHub

Open Graph Title: python-csp syntax overhall · Issue #17 · futurecore/python-csp

X Title: python-csp syntax overhall · Issue #17 · futurecore/python-csp

Description: From old Google Code repo: Think about whether python-csp "syntax" is optimal. The thoughts below are from an ancient email thread, never implemented: One is that I would like to see Processes, Pars, Seqs and Alts (and Barriers / Buckets...

Open Graph Description: From old Google Code repo: Think about whether python-csp "syntax" is optimal. The thoughts below are from an ancient email thread, never implemented: One is that I would like to see Processes, Par...

X Description: From old Google Code repo: Think about whether python-csp "syntax" is optimal. The thoughts below are from an ancient email thread, never implemented: One is that I would like to see Proc...

Opengraph URL: https://github.com/futurecore/python-csp/issues/17

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"python-csp syntax overhall","articleBody":"From old Google Code repo:\n\nThink about whether python-csp \"syntax\" is optimal. The thoughts below are from an ancient email thread, never implemented:\n\nOne is that I would like to see `Process`es, `Par`s, `Seq`s and `Alt`s (and `Barrier`s / `Bucket`s / ... if possible) as combinators in python-csp that are all \"first-class\" and can all take one another as arguments to their constructors. It would be nice and elegant to avoid special cases here. So we could say things like:\n\n``` python\nmyProc() // [myAlt(), mySeq(), myPar(), myChannel()]\n```\n\nand all of those would run in parallel.\n\nClunky syntax, the issue now is that we're close to this in python-csp, by having only two sorts of base classes in the library: processes and guards. `Guard`s are for synchronising on and processes\nare for computation, but a guard cannot be \"run\" like a process can and a process does not implement `read` / `write` / `select` like a guard does. Python works by duck typing, so the real difference between `Guard` and `Process` types is that the latter implements a `start` method which starts a process running, and `Guard`s can \"read\" and \"write\". Barriers break this model entirely because we have used `Channels()` as being the default sort of guard, which I'm now beginning to question.\n\nA very simple way to unify guards and processes would be for an `Alt`, when it \"runs\" to have an infinite loop which repeatedly calls `Alt.select()` (and variants of that for priority selection, etc). Equally, we could have `ReadChannel()` and `WriteChannel()` classes which `read()` and `write()` indefinitely, and so on. I'm not sure how the converse would work by allowing processes to be synchronised on, but the answer could be to make `Barrier`s the base class for guards, and\nhave `Channel`s extend the `Barrier` class and change round all the method names to suit.\n\nThis is relatively simple to implement, but I'm not entirely sold on it as a way forward. Firstly, when synchronisation primitives get more complicated I'm not sure if the model will break down. `Bucket`s are something we'll want to have for our own work on pervasive computing and no doubt there will be other useful primitives too. Secondly, I haven't (yet) written a nice CSP model of all of these ideas, but i think it's worth doing, not so much to check deadlocks as the scheme is quite simple, but really to get a better idea of the style of programs which might result.\n","author":{"url":"https://github.com/snim2","@type":"Person","name":"snim2"},"datePublished":"2012-10-03T18:57:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/17/python-csp/issues/17"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:86ed9814-8d12-fd9c-b196-a7abb3576870
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBFF8:1C418C:D0C4BA:12D33AB:6A4CC4A0
html-safe-nonceddab1f99643d2afb8c312ade8c739fc6037cfd6144ef01987c112afbf38449ac
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkY4OjFDNDE4QzpEMEM0QkE6MTJEMzNBQjo2QTRDQzRBMCIsInZpc2l0b3JfaWQiOiI1MTQ1ODEwNjkxNDY3MDM1ODA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace9167643df4b100dea7c23d06d8e764dabb248d50fc47a75aa760fc669da23d6
hovercard-subject-tagissue:7331034
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/futurecore/python-csp/17/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0160449c97d093e6cd73b2adf525a69086c8d550627a788566c5646b7c206d8c/futurecore/python-csp/issues/17
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0160449c97d093e6cd73b2adf525a69086c8d550627a788566c5646b7c206d8c/futurecore/python-csp/issues/17
og:image:altFrom old Google Code repo: Think about whether python-csp "syntax" is optimal. The thoughts below are from an ancient email thread, never implemented: One is that I would like to see Processes, Par...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesnim2
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
turbo-cache-controlno-preview
go-importgithub.com/futurecore/python-csp git https://github.com/futurecore/python-csp.git
octolytics-dimension-user_id8041718
octolytics-dimension-user_loginfuturecore
octolytics-dimension-repository_id6064533
octolytics-dimension-repository_nwofuturecore/python-csp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id6064533
octolytics-dimension-repository_network_root_nwofuturecore/python-csp
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released0da0eb92994395299ed4450bf67b0373005be36
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/futurecore/python-csp/issues/17#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffuturecore%2Fpython-csp%2Fissues%2F17
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffuturecore%2Fpython-csp%2Fissues%2F17
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=futurecore%2Fpython-csp
Reloadhttps://github.com/futurecore/python-csp/issues/17
Reloadhttps://github.com/futurecore/python-csp/issues/17
Reloadhttps://github.com/futurecore/python-csp/issues/17
Please reload this pagehttps://github.com/futurecore/python-csp/issues/17
futurecore https://github.com/futurecore
python-csphttps://github.com/futurecore/python-csp
Notifications https://github.com/login?return_to=%2Ffuturecore%2Fpython-csp
Fork 10 https://github.com/login?return_to=%2Ffuturecore%2Fpython-csp
Star 110 https://github.com/login?return_to=%2Ffuturecore%2Fpython-csp
Code https://github.com/futurecore/python-csp
Issues 19 https://github.com/futurecore/python-csp/issues
Pull requests 0 https://github.com/futurecore/python-csp/pulls
Actions https://github.com/futurecore/python-csp/actions
Projects https://github.com/futurecore/python-csp/projects
Wiki https://github.com/futurecore/python-csp/wiki
Security and quality 0 https://github.com/futurecore/python-csp/security
Insights https://github.com/futurecore/python-csp/pulse
Code https://github.com/futurecore/python-csp
Issues https://github.com/futurecore/python-csp/issues
Pull requests https://github.com/futurecore/python-csp/pulls
Actions https://github.com/futurecore/python-csp/actions
Projects https://github.com/futurecore/python-csp/projects
Wiki https://github.com/futurecore/python-csp/wiki
Security and quality https://github.com/futurecore/python-csp/security
Insights https://github.com/futurecore/python-csp/pulse
python-csp syntax overhallhttps://github.com/futurecore/python-csp/issues/17#top
https://github.com/snim2
snim2https://github.com/snim2
on Oct 3, 2012https://github.com/futurecore/python-csp/issues/17#issue-7331034
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.