René's URL Explorer Experiment


Title: Design note: Unsafe code · hsutter/cppfront Wiki · GitHub

Open Graph Title: Design note: Unsafe code

X Title: Design note: Unsafe code

Description: A personal experimental C++ Syntax 2 -> Syntax 1 compiler - Design note: Unsafe code · hsutter/cppfront Wiki

Open Graph Description: A personal experimental C++ Syntax 2 -> Syntax 1 compiler - hsutter/cppfront

X Description: A personal experimental C++ Syntax 2 -> Syntax 1 compiler - hsutter/cppfront

Opengraph URL: https://github.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/wiki/:id(.:format)
route-controllerwiki
route-actionshow
fetch-noncev2:8f07131d-4597-9c72-7302-2c433fd43552
current-catalog-service-hash27690012a2eb28b75d0bacab0f2c11870266e8db9e019fa71fea812b82397bd6
request-idC2C6:11DD51:3EA432C:522AC89:6992D68C
html-safe-noncea9ad7210b49ab91189692f3c04c22623e75d3fc2deb35037154b068128fe332a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkM2OjExREQ1MTozRUE0MzJDOjUyMkFDODk6Njk5MkQ2OEMiLCJ2aXNpdG9yX2lkIjoiNDE4NDM5Mjg5MjI4OTMwODMwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7bbea2b637fb43db88151061e5eeee7ecf4017ce620851b0f76452ffc7f47e24
hovercard-subject-tagrepository:406923731
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///wiki/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
twitter:imagehttps://opengraph.githubassets.com/4eee5a71d4c1400f51c837d1d834b4e5e35eef0ea162e88a98a1ee7a06b3aed9/hsutter/cppfront
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4eee5a71d4c1400f51c837d1d834b4e5e35eef0ea162e88a98a1ee7a06b3aed9/hsutter/cppfront
og:image:altA personal experimental C++ Syntax 2 -> Syntax 1 compiler - hsutter/cppfront
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/hsutter/cppfront git https://github.com/hsutter/cppfront.git
octolytics-dimension-user_id1801526
octolytics-dimension-user_loginhsutter
octolytics-dimension-repository_id406923731
octolytics-dimension-repository_nwohsutter/cppfront
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id406923731
octolytics-dimension-repository_network_root_nwohsutter/cppfront
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
release84dcb133269e3cfe6e0296cc85fbacb92cae92bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhsutter%2Fcppfront%2Fwiki%2FDesign-note%3A-Unsafe-code
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhsutter%2Fcppfront%2Fwiki%2FDesign-note%3A-Unsafe-code
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fwiki%2Fshow&source=header-repo&source_repo=hsutter%2Fcppfront
Reloadhttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Reloadhttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Reloadhttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
hsutter https://patch-diff.githubusercontent.com/hsutter
cppfronthttps://patch-diff.githubusercontent.com/hsutter/cppfront
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fhsutter%2Fcppfront
Fork 266 https://patch-diff.githubusercontent.com/login?return_to=%2Fhsutter%2Fcppfront
Star 5.9k https://patch-diff.githubusercontent.com/login?return_to=%2Fhsutter%2Fcppfront
Code https://patch-diff.githubusercontent.com/hsutter/cppfront
Issues 190 https://patch-diff.githubusercontent.com/hsutter/cppfront/issues
Pull requests 11 https://patch-diff.githubusercontent.com/hsutter/cppfront/pulls
Discussions https://patch-diff.githubusercontent.com/hsutter/cppfront/discussions
Actions https://patch-diff.githubusercontent.com/hsutter/cppfront/actions
Wiki https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki
Security 0 https://patch-diff.githubusercontent.com/hsutter/cppfront/security
Insights https://patch-diff.githubusercontent.com/hsutter/cppfront/pulse
Code https://patch-diff.githubusercontent.com/hsutter/cppfront
Issues https://patch-diff.githubusercontent.com/hsutter/cppfront/issues
Pull requests https://patch-diff.githubusercontent.com/hsutter/cppfront/pulls
Discussions https://patch-diff.githubusercontent.com/hsutter/cppfront/discussions
Actions https://patch-diff.githubusercontent.com/hsutter/cppfront/actions
Wiki https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki
Security https://patch-diff.githubusercontent.com/hsutter/cppfront/security
Insights https://patch-diff.githubusercontent.com/hsutter/cppfront/pulse
Jump to bottomhttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code#wiki-pages-box
5 revisionshttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code/_history
https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code#q-should-we-be-able-to-implement-very-low-level-facilities-in-cpp2-if-so-will-it-have-unsafe-blocksfunctions
https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code#a-yes-i-intend-that-we-can-write-full-programs-in-cpp2-syntax-only-no-im-not-a-fan-of-unsafe-as-a-monolithic-hammer-i-want-to-be-able-to-declare-my-intent-of-which-rules-i-want-to-break-and-suspend-only-those
Home https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki
Please reload this pagehttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Cpp2 setup: Visual Studio https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Cpp2-setup:-Visual-Studio
Please reload this pagehttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Cpp2: operator=, this & that https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Cpp2:-operator=,-this-&-that
Please reload this pagehttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Design note: ABI https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-ABI
Please reload this pagehttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Design note: Capture https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Capture
Please reload this pagehttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Design note: Commas https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Commas
Please reload this pagehttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Design note: const objects by default https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-const-objects-by-default
Please reload this pagehttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Design note: Cpp2 name https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Cpp2-name
Please reload this pagehttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Design note: Defaults are one way to say the same thing https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Defaults-are-one-way-to-say-the-same-thing
Please reload this pagehttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Design note: Explicit discard https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Explicit-discard
Please reload this pagehttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Design note: Namespaces https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Namespaces
Please reload this pagehttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Design note: Postfix operators https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Postfix-operators
Please reload this pagehttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Design note: Postfix unary operators vs binary operators https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Postfix-unary-operators-vs-binary-operators
Please reload this pagehttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Design note: Replacing the preprocessor with reflection and generation https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Replacing-the-preprocessor-with-reflection-and-generation
Please reload this pagehttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Design note: UFCS https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-UFCS
Please reload this pagehttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Design note: Unambiguous parsing https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unambiguous-parsing
Please reload this pagehttps://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Design note: Unsafe code https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code
Q: Should we be able to implement very-low-level facilities in Cpp2? If so will it have unsafe blocks/functions?https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code#q-should-we-be-able-to-implement-very-low-level-facilities-in-cpp2-if-so-will-it-have-unsafe-blocksfunctions
A: Yes, I intend that we can write full programs in Cpp2 syntax only. No, I'm not a fan of "unsafe" as a monolithic hammer, I want to be able to declare my intent of which rules I want to break and suspend only those.https://patch-diff.githubusercontent.com/hsutter/cppfront/wiki/Design-note:-Unsafe-code#a-yes-i-intend-that-we-can-write-full-programs-in-cpp2-syntax-only-no-im-not-a-fan-of-unsafe-as-a-monolithic-hammer-i-want-to-be-able-to-declare-my-intent-of-which-rules-i-want-to-break-and-suspend-only-those
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.