2025-11-17— Last Week in Carbon #6429
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.
-
Updates on leads issues
r#Core?refgrammarinout.refas an operator in the toolchain that changes the category to "ref tagged expression", and reject that in most contexts but give it special meaning in the places we choose.uNtype family for C++ interop, but there are also important non-interop use cases so we probably shouldn't put it inCppInteropnamespace. Not much motivation for a separate modular arithmetic type.uNtypes panic on overflow by default; there are separate types likeWrapping<u32>when wrapping is desired. Not sure if we want to do that in Carbon.T&) vs. pointer types (T*)?Core.Cpp.Ref(T)type, should it behave like a reference, or just be a tag for uses like template arguments?Updates on proposals
std::nullptr_tinto Carbon.void*to something likeu8*orbyte*.import Cpp;for C++ built-in entitiesCppa keyword.Core.CppCompatnamespace for things likeLong32.Updates on moderation across our community spaces (Discord and GitHub)
Activity on toolchain
GetUnattachedConstantCppCompatnames private.RequireImpls.extended, but needs those to be complete as wellSelftypes, and only cares about extending for purposes of determining that animplis implementing a single interface, and so requires aSelftype.requirein #6318 #6321 #6348 #6344refin #6312 #6359refparameters in #6360Activity on C++ interop
string_viewproblem with extension methods?Activity on memory safety
[[free]]effect?[[call]]effectcallwith constraints on what the call can do.Other active discussions
These include Discord Chat, GitHub Discussions, or open discussion sessions.
refambiguity()due toTupleLiteralnot having a constant value.impl forall [T:! Core.ImplicitAs(i32)] as Core.AddWith(T)...likeoperator to simplify that, but not yet implemented.//toolchain/driver:runtimes_cache_testis flaky.getenvandrandfrom Carbon, and accessargc/argv?examples/re2_playground(e.g. here) for examples of calling into C++.argc/argvyet.RSS Feed for "Last Week in Carbon" here
Beta Was this translation helpful? Give feedback.
All reactions