Hacker News new | past | comments | ask | show | jobs | submit | LessDmesg's comments login

Another "IDE" written in some sort ofJavascript? Yeah, good luck with performance.


TIL Scheme is the only language that implements continuations.


Rust is not a C++ replacement, nor a C replacement. It targets its own niche (embedded, realtime, correctness-oriented). It's a totally different development culture. Zig, OTOH, is absolutely a C replacement.


My day job is maintaining the toolchains for a popular safety-certified realtime embedded operating system. I have never once been asked to provide a Rust toolchain. Fortran, yes. Ada, yes. Python and Go, yes. By and large it's just C (and more and more C++).

Rust seems to be mostly something "full stack developers" and "back end developers" embrace for server-side toys and hobby projects.


Python, on a realtime embedded operating system? Rust isn't really there for embedded development yet. It's great for low-level code on full-blown processors/OSs though


Python: customers ask, I deliver.

Top-end embedded processors have GPUs and hypervisors these days and run AI algorithms to, say, detect lane changes and do parallel-parking maneuvers. These days AI means code written in Python and Fortran.


Rust does not target correctness-oriented code at all. Neither do standard C or C++, for that matter, but there are derivatives of C that can (and are) used for it.


> It targets its own niche (embedded, realtime, correctness-oriented).

I don't know of anyone who actually uses Rust in that niche.

Everyone who uses Rust is using it because of "C++ is hard, let's go shopping instead" syndrome.

I.e., at this point it's a language for beginners to ease themselves into programming without training wheels and eventually graduate to real big boy programming languages.


This is a strange sentiment. I think 99/100 people who know rust would not categorize it as "for beginners"


It's pretty much irrelevant what people feel emotionally about Rust.

The real-world fact is that Rust is, as of March 2020 at least, an entry-level systems programming language. It's used as a stepping stone by former PHP/Python/Go programmers, who are very intimidated by C++, to get into performance-oriented coding.

Nobody actually writing embedded or sensitive code (airplanes, nuclear power stations, etc.) is doing it in Rust.


This makes zero sense and it's not about emotion.

The language is young and you don't certify a software solution every two days or don't rewrite your nuclear power station code every day.

Very experienced programmers switched to Rust because it makes it possible to build large scale industrial programs both efficient and reliable. They won't switch to C++ just because they think they're good enough to live dangerously.

(btw I work on plant control and yes I write parts in Rust)


> Very experienced programmers switched to Rust because it makes it possible to build large scale industrial programs both efficient and reliable.

This never happens in the real world; not unless the 'very experienced' bit is experience only in languages like PHP or Python.


It's true that a lot of PHP/Python/Go programmers look to Rust rather than C++ when getting into performance-oriented code. But it's not really a stepping stone, because you never have to leave.

It's true that not a lot of people are using Rust for embedded software. That's a much harder nut to crack because so many of the toolchains are proprietary (and embedded support in Rust is still missing quite a few things).


> ...because you never have to leave.

You kind of do if you ever want to work on anything other than pet personal one-man projects.


Not for technical reasons though.

Also: I've used Rust at work. In fact, I learnt Rust because I was processing a lot of data at work, and needed a fast language to do so in a reasonable amount of time.


Gentoo does.


I've used Gentoo for almost a decade now, and no, that's not true. emerge doesn't just randomly keep source files on disk, and certainly not in a form easy to link to. In fact, Gentoo is worse than Debian for static linking, because not all packages have IUSE=static-libs. If it doesn't, you need to patch that ebuild and potentially many dependencies to support it. On the other hand, on Debian, the standard is for -dev packages to come with both headers and static libraries.


There are whole different ways of life. For example, before the abundance of oxygen on Earth, the first bacteria lived on sulphur-based biochemistry. It was slow and inefficient, but better than being poisoned by that oxygen plague! Remember that it's an extremely destructive oxidizing agent (even in us it causes aging etc). It actually took millions of years for living organisms to start breathing oxygen (which was the real new and exciting breakthrough of the time).


And this is why I argue when some refer to places like Saturn or Jupiter as "hostile toward life" or "Impossible living conditions". They are certainly hostile to they types of organisms with which we're familiar. But as we often find, nature has a way of surprising us.


My compiler only supports C11, how do you compile C major?


C11 (C—E—G—Bb—D—F) is a superset of C major (C—E—G), so just use it.


Both of those things were hoaxes by the Democrats. Pathetic power struggles to distract the public's eye from the real problems that ordinary people face. Who cares if some Russian hackers got some access to the DNC servers? That didn't affect the actual election results, not one whit.


LBYL can easily be enforced by Maybe types, leaving exceptions for really exceptional things (which a nonexisting file definitely isn't). So we see how not having a real type system hurts and deforms a language in ways unrelated to types.


That's still EAFP (you didn't check the precondition before trying), just through a different mechanism.


Yet millions of people love what Trump does. And the celebrities that pledged to leave USA if he got elected somehow didn't follow on their promises. The real problem is that the country is polarized now, and neither side will accept the result of election - any result. And who is responsible for this polarization? Democrats and their affiliated media are. They are the ones who couldn't respect Trump's presidency and preferred to destroy the social fabric to get the power back.


Flamewars are fun, you're not. Humans are fundamentally emotional beings.


Sure, but this site is organized around the emotion of curiosity, which flamewars trample.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: