2025-10-20 — Last Week in Carbon #6252
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
str->Core.Strstrbuf->Core.StrBufbuf->Core.BufCore.CStr(no keyword)Updates on proposals
refparameter cause transition fromMaybeUnformedto fully-formed feels unprincipled. Should we have genuine (but minimal) flow-sensitive typing instead?Updates on moderation across our community spaces (Discord and GitHub)
Activity on toolchain
EvalImplLookupResult::has_concrete_valuebe true for final symbolic values?addrwithrefbindings.PrintCharto take acharinstead of ani32.MaybeUnformed(T*), andCore.Optional(T*)in #6208 #6058 #6230Activity on C++ interop
extern "C"seems to work. What are we missing?Cpp.long_long.Activity on memory safety
Other active discussions
These include Discord Chat, GitHub Discussions, or open discussion sessions.
carbon linklink against a different stdlib than the one it compiles?ref self:Selfin examples, but it doesn't work.addr self: Self*instead.Optional.Some(T)as a parameter type?Optional(T).MaybeUnformed(T)leads to pointers-to-pointers. How should we proceed?MaybeUnformed(T)should try to use the same value rep asT, although that's complicated by the need to preserve padding thatTdoesn't care about.dyn Traitin Rust)?my_tuple.[Index]for computed tuple indexing?let b: B = a;not raise an error about missingCore.Copy, the way it does withvar?letmakes an alias, not a copy.fnin named constraints? It's not in the design, but we have parse tests for it.template constraints. See here.whereexpressions and alternatives in sum typeswhereexpressions,.Foois rewritten to.Self.Foo, but that is potentially awkward for sum type alternatives..Selfdepending on the value.Self, use the name of the binding instead. Could remove complexity around.Self.whereexpressions treat.designator =... and.(T.designator) =... as a special case,.designatorin other positions has the sum type interpretation unless following the name of the binding.RSS Feed for "Last Week in Carbon" here
Beta Was this translation helpful? Give feedback.
All reactions