2025-11-03— Last Week in Carbon #6314
josh11b
announced in
Last Week in Carbon
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
News
Updates on leads issues
Selfappear in thewhereexpression ofrequire?requiredeclarations produce a generic in aninterfaceorconstraint.T&) vs. pointer types (T*)?long,long long) and their operations?Updates on proposals
unsafe as Tto get a reference to an uninitialized variable of typeTbypassingMaybeUnformed.Updates on moderation across our community spaces (Discord and GitHub)
Activity on toolchain
refin argument as instructionImportCppuntil we have a use{}to a facetrequiredeclarations in #6286Activity on C++ interop
Activity on memory safety
Box(T)on move?unique_ptrbeing non-invalidating.Box(T)into a function invalidates by default. If it's captured into the return, that would need an explicit annotation.Box(T)?MaybeUnformed.Other active discussions
These include Discord Chat, GitHub Discussions, or open discussion sessions.
isas an alternative toif let..Selffrom the language, and instead explicitly use the name that's being declared.Self, but it's symbolic, unlike.Selfwhich is concrete.refin expressions.refin an argument list marks an argument to arefparameter, butrefin a return type expression marks a by-reference return form.:vs.=may give a conflicting signal about which meaning ofrefis intended. That doesn't affect correct code, but affects where and how we diagnose.fn I() -> (ref a, ref b) * 3;might be valid someday, withrefhaving the argument meaning, so we probably shouldn't try to disambiguate within a return type during parsing.outormutfor the argument meaning.Ato be identified or complete?MaporSetin debugger.RSS Feed for "Last Week in Carbon" here
Beta Was this translation helpful? Give feedback.
All reactions