You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a few features that we've enabled by default that are nice to have - but at some point, especially when promoting carbon to users more heavily, we may want to ensure these features aren't costing too much, especially in compile time, and harming users first impressions.
So far the list is:
parse tree validation (an internal consistency check)
debug info (enabled by default, unlike other compilers (gcc, clang, etc) that disable this by default, presumably because it's too expensive to enable by default - carbon plans to have relatively light debug info compared to C++ so maybe it can get away with paying this cost by default)
The text was updated successfully, but these errors were encountered:
CARBON_CHECK -- while we want some of those to remain, it'd be worth doing a performance comparison with all of the checks disabled to get a measure of how much we're paying. If it's a lot, we should carefully pick specific instances that we might want to turn into CARBON_DCHECK.
CARBON_VLOG -- similarly, disabling all of these would give us an idea of whether we're leaving performance on the table here, and maybe we can reduce that cost.
There are a few features that we've enabled by default that are nice to have - but at some point, especially when promoting carbon to users more heavily, we may want to ensure these features aren't costing too much, especially in compile time, and harming users first impressions.
So far the list is:
The text was updated successfully, but these errors were encountered: