I didn't find release notes! (Is like MS pretending C does exist anymore
but still updating it)
On 21/01/2025 17:22, Thiago Adams wrote:
I didn't find release notes! (Is like MS pretending C does exist
anymore but still updating it)
They've been doing just that for about 25 years.
I didn't find release notes! (Is like MS pretending C does exist anymore
but still updating it)
Microsoft's main language is C# and they are investing a lot on it. They
want C# to be the main language for everyday use.
I believe Herb Sutter has left Microsoft and is now working somewhere
else.
working (MSVC 17.12)
- static_assert as keyword
- elifdef
- typeof
- binary literal
- digit separator
- Attributes!
-
not working
- u8 char literal
- # warning
- auto
- true/false
- nullptr
- constexpr
- extended enuns
Can be verified here
https://godbolt.org/z/oo7d36jx5
I didn't find release notes! (Is like MS pretending C does exist anymore
but still updating it)
On Wed, 22 Jan 2025 02:45:20 +0000, Jack Lemmon wrote:
Microsoft's main language is C# and they are investing a lot on it. They
want C# to be the main language for everyday use.
What did they write C♯ in, though?
compile it to be used by other objects. This is the same as in C or
C++. First release were in assembly and any enhancement were in the
same language = C or C++ respectively.
On 1/22/25 21:28, Jack Lemmon wrote:
...
compile it to be used by other objects. This is the same as in C or
C++. First release were in assembly and any enhancement were in the
same language = C or C++ respectively.
Not quite - the original C++ compiler was Cfront, which produced C code
which was then compiled by a conventional C compiler. Per Wikipedia:
"As Cfront was written in C++, it was a challenge to bootstrap on a
machine without a C++ compiler/translator. Along with the Cfront C++
sources, a special "half-preprocessed" version of the C code resulting
from compiling Cfront with itself was also provided. This C code was to
be compiled with the native C compiler, and the resulting executable
could then be used to compile the Cfront C++ sources."
On 22/01/2025 05:41, Lawrence D'Oliveiro wrote:
What did they write C♯ in, though?First release was written in assembly code. Subsequent releases are in
C# itself.
Interesting to compare the different compilers on this chart:
<https://en.cppreference.com/w/c/compiler_support/23>.
The only one with a solid green column is GCC. MSCV is mostly red.
On 2025-01-21 4:20 p.m., Lawrence D'Oliveiro wrote:
Interesting to compare the different compilers on this chart:
<https://en.cppreference.com/w/c/compiler_support/23>.
The only one with a solid green column is GCC. MSCV is mostly red.
That chart is inaccurate for MSVC 17.12.4 with /std:clatest.
For instance, [[fallthrough]] is certainly supported.
On Thu, 23 Jan 2025 20:06:02 -0500, mjos_examine wrote:
On 2025-01-21 4:20 p.m., Lawrence D'Oliveiro wrote:
Interesting to compare the different compilers on this chart:
<https://en.cppreference.com/w/c/compiler_support/23>.
The only one with a solid green column is GCC. MSCV is mostly red.
That chart is inaccurate for MSVC 17.12.4 with /std:clatest.
For instance, [[fallthrough]] is certainly supported.
Still leaving MSVC mostly red, is it not? And still the only one with
a solid green column remains GCC.
May be, because majority of additions to the Standard were codifying
existing gcc practice?
BTW, there is nothing wrong with that. In the situation where gcc team
is the only capable team interested in further development of C
language, it is the most logical outcome.
May be, because majority of additions to the Standard were codifying
existing gcc practice?
BTW, there is nothing wrong with that. In the situation where gcc team
is the only capable team interested in further development of C
language, it is the most logical outcome.
I suppose, MSVC team would appreciate addition of
__try/__except/__finally.
But since it didn't happen in last 31 years, it is not very likely to
happen in the future.
On Fri, 24 Jan 2025 14:06:05 +0200, Michael S wrote:
May be, because majority of additions to the Standard were codifying
existing gcc practice?
Interesting. When I ventured a few months ago in this group that GCC had become the closest we have to a de-facto-standard C implementation, quite
a few people objected.
Did you know GCC allows nested function definitions, with references to uplevel locals? I wonder how long it is before that makes it into ANSI/ISO
C ...
BTW, there is nothing wrong with that. In the situation where gcc team
is the only capable team interested in further development of C
language, it is the most logical outcome.
What, no love for LLVM/clang?
On 22/01/2025 05:41, Lawrence D'Oliveiro wrote:
On Wed, 22 Jan 2025 02:45:20 +0000, Jack Lemmon wrote:
Microsoft's main language is C# and they are investing a lot on it. They >>> want C# to be the main language for everyday use.
What did they write C♯ in, though?
First release was written in assembly code. Subsequent releases are in
C# itself. The c# language is class based object oriented, so you don't
need anything else to expand the language. Just write a new object and compile it to be used by other objects. This is the same as in C or C++. First release were in assembly and any enhancement were in the same
language = C or C++ respectively.
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 1,007 |
Nodes: | 10 (0 / 10) |
Uptime: | 196:41:33 |
Calls: | 13,143 |
Files: | 186,574 |
D/L today: |
510 files (113M bytes) |
Messages: | 3,310,136 |