206
submitted 22 hours ago by [email protected] to c/[email protected]

In a candid keynote chat at the Linux Foundation's Open Source Summit Europe, Linux creator Linus Torvalds shared his thoughts on kernel development, the integration of Rust, and the future of open source.

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 8 points 12 hours ago

No, no. We're arguing for TypeScript

[-] [email protected] 2 points 3 hours ago
[-] [email protected] 5 points 10 hours ago

Typescript is always compiled down to JavaScript, so it’s kinda the same thing, but with “nicer” clothes.

[-] [email protected] 2 points 10 hours ago
[-] [email protected] 13 points 10 hours ago

Rust does not compile down to C. It generates LLVM bytecode the same as Clang does. They both produce native executables. You do not need a C compiler on your system to run Rust binaries.

Typescript produces JavaScript. You need a JavaScript interpreter to execute the output from TypeScript.

Not the same thing.

[-] [email protected] 2 points 10 hours ago* (last edited 10 hours ago)

In before the pedants: clang is a c compiler, in that it compiles c code—but it also compiles other languages too. The distinction is that c, c++, rust, etc are compiled directly into byte code , whereas typescript is transpiled into another language (JavaScript) before it is executed. I’ll probably catch heat for this, but you can liken TypeScript to C++ because they both are supersets of another language.

[-] [email protected] 1 points 1 hour ago

C++ is actually not a superset of C, believe it or not.

[-] [email protected] 1 points 1 hour ago

I’ll admit I’m no c/c++ aficionado, but after a little research I see what you mean. Originally, C++ was a superset of C, but C has since diverged to include things that are not in C++. So we are both correct.

this post was submitted on 21 Sep 2024
206 points (98.6% liked)

Linux

47371 readers
759 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS