4 years of Rust

On May 15th, 2015, Rust was released to the world! After 5 years of open development (and a couple of years of sketching before that), we finally hit the button on making the
attempt to create a new systems programming language a serious effort!

It’s easy to look back on the pre-1.0 times and cherish them for being the wild times of language development and fun research. Features were added and cut, syntax and keywords were tried, and before 1.0, there was a big clean-up that removed a lot of the standard library. For fun, you can check Niko’s blog post on how Rust's object system works, Marijn Haverbeke’s talk on features that never made it close to 1.0 or even the introductory slides about Servo, which present a language looking very different from today.

Releasing Rust with stability guarantees also meant putting a stop to large visible changes. The face of Rust is still very similar to Rust 1.0. Even with the changes from last year’s 2018 Edition, Rust is still very recognizable as what it was in 2015. That steadiness hides that the time of Rust’s fastest development and growth is now. With the stability of the language and easy upgrades as a base, a ton of new features have been built. We’ve seen a bunch of achievements in the last year:

This list could go on and on. While the time before and after release was a time where language changes had huge impact how Rust is perceived, it's becoming more and more important what people start building in and around it. This includes projects like whole game engines, but also many small, helpful libraries, meetup formats, tutorials other educational material. Birthdays are a great time to take a look back over the last year and see the happy parts!

Rust would be nothing, and especially not winning prizes, without its community. Community happens everywhere! We would like to thank everyone for being along on this ride, from team members to small scale contributors to people just checking the language out and finding interest in it. Your interest and curiosity is what makes the Rust community an enjoyable place to be. Some meetups are running birthday parties today to which everyone is invited. If you are not attending one, you can take the chance to celebrate in any other fashion: maybe show us a picture of what you are currently working on or talk about what excites you. If you want to take it to social media, consider tagging our Twitter account or using the hashtag #rustbirthday.

blog.rust-lang.org/2019/05/15/4-Years-Of-Rust.html
discuss

Attached: rustlogobig.png (660x660, 81.9K)

Other urls found in this thread:

cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12083
u.arizona.edu/~rubinson/copyright_violations/Go_To_Considered_Harmful.html
web.archive.org/web/20090320002214/http://www.ecn.purdue.edu/ParaMount/papers/rubin87goto.pdf
doc.rust-lang.org/std/iter/trait.Iterator.html#method.find
doc.rust-lang.org/std/panic/fn.catch_unwind.html
docs.rs/snafu,
docs.rs/failure,
docs.rs/error-chain,
docs.rs/err-derive,
docs.rs/err-ctx)
blog.discordapp.com/using-rust-to-scale-elixir-for-11-million-concurrent-users-c6f19fc029d3
userscripts-mirror.org/scripts/show/41369
github.com/rust-lang/rfcs/issues/600
doc.rust-lang.org/book/ch19-01-unsafe-rust.html
doc.rust-lang.org/std/primitive.pointer.html
twitter.com/NSFWRedditVideo

Rust is really good for system programming and has a good typed system. Better than C at least.

rust has too much abstraction to be low level at least as low level as C. It wont replace alot of applications C has right now such as being used in embedded shit, control systems, and anything else. Not to say its a bad language. Comparing rust to C isnt very accurate it is more accurate to compare it to C++. I'm not sure why C is brought up when talkimg about rust so much.

Rust is a bastard child of C++ and Haskell with the disadvantages of both. Being better than C is not an accomplishment.

Because there are a lot of Cniles that are allergic to memory/thread safety and use C for everything.


What? You have to expound on that.
Protip: You won't because you are a LARPer and an anti-Rust shill

The pattern matching and type-checking enforcements . Except Haskell feels natural, allows you to program what you want and doesn't ask you to type-annotate every object with mile-long types.

In Rust by contrast if you're doing anything remotely serious half the time is spent wrestling with the borrow-checker. It does nothing to make your life easier, and you have to write all the annotations yourself. What Rust allows as valid is a small subset of actually-valid code. Therefore it's disgusting to anyone who loves freedom and getting the job done over getting a stupid certification by a stupider piece of code. Some people seem to like it, but for the life of me I can't understand them.

I like being able to use GOTO in c++. Last time I used it for control-flow in an interpreter long ago. I usually shouldn't use it, and 99% of the time I don't. But whether I use it or not, 100% of the time I am allowed to use it. That is freedom. And freedom is good.

Attached: quote-censorship-is-telling-a-man-he-can-t-have-a-steak-just-because-a-baby-can-t-chew-it-mark-twain-47-56-42[1].jpg (850x400 1016.75 KB, 64.33K)

Use Ada, C or C++ or even Go(ck)lang instead.

Haskell didn't invent pattern matching though.
Kek. Every time.
Absolutely harmful. A high level language shouldn't have it.

Attached: PoliteTallFanworms-max-1mb.gif (240x180, 229.69K)

Spotted the anti Rust shill. Why don't you try it with some
or

Rust is so good they fired their shills. Except OP, he does it for free.

Can we agree to disagree and leave it at that?
Frankly, until your glorious pet language makes an impact you don't have a leg to stand on. I'm just betting it won't.

If syntax doesn't matter then why are you using a programming language at all? Bust out a hex editor and write in pure machine code or get the fuck out you larper.

Attached: Go vs Rust.png (1200x635, 35.09K)

Rust syntax is pure UNIX brain damage, like the rest of the language. A big company of C++ weenies finally discovered that C++ sucked and instead of switching to a tried and tested safe language like Ada or PL/I, they decided to make their own language by bolting features from other languages onto their new not-C++. The results speak for themselves: PL/I could compile itself on a 64 kilobyte machine while Rust somehow runs out of registers on x86 CPUs, and instead of attracting C++ weenies Rust attracted JavaScript and webshit weenies. Not even C weenies can stand this garbage.
A language can be memory safe and brain damaged weenie garbage at the same time. Rust is both and must be hurled in the trash, where it can rot while real languages take its place.
My code was incorrectly printing the value of one of theregisters (r0). After I had spent a pleasant, relaxingafternoon ineffectively trying to debug my code, anddiscovered this, I remarked upon it to run a new program-,it would be a Good Thing to separate the notion ofcreating a new process from the grapevine.I was much amused at the factory gates, I, for one, willnot be there to urge clemency.Ever notice how most unices, the ones that don't useMMDF, often send you half-complete messages? Everwonder where all those lost bits GO??But the point of this is that it really hasn't got much to dowith MMDF, it has to do with unix itself. The problem,see, is that it really hasn't got much to do with MMDF, ithas to do with unix itself. The problem, see, is that itreally hasn't got much to do with MMDF, it has to do that,you might at least think that you could arrange somekludge to optimize the common case.(1) But no, that wouldbe perfectly adequate to run a mailer and a filesystem. Andit would have been, too, except that the nice helpful peoplewho brought you unix invented this thing called the "fork",which they then proceeded to stick - um, sorry, about to geta little carried away, there.But anyway, see, by employing the great unix principle of"composable functionality", they were able to determine thateven though 99.9997 percent of the time you create a newprocess you are too generous. When I was porting a Schemecompiler to the RT, I managed to make adb -- nothing like afancy, source-level debugger, or anything, just dumb ol' adb --dump core with about 6 or 7 keystrokes. Not arcanekeystrokes, either. Shit you would tend to type at a debugger.It turned out that the machine you mention, MC, is only a poorlittle Microvax 3, with probably only 16Mb of memory. Which,you would think, would be -messy-, and unix is not -messy-.So, kids, the way we run a new process, and -copies (and Imean -copies-, as in moves bits around on the disk), the entireaddress space of the old program into the new program youwanted to run a new program-, it would be a Good Thing toseparate the notion of stuffing the new one-, followed, 99.9997percent of the time, by the "exec" system call, which takes arunning program, makes a new program-, it would be a GoodThing to separate the notion of creating a new process fromthe grapevine.

It already has. Get fucked, anti Rust shill.


spotted the LARPer


you have to go back


This doesn't even make any sense. Nice try though, impostor.
?????
memory != registers

The only real difference between the vast majority of real languages which are all basically clones of C, some kind of Lisp, or Pascal is, surprise surprise, fucking syntax, because you can do just about anything in any language if you are brave and autistic enough.

LOL. Stop LARPing.
The differences between C and literally any other language are immense.

The only differences between C and any other language that isn't a scripting language or executed within a virtual machine are syntax-related. There are some small differences pertaining to the bloat factor of the stdlib and what tooling is provided or available but that is covered under "brave and autistic enough". Also rust is shit. Nim is better even if it has some stupid issues and a faggot GC.

Is UB and IB also just syntax?
Your retardedness is showing, anti Rust shill. Youw on't convince anyone if your spouting shit as inane as that.

...

The absolute state of anti Rust shills.
How embarrassing.

Why did you stop avatar fagging Steve?

Rate my Rust™
fn sort_strings_length() { let mut a = ["hello","I","am","a","sentence","please","sort","me","faggot"]; a.sort_by(|a,b| a.len().cmp(&b.len())); for e in a.iter() { print!("{},",e);} println!(); }

no u XDDDDDDDDDDDDDDDDDD


I improved it:
fn fn sort_strings_length() { let mut a = ["hello","I","am","a","sentence","please","sort","me","faggot"]; a.sort_by_key(|s| s.len()); println!("{:?}", a);

cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12083
Rust everybody.

LOL
Now post the C/C++ CVEs XDDD

stop trying to associate Rust with C. you anti Rust shills are pathetic

Using the world "harmful" kinda is expected from rust supporters, isn't it? Anyone can see you for what you are. Campaign first for Rust to disabow CoC guidelines and stop shilling your shitty language.

LOL


I'm ok with that

I still don't get what's so bad about having "easy to use language that helps you write good software" as a goal itself. Most of the time the arguable design decisions of Go aren't even mentioned in these posts. Should be flagged as spam tbh, obstructing discussion and wasting time.

Rust shilling is the Baneposting of programming.

but it does. syntax just isn't the most important aspect of a language as long as it's not absolutely terribad (ie rust tier bad)


C/C++ don't claim to be safe


well congratulations, you got yourself caught. what's the next step of your master plan?

(checked)
Crashing this language

C/C++ programmers

Well, yes, but guidelines != bondage and discipline.

LOL.
Also Go wasn't created to make good software with. It was created so that the dumb niggers Google hires can shit out code faster than Google can abandon projects.


ok, kid
But Cniles claim that they can write safe C/C++.
I wrote that HIGH LEVEL LANGUAGES should not have goto. Prove me (and Dijkstra) wrong.
u.arizona.edu/~rubinson/copyright_violations/Go_To_Considered_Harmful.html


based


unbased

Go has a use case. Rust does not.
Go has a specification. Rust does not.
Go has a useful standard library. Rust does not.
Go has excellent profiling tools. Rust does not.
Go has trivial compilation time. Rust does not.
Go is simple. Rust is not.
Go can be learned in a weekend. Rust requires months.
Go documents its weaknesses and has tools to deal with them. Rust pretends they don't exist.
Go has been used in enterprise production code. Rust has not.

Checkmate, athiest.

ok. Now tell me how to write a generic data structure in Go.

Technically speaking, without a specification everything in Rust is undefined behaviour.

Rust has been used in firefox, go has not
Rust has working types, go has not
Rust has inline assembly, go has not
Rust has been used to make a full OS, go has not
Rust teaches good memory practice, go does not
The only thing go has over rust is slow garbage collection and Google GRIDs

Rust has also been proven 10x faster than Go, with Go's C API being horrible and sluggish.

Any instance of goto should be replaced with a higher level control flow thing. Unfortunately Ctarded languages like C only offer you a few predetermined ones like if, while, for, etc.

Go generate. Reflect. Type assertion. Interfaces. What's the cost in compilation time for having generics which you rarely actually need? What about legibility? Don't eat so much candy, junior, you'll give yourself a tummy ache.

Firefox has more CVEs than ANY other application. It has small Rust components, which is the equivalent of a pity fuck.

If you think ADTs which you have to make a function call to unwrap every time, are some kind of godsend over multiple return types, you're an idiot. Please tell me where the Go type system doesn't "work".

GoOS exists. It's just as relevant as Redox (ie, not at all)

Goroutines.com/asm

Rust doesn't teach you anything about memory other than convoluted rules that are only relevant to its own implementation. Rules which break down when concurrency comes into play. Did you mean GNAT?
You're out of your league. Try Hacker News or Ycombinator. Or maybe your buddies on Grindr would listen to you gushing about how a worse language is better. I would take Java, any shitLisp before Rust.


Share your benchmark, please. Benchmarksgame shows go at 1.5-3x C. Unscientific benchmarks is about 1.5-2.5x C.
Mozilla isn't sending their best.

Go interfaces are retarded. Structural typing is a shitty hack to give duck typing to a static language, and interface{} is a cancer you see everywhere due to Go's shit type system (Somebody fucking looked at old Java casting everything to and from Object and thought that looked good enough for a new language).
The fact that you can't define your own goddamn generic types is laughably retarded. The fact that Go encourages literal copy-paste over a reusable type is fucking stupid.

I'm not a rust shill, but Go is shit. No immutability declarations, no generics, no overloading, no ranging over non-builtins, fucking nullable types, terrible error handling (good error handling is something Rust actually has going for it), no support for stack-only operation making it useless for any dynamic programming, impossible to write low-level code accessing arbitrary memory addresses in any way (which isn't in itself bad, but for a programming language that purports to be a systems programming language, it's retarded).

Go is a mess. It doesn't do anything new, it's got a horrible hodge-podge design with too little power to be useful to just about anybody, the typesystem is a mess reminiscent of Java when its type system was even worse than it is, and in dozens of areas it is a step backwards in programming language design. I'm happy with people shitting on Rust, but defending Go is a step too far.

s/dynamic/embedded/

You brought up Go, Steve, not me. Anyone could easily list all the ways Java or Racket is superior to Rust. Plus you don't know anything about Go that you did learn from Reddit comments. Consts exist. Rust error handling "genius" is "let it bubble up to main, XD"
which you an do in Go too, but shouldn't. Define an error type in Rust someday. The boilerplate is ridiculous. I have to explicitly implement a display trait?

You obviously spend more time jacking off on programming comment sections than writing any software. Which is why you shill this gay language with a bunch of features that sound good on paper but somehow never seem to lead to working enterprise software.

[code]
The most-noted item ever published in Communications was a letter from Edsger W. Dijkstra entitled “Go To Statement Considered Harmful” which attempted to give a reason why the GOT0 statement might be harmful. Although the argument was academic and unconvincing, its title seems to have become fixed in the mind of every programming manager and methodologist. Consequently, the notion that the GOT0 is harmful is accepted almost universally, without question or doubt. To many people, “structured programming” and “GOTO-less programming” have become synonymous.
This has caused incalculable harm to the field of programming, which has lost an efficacious tool. It is like butchers banning knives because workers sometimes cut themselves. Programmers must devise elaborate workarounds, use extra flags, nest statements excessively, or use gratuitous sub- routines. The result is that GOTO-less programs are harder and costlier to create, test, and modify. ....
I posed the following problem to a group of expert computer programmers: “Let X be an N x N matrix of integers. Write a program that will print the number of the first all-zero row of X, if any.”
Three of the group regularly used GOTOs in-their work. They produced seven-line programs nearly identical to this:
for i :=1 to n
do begin
for j:=1 to n do
if x[i,j] 0 then goto reject;
writeln('The first all-zero row is ' i);
break;
reject; end
The other ten programmers normally avoided GOTOs. Eight of them produced 13 or 14-line programs using a flag to indicate when an all-zero row was found. (The other two programs were either incorrect or far more complex.)...
[​/code]

web.archive.org/web/20090320002214/http://www.ecn.purdue.edu/ParaMount/papers/rubin87goto.pdf
Goto is a tool. A tool you use sparingly, but a tool nonetheless. Try writing a decent interpreter without goto. You can't. Any language in which a goto semantics makes sense and is compatible should support goto. A knife isn't evil because you get cut faggot.

Oh well, fucked up the formatting. Fuck.

jmp considered harmful

Fuck off, drew. Introduce some more segfaults into your WM instead of shitposting here.


based


based


based


LMAO. You could do the same with Java years ago.


focking BASED


He is not Steve. I am. And I did not bring up Go.


Great argument.

Dijkstra was wright and only braindamaged UNIX weenies argue in favor of goto.

(0..matrix.rows()).find(|r| matrix.iter_row(r).all(|i| i == 0))
Goto considered harmful.

I've used Go at work. Some of us have jobs, dipshit.

I didn't say "genius", so I don't know what you're quoting. And no, that's exceptions. Rust is "you have to either handle errors at the site of occurrence or explicitly pass them out of the function". You almost should never bubble all errors up to main in Rust either. You have the option, but you have to do it explicitly as opposed to exceptions which do it automatically, or Go which has the same problems that C does in error checking, in that it can be ignored by the programmer. Even exception throwing is better than Go's error handling.

It's literally writing a single function that tells how to print your type. What shit programmer are you that implementing a single function that can easily be one line is too difficult?

based

I don't need goto in haskell either, faggot, but that's besides the point. If you have a low-level systems programing language (not fairy dust python or haskell) where efficiency is paramount you should have goto.

There's something called the control-flow graph of a program which can be either reducible or irreducible. Procedural programing constructs like "while" or "for" and "if" only allow us to make programs with reducible control-flow graphs. Memory, simplicity, efficiency. If you're prepared to sacrifice at least one of the three, (usually two), then you can live your life in the smugness that 100% of the time, you never use Goto. People who get things done, on the other hand, can only say that they don't use Goto 99.9% of time. Still 0.1% falls short of your dogmatic ideological purity. Rules that are made for practical reasons can be broken for practical reasons.

Rust is like that academician (not even STEM, it would be better designed and less cancerous, pdf related), like the post modern art teacher that on day goes to the construction site to tell the workers "how shit's done". Without understanding the reasons why they do shit the way they do in the first place. It won't work because workers aren't willing to jump trough 10 additional hoops just to get the art-teacher's approval. Getting shit done is hard enough without having an ideological thought-police built into your compiler.

Attached: controll_flow_graph.jpg (808x332, 33.18K)

meant for

LMAO
doc.rust-lang.org/std/iter/trait.Iterator.html#method.find
Kill yourself, you utter retard.

enum Error {
Io(io::Error),
Parse(ParseIntError),
}

impl Display for Error {
fn fmt(&self, formatter: &mut Formatter) -> fmt::Result {
match *self {
Error::Io(ref error) => error.fmt(formatter),
Error::Parse(ref error) => error.fmt(formatter),
}
}
}

impl error::Error for Error {
}

impl From for Error {
fn from(error: io::Error) -> Self {
Error::Io(error)
}
}

impl From for Error {
fn from(error: ParseIntError) -> Self {
Error::Parse(error)
}
}

Everything you have said is false. You are the Prince of Lies, and Steve Klabnik is the king.

Attached: maxresdefault.jpg (1280x720, 86.42K)

You have a lot of different ways to do errors.
1. Do what you did
2. Do it he Exceptions way: Panic instead of returning Results. Panics can be catched with doc.rust-lang.org/std/panic/fn.catch_unwind.html
3. Do it the C way
4. Use Box as your error type
5. Use a library (docs.rs/snafu, docs.rs/failure, docs.rs/error-chain, docs.rs/err-derive, docs.rs/err-ctx)
sage negated btw

Fuck off poser.
The fits significant blow to PL/1 was from made in early 70th by religiousfanatics connected to the "structured programming" dogma and,especially, Edsger W. Dijkstra inspired "verification frenzy". Now it isdifficult to comprehend how almost the whole computer science washijacked by this primitive religious doctrine. But it was true and hasdemonstrated quite well that the virtues ascribed to academic scientistsare way overblown. Heretics who are ready to be burned on the stakedefending the truth are as rare in academic community as amongcommoners. May be even more rare. Complete corruption of academiceconomics, conversion of the majority of them into intellectual defendersof interests of financial oligarchy that we observed since 1980 say thispretty load and clear. And computer scientists are not that differentthose days. They also depends on grants and want tenure at all costs.Which requires certain compromises.Edsger W. Dijkstra inspired "verification frenzy" was mostly related tobogus mathematic masturbation called "correctness proofs". The ideawas "simple, attractive and wrong" and due to this it soon becamemore fashionable that drunks fights in pubs in England. It attractedhuge amount of verification snake oil salesmen and "computer sciencecrooks" who often flooded computer science departments and eliminateduseful research. While there was a positive component if structuredprogramming movement (it did helped to introduce richer set ofprogramming control structured in the language and PL/1 was againpioneer in this area) but most affects were creation of some unrealisticexpectations (that number of errors in a program without goto statementsis less then for the program with many goto statements; but in reality ifnot presence of absence of goto statements, but the usage of structuredcontrol statements that matter and if some are not available in thelanguage they should be emulated using goto statements) or simplyharmful.Edsger W. Dijkstra played the role of a fervent Ayatollah. Thiscontroversial character has the religious zeal of Luther, but was moremisguided. At the height of his delusion Ayatollah Dijkstracompletely lost common sense and issued a fatwa in which hedeclared PL/1 to be a "fatal disease". Those spikes of religiousfervor damaged the language standing and helped more primitivelanguages with much simpler compilers such as Pascal and C to getground Another advantage of Pascal was that it has freely availablecompiler (despite his conversion into verification zealot, Wirthremained a master of compiler writing to his last days). It wasbased on recursive decent parsing and was specifically designed tomake compiler so fast that it can be used instead of linker (sourcecode linking). This tremendous speed with which Pascal can becompiled (which was later demonstrated to the surprised world byTurbo Pascal) was probably the most innovative feature of thelanguage. Compiler from C were also much simpler then compilerfor comparable subset of PL/1 such as PL/M and were distributedfreely with Unix source code. Creators of C discarded bogus "noreserved keywords" idea and greatly simplified the syntax ofdeclaration of variables which removed to warts of PL/1 languagenot only at no cost but with considerable savings in simplicity ofcompiler. But cutting the language to the subset suitable for systemprogramming they cut way too much. and those decisions hunt Cand C programmers to this day. They also made some blunders indesign of the syntax of the language (no mechanism for multipleclosure of {} blocks with a single bracker like a: end a in PL/1 in oneobvious blunder. Usage round brackets as delimiters for conditionalexpressions in if statements is another. Just those two errors costC programmers immense amount of lost hours in trying to find errorsthat should not exist in properly designed language in the first place.They also ignored some important heuristics for catching "runningstring literal" errors invented in PL/1 optimizing compiler.Structured programming dogma and verification frenzy were two firstreligious movements in programming but unfortunately they were notthe last. Later object orientation (OO) became fashionable with itsown crowd of snake oil salesmen. Each of those splashes generatedhuge crowd of crooks and religious fanatics, as well as promotedcorruption in computer science departments. As for computer sciencedepartments, the level of corruption from early 80th became probablypretty close to corruption of economic professions with its bunch ofhighly paid intellectual prostitutes or outright criminals masqueradingas professors.

unbased

brain-damaged and unbased

Attached: 15116248530.jpg (1200x1000, 173.83K)

(unbased)
Here is your insightful and well-thought-off effort-post that contributes to the thread:
For a number of years I have been familiar with the observation that the quality of programmers is a decreasing function of the density of go to statements in the programs they produce. More recently I discovered why the use of the go to statement has such disastrous effects, and I became convinced that the go to statement should be abolished from all "higher level" programming languages (i.e. everything except, perhaps, plain machine code). At that time I did not attach too much importance to this discovery; I now submit my considerations for publication because in very recent discussions in which the subject turned up, I have been urged to do so.My first remark is that, although the programmer's activity ends when he has constructed a correct program, the process taking place under control of his program is the true subject matter of his activity, for it is this process that has to accomplish the desired effect; it is this process that in its dynamic behavior has to satisfy the desired specifications. Yet, once the program has been made, the "making' of the corresponding process is delegated to the machine.My second remark is that our intellectual powers are rather geared to master static relations and that our powers to visualize processes evolving in time are relatively poorly developed. For that reason we should do (as wise programmers aware of our limitations) our utmost to shorten the conceptual gap between the static program and the dynamic process, to make the correspondence between the program (spread out in text space) and the process (spread out in time) as trivial as possible.The unbridled use of the go to statement has an immediate consequence that it becomes terribly hard to find a meaningful set of coordinates in which to describe the process progress. Usually, people take into account as well the values of some well chosen variables, but this is out of the question because it is relative to the progress that the meaning of these values is to be understood! With the go to statement one can, of course, still describe the progress uniquely by a counter counting the number of actions performed since program start (viz. a kind of normalized clock). The difficulty is that such a coordinate, although unique, is utterly unhelpful. In such a coordinate system it becomes an extremely complicated affair to define all those points of progress where, say, n equals the number of persons in the room minus one!The go to statement as it stands is just too primitive; it is too much an invitation to make a mess of one's program. One can regard and appreciate the clauses considered as bridling its use. I do not claim that the clauses mentioned are exhaustive in the sense that they will satisfy all needs, but whatever clauses are suggested (e.g. abortion clauses) they should satisfy the requirement that a programmer independent coordinate system can be maintained to describe the process in a helpful and manageable way.It is hard to end this with a fair acknowledgment. Am I to judge by whom my thinking has been influenced? It is fairly obvious that I am not uninfluenced by Peter Landin and Christopher Strachey. Finally I should like to record (as I remember it quite distinctly) how Heinz Zemanek at the pre-ALGOL meeting in early 1959 in Copenhagen quite explicitly expressed his doubts whether the go to statement should be treated on equal syntactic footing with the assignment statement. To a modest extent I blame myself for not having then drawn the consequences of his remark

They aren't even getting the syntax right, it's DECLARE postnumber BASED;

The only insight your post has given this thread is that you're too new to blockquote properly. Lurk more and take your syntax errors elsewhere.

No shit. I'm not an annoying faggot, that's why I can't do it properly.
unbased btw

What you have done is not just implement your own error, you have implemented an error enum type that encapsulates other errors, and also the necessary switching logic and the From traits to automatically convert. Don't bullshit me, you idiot. Here's a proper simple error type:

use std::{error::Error, fmt};#[derive(Debug)]struct MyError;impl Error for MyError {}impl fmt::Display for MyError { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "Something broke") }}
You have to impl the Error trait to treat it as an Error, and the only function you need to implement for your own error type is that fmt function, which can easily be one line, exactly like I said. You need extra code like you wrote to have a proper error wrapper enum type, but that's not what I said. I was talking about how to "Define an error type", not "Define an error type that wraps other errors". If you want to wrap errors without any extra code, you can also just throw a Boxed Error, but the way you showed is far better.

Rust in a nutshell:
the people who wrote the application with more CVEs than any other application in the world other than a full OS got together and made a "safe" language. *Unironically*

To nobody's surprise, the language is full of hidden bugs, is completely unspecified, and is objectively worse than the language it was meant to replace (C++). These shortcomings are dealt with by the lowest form of developer life, the soy webdev, flooding the internet with false praise. Of course, in their smooth-brained reasoning, the only thing that matters is hype and the only metric of software is popularity. Four years since 1.0, they still live in a pathetic state of denial. Shitting all over the internet is the only thing they have left to do with their time because God knows they sure as fuck aren't writing working software.

LOOOOOOOOOOL. Imagine anti shilling Rust this hard.
I recommend you to look up how long it took C/C++ to get specified :)
sage negated btw

blog.discordapp.com/using-rust-to-scale-elixir-for-11-million-concurrent-users-c6f19fc029d3
Anti Rust shills on suicide watch

I didn't say it was a one-liner. I said you only have to implement one function, and the implementation of that function could be one line. If you have to misrepresent what I said, you have no argument.

You're such a sad.

Goon stop posting.

bump

"Scripting language" is a meaningless term used by autists to define what they believe is not "real programming".
Also, languages aren't inherently "compiled", "interpreted", or "executed in a virtual machine". It all boils down to the implementation.
And no, differences among languages go far beyond syntax. Either you're baiting, or you truly know nothing.

based

The "for" example is even wrong kek.
This stuff is a textbook example of pointless, excessive formalism.
It's quite ironic, considering that you yourself bring up "cancerous academicians".

based

bump :^)

