René's URL Explorer Experiment


Title: Compiler CLI and Scalability · Issue #131 · racketscript/racketscript · GitHub

Open Graph Title: Compiler CLI and Scalability · Issue #131 · racketscript/racketscript

X Title: Compiler CLI and Scalability · Issue #131 · racketscript/racketscript

Description: This document proposes to replace/(enhance) the racks tool currently used to compile RacketScript programs. Motivation racks is slow It compiles each file serially, which is particularly frustrating during first compilation. We did some ...

Open Graph Description: This document proposes to replace/(enhance) the racks tool currently used to compile RacketScript programs. Motivation racks is slow It compiles each file serially, which is particularly frustratin...

X Description: This document proposes to replace/(enhance) the racks tool currently used to compile RacketScript programs. Motivation racks is slow It compiles each file serially, which is particularly frustratin...

Opengraph URL: https://github.com/racketscript/racketscript/issues/131

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compiler CLI and Scalability","articleBody":"This document proposes to replace/(enhance) the `racks` tool currently used to compile RacketScript programs.\r\n\r\n## Motivation\r\n\r\n### `racks` is slow\r\n\r\n- It compiles each file serially, which is particularly frustrating during first compilation.\r\n- We did some work to avoid recompiling unchanged modules, but it still not foolproof and may require full recompile under certain circumstances. Eg. If a module with macro changes, any other module using that macro must be recompiled.\r\n- The identifier graph used to follow the bindings is recomputed in each run, which takes noticeable number of seconds. This graph can potentially be cached, and only affected modules should be processed to update this graph.\r\n  \r\n### `racks` is impractical\r\n\r\nIt simply compiles what it gets. It has no notion of `package.json`, `info.rkt` which is often used in practical applications. It overwrites `package.json` with the default one.\r\n\r\nSome common examples:\r\n\r\n- User can't specify JS dependencies at all.\r\n- No control over how to produce the distribution JavaScript file, and limited to what we allow to use e.g. Gulp, Babel, Minifiers ...\r\n- Plain JavaScript files has to be copied manually to distribution directory.\r\n  \r\n## Proposal\r\n\r\n`racks` should be replaced with a tool that more or less is like what `raco` is to Racket or `lein` is to ClojureScript. Here's a rough workflow I see:\r\n\r\n\r\n- Create a new project:\r\n\r\n\t\tracks init my-new-project\r\n\r\n- Install all dependencies:\r\n\r\n\t\tracks install\r\n\r\n- Create a new project using some a template project structure. However, unlike current situation, this is used just to create project. The config can be edited to whatever.\r\n\r\n\t\tracks init my-new-project -t babel-webpack\r\n\r\n- Builds the project:\r\n\r\n\t\tracks build\r\n\r\n- Watch the project and build automatically:\r\n\r\n\t\tracks build --watch\r\n\t\t\r\n- Start a REPL\r\n\r\n\t\tracks repl\r\n\r\n\r\nAll these command could be simple `raco` extensions, like `raco racketscript \u003csubcommand\u003e`, and `racks` can just be alias for `raco racketscript` or something like that.\r\n\r\nSecondly, compilation of each module should be independent of other module as much as possible. There is only much we can do here as mentioned earlier, but there is still scope.\r\n\r\n`info.rkt` can act as combined project configuration, i.e. for both Racket and JavaScript. Since, `package.json` is simply a JSON, it can just be a S-expression in `info.rkt`. The project config can also specify the main entry point, any additional JavaScript/static files that needs to copied, or pretty much anything user may want to do pre/post operations.\r\n\r\n\r\n## Conclusion\r\n\r\nThe documents proposes much more than what we have currently have time and resources for. However I believe it is certainly something we should start thinking about. I will keep on updating this document based on later discussions.\r\n\r\nThis shouldn't require any changes to existing compiler or runtime, and can be built as a new script. So, while we slowly work on it, it shouldn't block us with any other tasks in hand.\r\n","author":{"url":"https://github.com/vishesh","@type":"Person","name":"vishesh"},"datePublished":"2017-09-12T07:25:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/131/racketscript/issues/131"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c628f747-2ab1-2e65-f0b6-4becb101d1b0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE768:1587BA:711A34D:946FA4D:696DBB47
html-safe-nonce9306bf1d63ec300d25d5de7c27d0a506699a0e12d62c60482f4cf841263517a2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzY4OjE1ODdCQTo3MTFBMzREOjk0NkZBNEQ6Njk2REJCNDciLCJ2aXNpdG9yX2lkIjoiNzg0Nzc4ODczMDYyODU1MzU0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace1d57956658ad258b15086e223393b4b812fac74005d9cc1e37ab5a37637069a
hovercard-subject-tagissue:256943456
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/racketscript/racketscript/131/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e678a1f1a90270ca81909ad9304ce623e5df1741d9dff8a778ba6d35f16052ab/racketscript/racketscript/issues/131
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e678a1f1a90270ca81909ad9304ce623e5df1741d9dff8a778ba6d35f16052ab/racketscript/racketscript/issues/131
og:image:altThis document proposes to replace/(enhance) the racks tool currently used to compile RacketScript programs. Motivation racks is slow It compiles each file serially, which is particularly frustratin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevishesh
hostnamegithub.com
expected-hostnamegithub.com
None4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064
turbo-cache-controlno-preview
go-importgithub.com/racketscript/racketscript git https://github.com/racketscript/racketscript.git
octolytics-dimension-user_id42381398
octolytics-dimension-user_loginracketscript
octolytics-dimension-repository_id52491211
octolytics-dimension-repository_nworacketscript/racketscript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id52491211
octolytics-dimension-repository_network_root_nworacketscript/racketscript
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
release7e5ae23c70136152637ceee8d6faceb35596ec46
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/racketscript/racketscript/issues/131#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fracketscript%2Fracketscript%2Fissues%2F131
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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%2Fracketscript%2Fracketscript%2Fissues%2F131
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=racketscript%2Fracketscript
Reloadhttps://github.com/racketscript/racketscript/issues/131
Reloadhttps://github.com/racketscript/racketscript/issues/131
Reloadhttps://github.com/racketscript/racketscript/issues/131
racketscript https://github.com/racketscript
racketscripthttps://github.com/racketscript/racketscript
Notifications https://github.com/login?return_to=%2Fracketscript%2Fracketscript
Fork 32 https://github.com/login?return_to=%2Fracketscript%2Fracketscript
Star 731 https://github.com/login?return_to=%2Fracketscript%2Fracketscript
Code https://github.com/racketscript/racketscript
Issues 73 https://github.com/racketscript/racketscript/issues
Pull requests 8 https://github.com/racketscript/racketscript/pulls
Discussions https://github.com/racketscript/racketscript/discussions
Actions https://github.com/racketscript/racketscript/actions
Projects 0 https://github.com/racketscript/racketscript/projects
Wiki https://github.com/racketscript/racketscript/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/racketscript/racketscript/security
Please reload this pagehttps://github.com/racketscript/racketscript/issues/131
Insights https://github.com/racketscript/racketscript/pulse
Code https://github.com/racketscript/racketscript
Issues https://github.com/racketscript/racketscript/issues
Pull requests https://github.com/racketscript/racketscript/pulls
Discussions https://github.com/racketscript/racketscript/discussions
Actions https://github.com/racketscript/racketscript/actions
Projects https://github.com/racketscript/racketscript/projects
Wiki https://github.com/racketscript/racketscript/wiki
Security https://github.com/racketscript/racketscript/security
Insights https://github.com/racketscript/racketscript/pulse
New issuehttps://github.com/login?return_to=https://github.com/racketscript/racketscript/issues/131
New issuehttps://github.com/login?return_to=https://github.com/racketscript/racketscript/issues/131
Compiler CLI and Scalabilityhttps://github.com/racketscript/racketscript/issues/131#top
discussionhttps://github.com/racketscript/racketscript/issues?q=state%3Aopen%20label%3A%22discussion%22
https://github.com/vishesh
https://github.com/vishesh
visheshhttps://github.com/vishesh
on Sep 12, 2017https://github.com/racketscript/racketscript/issues/131#issue-256943456
discussionhttps://github.com/racketscript/racketscript/issues?q=state%3Aopen%20label%3A%22discussion%22
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.