Deutsch English Français Italiano |
<vn3si7$2ju4t$1@paganini.bofh.team> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!newsfeed.bofh.team!paganini.bofh.team!not-for-mail From: antispam@fricas.org (Waldek Hebisch) Newsgroups: comp.lang.c Subject: Re: C23 on MSVC Date: Sat, 25 Jan 2025 23:36:41 -0000 (UTC) Organization: To protect and to server Message-ID: <vn3si7$2ju4t$1@paganini.bofh.team> References: <vmohjl$79d9$1@dont-email.me> <vmpm5h$1k6l8$1@paganini.bofh.team> <vmq0dm$pt56$1@dont-email.me> <vms9kr$1tfkh$1@paganini.bofh.team> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 25 Jan 2025 23:36:41 -0000 (UTC) Injection-Info: paganini.bofh.team; logging-data="2750621"; posting-host="WwiNTD3IIceGeoS5hCc4+A.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A"; User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-9-amd64 (x86_64)) X-Notice: Filtered by postfilter v. 0.9.3 Bytes: 2471 Lines: 31 Jack Lemmon <noreply@mandrill.com> wrote: > 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. Do you have insider info? Writing substantial piece of code in nineties using assembler would be highly unusual. Slightly earlier Microsoft supposedly had a rule that all code should be in C (presumably with exceptions for lowest level machine dependencies and some performance critical parts, but both should be relatively small). Also, when a company has compilers for multiple languages, it is natural to share substantial part for other languages. In case of gcc Ada front-end is in Ada, but most work is in "middle end" that is common to all compilers in gcc and is written in C++. I would guess that now Microsoft C compiler is written in C++. -- Waldek Hebisch