It's "formalism" for the sake of defending proper usage-cases of GOTO, against religious zealous. In other words, its not "DO THINGS OUR WAY ONLY, ALL OTHER WAYS ARE WRONG WE PROVED IT REE". it's "Hey, maybe those guys that sometimes do things in a different way have a point. Let's examine it and see if we can learn anything." That's the opposite of the rustfagacademic mindset.

Attached: da01aece20addf2701b7570bc74ddd1096d98b9e8aa1e75d890a01b50063f12e_1.jpg (1080x763, 123.35K)

But there are none in high level languages.
unbased and sage negated btw

I heard that for people who are srsly hardcore there is a command COMEFROM.
In C++ it is implemented in the form of throwing exceptions, or so they say.

Thank God for user-scripts.

Attached: yes.png (682x469, 19.8K)

unbased

fatally assblasted

It's more of a spam filter so us grownups can focus on real conversations. This last post did make me snicker tough.

Attached: it_keeps_happening.jpg (709x554, 120.5K)

unbased and sages negated

...

Attached: b864a5224eccc107594cf2f5a84b6af8.jpg (720x1102, 39.34K)

unbased


unbased and sage negated

This script is the gift that keeps on giving. If any of you fags wanna try it out and don't feel like writing your own, here's a link:
userscripts-mirror.org/scripts/show/41369
It's basically java-script, so when adding a word:replacement-word pair, you should write 'I\'m a faggot' (don't forget the backslash for special characters like ') .

Attached: he_does_it_for_free.png (678x439, 17.91K)

Calm down user, it's common courtesy to sage if you're not contributing to the thread.

LMAO


Thanks for explaining sage to me, newfag.
unbased and sage negated btw

I just want to remind everybody. This goofball said this nonsense two years ago, and, hold on, spoiler alert, servo is still a Mozilla internal experiment and RedoxOS is dead as disco

This guy is STILL brigading comments sections everywhere.

github.com/rust-lang/rfcs/issues/600

Rust: The Language of always Tomorrow

Attached: mmstick_paid_rust_shill.png (964x114, 16.53K)

Servo was never meant to be more than an internal experiment.
Parts of servo are already integrated into Firefox.
Retarded Cnile.

at this rate Python will stay the king

Servo's purpose is an experiment to explore proof of concept ideas. Instead of forking Firefox and implementing the ideas with a version of Firefox, they use Servo as the platform for experimenting.

Can you write to a specific address in memory using rust?

Yes
doc.rust-lang.org/book/ch19-01-unsafe-rust.html

Yes. doc.rust-lang.org/std/primitive.pointer.html

...