[ / / / / / / / / / / / / / ] [ dir / 1piece / bestemma / cyoa / joosten / komica / ttgg / vg / vr ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): 38c08733444d867⋯.png (83.84 KB, 512x512, 1:1, rust-logo-512x512.png) (h) (u)

File (hide): c76db1c59ab13eb⋯.jpg (384.3 KB, 1400x933, 1400:933, steve klabnik a.jpg) (h) (u)

[–]

 No.869589>>869635 >>870187 >>882900 >>885241 >>917177 >>932510 >>935944 [Watch Thread][Show All Posts]

The Rust team is happy to announce a new version of Rust, 1.24.0. Rust is a systems programming language focused on safety, speed, and concurrency.

This release contains two very exciting new features: rustfmt and incremental compilation!

For years now, we’ve wanted a tool that automatically can reformat your Rust code to some sort of “standard style.” With this release, we’re happy to announce that a preview of rustfmt can be used with 1.24 stable.

Back in September of 2016 (!!!), we blogged about Incremental Compilation. While that post goes into the details, the idea is basically this: when you’re working on a project, you often compile it, then change something small, then compile again. Historically, the compiler has compiled your entire project, no matter how little you’ve changed the code. The idea with incremental compilation is that you only need to compile the code you’ve actually changed, which means that that second build is faster.

As of Rust 1.24, this is now turned on by default. This means that your builds should get faster! Don’t forget about cargo check when trying to get the lowest possible build times.

This is still not the end story for compiler performance generally, nor incremental compilation specifically. We have a lot more work planned in the future. For example, another change related to performance hit stable this release: codegen-units is now set to 16 by default. One small note about this change: it makes builds faster, but makes the final binary a bit slower. For maximum speed, setting codegen-units to 1 in your Cargo.toml is needed to eke out every last drop of performance.

https://blog.rust-lang.org/2018/02/15/Rust-1.24.html

https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1240-2018-02-15

 No.869614

File (hide): 0e32e620b635aa1⋯.png (280.83 KB, 371x532, 53:76, 200% nice.png) (h) (u)

>incremental compilation


 No.869616>>869618 >>869626 >>880297

how come hes smart enough to make rust but stupid enough to believe in antifa?


 No.869618>>869625 >>870131

>>869616

Steve Klabnik mostly writes documentation.


 No.869625

>>869618

and btw he fucking sucks at it. The first edition of the book is meh at best and the second edition is still not even close to being finished.


 No.869626>>870131

Thank fuck Steve is alive. I was getting worried that you might have been beheaded by Ahmed.

>>869616

The actual Steve Klabniks job is to write the Rust book(which isn't done and has been dragging along for multiple years), posting on social media and rewriting the documentation thing in meme.js.


 No.869627>>869633 >>869671 >>870124

File (hide): ea14449078e4422⋯.png (652.44 KB, 1200x675, 16:9, Redox.png) (h) (u)

So what does this mean for Redox?


 No.869633>>869639 >>869671

>>869627

>go to the bother of making a new OS

>reimplement the garbage that is unix

lol if this doesn't tell you everything you need to know about Rust.


 No.869635>>869637 >>869639

>>869589 (OP)

so is it really safe now?

or there is still some UB in "safe" subset?


 No.869637>>869639 >>932510


 No.869639>>869645 >>869670 >>869671

>>869633

>Redox is inspired by previous kernels and operating systems, such as SeL4, MINIX, Plan 9, and BSD.

>>869635

>>869637

Rust is and always was safe. It is rustc, the compiler, which has bugs that allow memory unsafety. But they will be fixed soon. The reason why those bugs existed so long is that the Rust developers decided to rewrite parts of the compiler. These rewrites will bring yuge improvements. You can test some of it in nightly Rust btw.


 No.869645>>869646 >>869671


 No.869646>>869654 >>869671

>>869645

Nigger


 No.869647>>869648 >>869650

I'm unironically curious and want to learn rust in my free time. What's the best place to start ?


 No.869648


 No.869650


 No.869654>>869659 >>869671

>>869646

lol do please tell me about your non-unix unix-like OS and your webdev systems language.


 No.869659>>869661 >>869666 >>869671

>>869654

>unix

it isn't

>webdev

nodev detected

stop shitting up my thread, anti Rust shill


 No.869661>>869663

>>869659

You can't shit up an already-shit thread, though.


 No.869663

>>869661

kill you're are self


 No.869666>>869668 >>869671

>>869659

<Redox is a Unix-like microkernel operating system written in the programming language Rust.

you should go back to pretending to be retarded


 No.869668

>>869666

you should stop talking about irrelevant shit in a Rust thread


 No.869670>>869674

>>869639

>Rust is and always was safe. It is rustc, the compiler, which has bugs that allow memory unsafety

It's like we have an alternative to rustc in this Universe right now, or can interpret Rust code in our brains at comparable speeds.

Nice evasion.


 No.869671>>869673

>>869627

>>869633

>>869639

>>869645

>>869646

>>869654

>>869659

>>869666

I think what you're ultimately referring to is that despite being unix-like, they don't conform to POSIX if they feel that their way of doing things is better.

From a page on their shell:

>Why Not POSIX?

>If Ion had to follow POSIX specifications, it wouldn't be half the shell that it is today, and there'd be no solid reason to use Ion over any other existing shell, given that it'd basically be the same as every other POSIX shell. Redox OS itself doesn't follow POSIX specifications, and neither does it require a POSIX shell for developing Redox's userspace. It's therefore not meant to be used as a drop-in replacement for Dash or Bash. You should retain Dash/Bash on your system for execution of Dash/Bash scripts, but you're free to write new scripts for Ion, or use Ion as the interactive shell for your user session. Redox OS, for example, also contains Dash for compatibility with software that depends on POSIX scripts.

So they keep dash around for compatibility's sake, but their main shell deviates from POSIX for the sake of innovation.

As far as the actual OS goes, one of their ideas is "Everything is a URL":

>"Everything is an URL" is an important principle in the design of Redox. Roughly speaking it means that the API, design, and ecosystem is centered around URLs, schemes, and resources as the main communication primitive. Applications communicate with each other, the system, daemons, etc, using URLs. As such, programs do not have to create their own constructs for communication.

>By unifying the API in this way, you are able to have a consistent, clean, and flexible interface.

>We can't really claim credits of this concept (beyond our exact design and implementation). The idea is not a new one and is very similar to 9P from Plan 9 by Bell Labs; a similar approach has been taken in Unix and its successors.

>With "Everything is a file" all sorts of devices, processes, and kernel parameters can be accessed as files in a regular filesystem. This leads to absurd situations like the hard disk containing the root filesystem / contains a folder named dev with device files including sda which contains the root filesystem. Situations like this are missing any logic. Furthermore many file properties don't make sense on these 'special files': What is the size of /dev/null or a configuration option in sysfs?

>In contrast to "Everything is a file", Redox does not enforce a common tree node for all kinds of resources. Instead resources are distinguished by protocol. This way USB devices don't end up in a "filesystem", but a protocol-based scheme like EHCI. Real files are accessible through a scheme called file, which is widely used and specified in RFC 1630 and RFC 1738.


 No.869673>>908003

>>869671

>As far as the actual OS goes, one of their ideas is "Everything is a URL":

> their ideas

it is not something new. even Android has something similar, and it took it from plan9 or something I dont remember.


 No.869674>>869679

>>869670

Alternative Rust compiler: https://github.com/thepowersgang/mrustc

Nice anti Rust shill post.


 No.869679>>869682 >>869693

>>869674

>mrustc works by comping assumed-valid rust code (i.e. without borrow checking)

it is even less safe.

LOL WTF dude, did you even read the fucking README from your link?


 No.869682>>869700 >>869707

>>869679

calm down anti Rust shill. I didn't claim mrustc to be safe.


 No.869693>>869700

>>869679

Compiling is different from type checking and borrow checking, dumbass.


 No.869700>>869702 >>869707 >>870124

>>869693

>>869682

the point is that there's no safe implementation of Rust right now.


 No.869702>>869976

>>869700

Very nice anti Rust shill post. I rate it 8/10.


 No.869707>>869976

>>869682

>>869700

anti Rust shills detected.

it is safe.


 No.869976>>869982

>>869707

>>869702

Perhaps you have any facts that counter my argument?


 No.869982>>870010

>>869976

What argument? That rustc has a few bugs? That is a fact and can't be countered.


 No.870010>>870015

>>869982

That the lack of safe imlepmentations impiles the langauge can't be called safe yet.


 No.870015>>870019 >>870124

>>870010

You are contradicting yourself. The language is safe. rustc is not safe bacause of bugs. Prove me wrong or fuck off anti Rust shill.


 No.870016

>02/16/18 (Fri) 13:22:28 No.870015

>02/16/18 (Fri) 12:48:04 No.870014

>13:22

>12:48

>literally nobody posted in /tech/ for whole 34 minutes


 No.870019>>870022

>>870015

>The language is safe

this is a strong statement and needs a proof.


 No.870022


 No.870124>>870125

>>869627

Is Redox the FreeBSD killer?

<since linux is already dead

>>869700

>it's not perfect goy, come back to my shitty c plantation

>>870015

>The language is safe

Cool your jets nigger it's getting there but hur dur it safe is brainlet talk and shits up Rust which already has a faggity rep. 1 formal proof of a subset of Rust was done with grat success but that's a start not the end.c queers back to sucking your own 4" cock


 No.870125>>870197

>>870124

>is brainlet talk

You literally talk like a brainlet.


 No.870131>>870135

>>869618

>>869626

This, please don't present this rat-man as the face of the language when all he is is a verbal parasite.


 No.870135

File (hide): 275286846288e05⋯.jpg (119.92 KB, 1024x683, 1024:683, steve klabnik 3.jpg) (h) (u)

>>870131

But I AM the face of Rust. Everyone knows. Someone mentions Rust? I'm there instantly. I have multiple web crawlers that scavenge the interwebs for mentions of Rust/my name (written in Rust btw). I will be the Jon Skeet of the Rust world and you can't do anything about it.


 No.870176>>870177 >>870635

hey rustfag kannst du mir nen job beschaffen?


 No.870177

>>870176

nee, bin selber arbeitslos


 No.870180>>870193 >>870194 >>870197


 No.870187

>>869589 (OP)

> a tool that automatically can reformat your Rust code to some sort of “standard style.”

About time.

t. Ada


 No.870193

>>870180

Steve is willing (for other people) to fight to preserve his supply of third world dick


 No.870194>>870197

>>870180

uh i'll just keep using c thanks


 No.870197

>>870125

Off-by-one error redirects insult back at you C queer.

>>870180

These commie leftists (using computes and other devices of capitalism) are such cocksucking faggots. Hopefully Steve gets some documentation work done before being beat to death by the niggers he attempts to rile up.

>>870194

C is for cuck nigger.


 No.870207>>870220

what the fuck guys?

99% of these posts are >>>/b/ tier bullshit

can we actually talk about the tech instead of shitposting?


 No.870220>>870239

>>870207

If you've been here for more than a week, you know that that we're inundated with pointless Rust threads to an extent where there isn't much to say anymore. It's partly their own fault, for allowing the technicals of their language to be lost amidst the worthless SJW talking points espoused by a vocal section of their community.


 No.870239>>870264 >>870580

>>870220

>worthless SJW talking points espoused by a vocal section of their community

thats just about every community in the normie world tho, i mean my opinion of it is meh, but it would be nice to see that shit ignored and have some decent tech talk on this tech board...


 No.870264

>>870239

That would be the dream. Politics is not technology.


 No.870580

>>870239

There was never decent tech talk on /tech/.


 No.870635

>>870176

https://www.facebook.com/careers/jobs/a0I1H00000LCTYYUA5/

>Software Engineer, Source Control

>Facebook's mission is to give people the power to build community and bring the world closer together. Through our family of apps and services, we're building a different kind of company that connects billions of people around the world, gives them ways to share what matters most to them, and helps bring people closer together. Whether we're creating new products or helping a small business expand its reach, people at Facebook are builders at heart. Our global teams are constantly iterating, solving problems, and working together to empower people around the world to build community and connect in meaningful ways. Together, we can help people build stronger communities --- we're just getting started.

>Facebook’s Source Control team is seeking an experienced software engineer with expertise in Rust or a similar systems programming language, to build and improve our next generation source control server. You will help design and extend Mononoke, our highly scalable source control server, optimised for serving massive monolithic repositories. Your work will be a critical part of the daily workflow of thousands of Facebook employees.

As a successful candidate, you will lead a team of engineers working on Mononoke, identify new use cases that Mononoke unlocks, and be instrumental in open-sourcing Mononoke and helping others across the industry to adopt it. Mononoke is written in Rust, so experience in Rust is desirable. A love of data structures and algorithms is a must. We are looking for someone who loves solving hard problems at scale.

>Responsibilities

>Proactively develop server-side source control software in Rust

>Lead improvements to underlying Rust code base

>Work with other teams at Facebook to realise the full potential of a highly scalable source control server

>Open source your work and help others across the industry to adopt it

>Minimum Qualifications

>B.S. or M.S. in Computer Science or related field, or equivalent experience

>Experience with systems programming at scale

>Strong communication skills

>Preferred Qualifications

>Experience with Rust

>Experience working on distributed source control software


 No.877550>>877580


 No.877580>>877596

>>877550

There is no difference between unsafe Zig and Zig. There exists no safe Zig. This clickbait blog post is just the creator of Zig desperately trying to get Zig onto Hackernews/Reddit.

Thanks for bumping my thread btw <3


 No.877596>>877598

>>877580

>There is no difference between unsafe Zig and Zig

Because there is no need to create a "safe" subset for a language that is already reasonably safe if the author is not acting maliciously. (and if we count malice, then no language could prevent intentionally malicious code)

Similarly as there's no "safe" Python or Java because no one needs that.

Unsafe Rust, on the other hand, is a footgun, as it was just demonstrated.


 No.877598>>877601

>>877596

>Because there is no need to create a "safe" subset

https://www.cvedetails.com/vulnerabilities-by-types.php

>Similarly as there's no "safe" Python or Java

Python and Java are memory safe. So yes, there is a safe Python/Java.

>Unsafe Rust, on the other hand, is a footgun

So just like C/C++/Zig?


 No.877601>>877602

>>877598

>Python and Java are memory safe. So yes, there is a safe Python/Java.

import ctypes

import sun.misc.Unsafe;

>>877598

>>Unsafe Rust, on the other hand, is a footgun

>So just like C/C++/Zig?

Better than C and C++ and worse than Zig

>>877598

>https://www.cvedetails.com/vulnerabilities-by-types.php

They aren't about Zig, are they?


 No.877602>>877603

>>877601

>import ctypes

>ctypes is a foreign function library for Python. It provides C compatible data types, and allows calling functions in DLLs or shared libraries.

So? This allows you to call shared libraries from Python. That doesn't make Python unsafe.

>import sun.misc.Unsafe;

>Unsafe

ok kid

>Better than C and C++ and worse than Zig

So still unsafe? Thanks for clarifying.

>They aren't about Zig, are they?

LOL. Are you trying to imply that Zig isn't a stillborn language?


 No.877603>>877605

>>877602

>LOL. Are you trying to imply that Zig isn't a stillborn language?

are you trying to imply that a language is only alive if someone is making a shitload of vulnerabilities in it?


 No.877605>>877612

>>877603

No. I'm trying to imply that nobody except for the creator of Zig is using Zig.


 No.877612>>877614

>>877605

And the proofs are …?


 No.877614

>>877612

https://ziglang.org/

>Zig in the Wild

>OpenGL Tetris

>i386 Operating System

>Pokémon Rom randomizer tool

>Micro:Bit Demo

>ARM Kernel

Hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm...

Really makes my thought noggins jogging...


 No.877616>>877620

I want the dylan language to live. ;_;


 No.877620

>>877616

define class <point> (<object>)
slot point-x :: <integer>,
required-init-keyword: x:;
slot point-y :: <integer>,
required-init-keyword: y:;
end class <point>;

disgusting


 No.878101>>878107

WE SIMD NOW BOYS!!!

https://doc.rust-lang.org/nightly/std/arch/

>SIMD and vendor intrinsics module.


 No.878107>>878109 >>878622

>>878101

>unsafe

lmao


 No.878109

>>878107

>muh unsafe

Kill yourself anti Rust shill. Read this:

>This module exposes vendor-specific intrinsics that typically correspond to a single machine instruction. These intrinsics are not portable: their availability is architecture-dependent, and not all machines of that architecture might provide the intrinsic.


 No.878622

>>878107

the rust standard library has lots of unsafe blocks. unsafe is idiomatic.


 No.879181>>879188 >>879191 >>879253

One word that often falls when discussing the Rust community is “nice”. And yes, this is the result of active effort of a number of official and inofficial participants. Today I’m going to compare the Rust community with traffic.

There have been studies that show you need to direcly control only about 5% of cars to eliminate traffic jams (sorry, I’m not going to google the paper, trying to make a point here), and I believe the same applies to assholery in programming communities: If just 5% agree on being nice, they may sway the behavior of the community as a whole.

That is not to say everyone welcomes this kind of control. Imagine being in an almost-jam, trying to weasle through traffic, cutting off people left and right, only to find that a few cars before you, some cars coast, forming a slow-ish barrier you (and perhaps the cars before you) cannot pass. They’re slowing you down! You’d honk in righteous anger! What you don’t (and probably don’t want to) know is that those cars slow down to avoid a traffic jam, by keeping you from creating it.

(As an aside, I find that driving in traffic tends to bring out the worst in us. I’m unsure why that is, but I hear that people behave less well if they feel being in their private space, and most people count their cars in that category)

In a community the coasters being nice have a similar effect on those trying to weasel their way through, shaming and trolling left and right. People being nice offend those who don’t want to be nice themselves, and those people honk “SJW Police! Witch hunt!” in self-righteous fury. Lacking empathy, they think others are only nice to appear better than them, to make them look bad. Why else would someone waste the time and energy? Worse, with the backdrop of all this friendlyness, their weasling attempts suddenly starkly contrast. So they start to resent the “SJWs” on their high horses with their holier-than-you ‘tude.

By defending their “freedom” to bring everyone else to a halt, they’re telling you that them being at their destination five seconds earlier is more valuable than everyone around them not being stuck in traffic for another half an hour. I sincerely doubt the idea that those metaphoric five seconds benefit the community as a whole more than the multitude of half-hours wasted by being stuck.

This is not to say that everyone who blurts “Freedom of Speech” is an asshole. Some were just raised to believe that freedom is the biggest ideal and will reflexively fight everything that appears to curtail it. I personally believe this is misguided. Freedom of Speech is not Guarantee of Audience. I have yet to see any of those people speaking up when someone loud and obnoxious is thrown out of a restaurant -- yet by extension of the same logic this should also count as a free speech violation, right?

Anyway, enough of the rambling. The key takeaway is that the argument that a Code of Conduct keeps people from getting things done is completely bogus. On the contrary, it keeps people from keeping other people from getting things done. I’ll leave you here with a verse:

Let’s play a game & surprise folks’round you by being nice Who gets most smiles this way wins this game & the day Now go & apply this advice


 No.879188

>>879181

you're right about traffic but the analogy is shit and does not apply here.


 No.879191>>879198 >>879236

>>879181

>The key takeaway is that the argument that a Code of Conduct keeps people from getting things done is completely bogus. On the contrary, it keeps people from keeping other people from getting things done.

Perhaps you can explain then:

Why all the drama happens in projects which have a CoC, while other projects just werk without drama?

If your post was true, it should be the other way round? Or do we live in a wrong universe?


 No.879198>>879205

>>879191

>while other projects just werk without drama

Can you prove that statement though? I can certainly disprove it for you: Libav


 No.879205>>879219

>>879198

CoC doesn't stop anyone from forking and deciding to isolate if the license allows to do so.

libav is just a fork, and all the "drama" is because a few people did not agree on some things. (This happens sometimes and it's just how is life.) Not because someone started bitching about diversity and white privilege.

The latter always goes with CoC. I have far more examples of that, but I think you already know about them.


 No.879219>>879222

>>879205

I don't understand what you are tring yo say. First you said that only projects with a CoC have drama and now you try to define drama as bitching about diversity and white privilege?

Also libav wasn't just a fork. Debian replaced ffmpeg with libav and called ffmpeg deprecated.


 No.879222>>879226

>>879219

>Debian replaced ffmpeg with libav and called ffmpeg deprecated

only because a "smart" kid from libav happened to be also an admin in Debian&Ubuntu.

it was reverted later, fortunately.

>>879219

>you try to define drama as bitching about diversity and white privilege?

if we talk about CoC, it is reasonable to talk about the kind of drama which CoC aims to solve?


 No.879226>>879242

>>879222

>only because a "smart" kid from libav happened to be also an admin in Debian&Ubuntu

So? It still is drama.

>if we talk about CoC

>Why all the drama happens in projects which have a CoC

No. We are not talking about CoCs. We are talking about your claim that drama only happens in projects which have a Coc. Which I have disproven and you can't accept because >muh CoC.


 No.879236

>>879191

>Why all the drama happens in projects which have a CoC, while other projects just werk without drama?

>what is grsecurity?

>what is bitkeeper?

>what is gcc ast?


 No.879242

>>879226

okay, maybe not only, but most of the relatively recent drama in FOSS projects happens in projects with CoC.

remember Mozilla, Drupal, https://github.com/opal/opal/issues/941 (this thread speaks for it all actually)

what else, I forgot, a quick search will bring up another couple.


 No.879253>>879332 >>898195

File (hide): 1aa761e58a85d66⋯.jpg (104.01 KB, 639x472, 639:472, me_and_the_xers.jpg) (h) (u)

>>879181

#winning


 No.879332>>917128

>>879253

me in the background


 No.880297>>881810

>>869616

Really makes you think. Perhaps you are the dumb one and everyone should actually believe in antifa because they're right.


 No.881805>>881810

New blog post boys:

Rust's 2018 roadmap

Rust: 2018 edition

This year, we will deliver Rust 2018, marking the first major new edition of Rust since 1.0 (aka Rust 2015).

We will continue to publish releases every six weeks as usual. But we will designate a release in the latter third of the year (Rust 1.29 - 1.31) as Rust 2018. This new “edition” of Rust will be the culmination of feature stabilization throughout the year, and will ship with polished documentation, tooling, and libraries that tie in to those features.

The idea of editions is to signify major steps in Rust’s evolution, where a collection of new features or idioms, taken as a whole, changes the experience of using Rust. They’re a chance, every few years, to take stock of the work we’ve delivered in six-week increments. To tell a bigger story about where Rust is going. And to ship the whole stack as a polished product.

We expect that each edition will have a core theme or focus. Thinking of 1.0 as “Rust 2015”, we have:

* Rust 2015: stability

* Rust 2018: productivity

What will be in Rust 2018?

The roadmap doesn’t say for certain what will ship in Rust 2018, but we have a pretty good idea, and we’ll cover the major suspects below.

Documentation improvements

Part of the goal with the Rust 2018 release is to provide high quality documentation for the full set of new and improved features and the idioms they give rise to. The Rust Programming Language book has been completely re-written over the last 18 months, and will be updated throughout the year as features reach the stable compiler. Rust By Example will likewise undergo a revamp this year. And there are numerous third party books, like Programming Rust, reaching print as well.

Language improvements

The most prominent language work in the pipeline stems from 2017’s ergonomics initiative. Almost all of the accepted RFCs from the initiative are available on nightly today, and will be polished and stabilized over the next several months. Among these productivity improvements are a few “headliners” that will form the backbone of the release:

* Ownership system improvements, including making borrowing more flexible via “non-lexical lifetimes”, improved pattern matching integration, and more.

* Trait system improvements, including the long-awaited impl Trait syntax for dealing with types abstractly.

* Module system improvements, focused on increasing clarity and reducing complexity.

* Generators/async/await: work is rapidly progressing on first-class async programming support.

In addition, we anticipate a few more major features to stabilize prior to the Rust 2018 release, including SIMD, custom allocators, and macros 2.0.

https://blog.rust-lang.org/2018/03/12/roadmap.html


 No.881810>>881812

>>880297

1/10

>>881805

Tell me when it gets standardized instead.


 No.881812>>881820

>>881810

Can you tell me when C/C++ got standardized?

Kill yourself anti Rust shill


 No.881820>>881822

>>881812

Are you retarded? What are C89, C99 and C11?


 No.881822>>881827 >>917130

>>881820

Are you retarded?

>C was originally developed by Dennis Ritchie between 1969 and 1973 at Bell Labs

>In 1989, the C standard was ratified as ANSI X3.159-1989 "Programming Language C".

Now please calculate how long after C's development it got standardized. Then look up how old Rust is. Then kill yourself, anti Rust shill.

Also please tell me why having a standard is important?


 No.881827>>881830

>>881822

C was made only for themselves at the beginning. Rust wasn't.

>Also please tell me why having a standard is important?

Learning or even making a 3rd party compiler for an always moving target is a pain. Especially since the stdlib itself isn't standardized I hope they'll cut that nodejs style of "everything must be an out of tree module".

Anyway, stay happy in your faggot circlejerk.


 No.881830

>>881827

>what is mrustc???

https://github.com/thepowersgang/mrustc

>Anyway, stay happy in your faggot circlejerk.

I too would admit defeat with those garbage arguments of yours.

Stay gone, anti Rust shill.


 No.881832>>881833

File (hide): 9564b4d6cb4b481⋯.gif (1.74 MB, 245x160, 49:32, hahaha.gif) (h) (u)

>>having standards is not important


 No.881833>>881835

>>881832

>i can't name a single reason why a standard is important

>hahaha.gif

great argument, kid


 No.881835>>881836

>>881833

this person here is why Rust is and will be irrelevant for a long time most likely


 No.881836

>>881835

this person here is why /tech/ is and will be irrelevant for a long time most likely


 No.882142>>882162 >>882181

File (hide): d584648ca1e497a⋯.png (663.88 KB, 849x565, 849:565, dot-o-neat-o.png) (h) (u)

I admire the Rust fags for their advertising. They sure like to claim that they invented everything.

>Back in September of 2016 (!!!), we blogged about Incremental Compilation. While that post goes into the details, the idea is basically this: when you’re working on a project, you often compile it, then change something small, then compile again. Historically, the compiler has compiled your entire project, no matter how little you’ve changed the code. The idea with incremental compilation is that you only need to compile the code you’ve actually changed, which means that that second build is faster.


 No.882162>>882896

>>882142

Are you trying to imply that Steve Klabnik is trying to imply that the Rust developers invented incremental compilation? Because from what I understand Steve only wrote that in September 2016 he wrote a blog post about incremental compilation.

Can you please quote the specific part where you believe Steve claimed that the Rust developers invented incremental compilation?


 No.882163>>882166

I hate these versioning schemes that do nothing but indicate that some time has passed, you could get that information anyway. Version numbers have no meaning anymore.


 No.882166

>>882163

They tell the compiler which words it should consider as keywords. Just because you are an autist and don't like this particular versioning scheme doesn't mean that it's shit.

Also use actual arguments next time.


 No.882181>>882896

>>882142

They never said they invented it. They only implemented it in the compiler. Since when are you only allowed to implement technologies you personally invented?


 No.882323

>When Steve Klabnik walks onto the back patio of Fritzl’s Lunch Box in Bushwick to join Tyler, Gregg, and me around a rickety table, it’s as if we already know each other. In a way, some of us do ---the way you can know somebody from the Internet. But Steve also carries himself with welcoming assurance. He’s wearing his typical outfit: a black hoodie and skinny black jeans.

This man just oozes charisma. And he's smart too just check out some of stevers blog posts

>How Dogecoin changed my perspective on cryptocurrency

Almond activating stuff.

I for one will definitely use Rust to fight against capitalism and fascism. Safety First Comrades!!!


 No.882896>>882963

>>882162

>>882181

I'm not implying it. I'm saying it outright. You should learn how to read. Rhetoric is real and that's why you elect stupid politicians and buy shitty products.

>Historically, the compiler has compiled your entire project, no matter how little you’ve changed the code.

""historically"" ""historically"" ""historically""

No doubt about the intent.


 No.882900>>882916 >>890549 >>917149

>>869589 (OP)

https://www.rust-lang.org/en-US/conduct.html

>We are committed to providing a friendly, safe and welcoming environment for all, regardless of level of experience, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, nationality, or other similar characteristic.

>On IRC, please avoid using overtly sexual nicknames or other nicknames that might detract from a friendly, safe and welcoming environment for all.

>Please be kind and courteous. There’s no need to be mean or rude.

>Respect that people have differences of opinion and that every design or implementation choice carries a trade-off and numerous costs. There is seldom a right answer.

>Please keep unstructured critique to a minimum. If you have solid ideas you want to experiment with, make a fork and see how it works.

>We will exclude you from interaction if you insult, demean or harass anyone. That is not welcome behavior. We interpret the term “harassment” as including the definition in the Citizen Code of Conduct; if you have any lack of clarity about what might be included in that concept, please read their definition. In particular, we don’t tolerate behavior that excludes people in socially marginalized groups.

>Private harassment is also unacceptable. No matter who you are, if you feel you have been or are being harassed or made uncomfortable by a community member, please contact one of the channel ops or any of the Rust moderation team immediately. Whether you’re a regular contributor or a newcomer, we care about making this community a safe place for you and we’ve got your back.

>Likewise any spamming, trolling, flaming, baiting or other attention-stealing behavior is not welcome.

http://citizencodeofconduct.org/

>The following behaviors are considered harassment and are unacceptable within our community:

>Violence, threats of violence or violent language directed against another person.

>Sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory jokes and language.

>Posting or displaying sexually explicit or violent material.

>Posting or threatening to post other people’s personally identifying information ("doxing").

>Personal insults, particularly those related to gender, sexual orientation, race, religion, or disability.

>Inappropriate photography or recording.

>Inappropriate physical contact. You should have someone’s consent before touching them.

>Unwelcome sexual attention. This includes, sexualized comments or jokes; inappropriate touching, groping, and unwelcomed sexual advances.

>Deliberate intimidation, stalking or following (online or in person).

>Advocating for, or encouraging, any of the above behavior.

Sustained disruption of community events, including talks and presentations.

Forbidden hugs when ?


 No.882916

>>882900

>Inappropriate photography or recording

WAT?

What is appropriate then?

Reads like catch-all bullshit.


 No.882963>>883039

>>882896

You're a retard. Steve is referring to rustc with "the compiler". Historically, rustc has compiled the entire project.

Kill yourself.


 No.883039>>883126 >>883170

>>882963

Let's discuss within which timeframe using the word "historically" would be appropriate.

If you choose to idolize him, then that's your problem not mine. I'll make fun of the selfimportant manipulative shitbag whenever I fucking please.


 No.883126>>883228

>>883039

>i said something retarded but i can't admit it so now i'm going to double down


 No.883170>>883228

>>883039

Start with yourself.


 No.883228>>883251

File (hide): 86d2f7a63aac5d7⋯.jpg (34.19 KB, 408x350, 204:175, dawg.jpg) (h) (u)

>>883126

You know historically retardation was the inabillity to comprehend rhetoric speech, but is now a term that is used against people who can analyze and understand rhetoric speech.

Historically when someone explained their new feature as if no one knew what it was, even though everyone had known for decades, they were considered retards.

>>883170

You know historically I would have ignored you, but apparently now I don't.

Your request rings hollow when you couldn't take a simple joke about the rhetoric in the blogpost, don't you think Mr. Snowflake? Sorry to break the news to you, but you are the one who can't make fun of yourself.


 No.883251>>883471 >>917152

>>883228

>i said something retarded but i can't admit it so now i'm going to double down even more

>reddit spacing

Stop shitting up my Rust thread with your autism.

I don't even understand what your problem is. Are you triggered because Steve used the word "historically" and you think it is wrong? Or is it because you misunderstood that Steve was only talking about rustc and not all compilers?


 No.883471>>883651

File (hide): acf355428e9f431⋯.jpg (25.21 KB, 306x297, 34:33, pinocchio.jpg) (h) (u)

>>883251

Nope, the two of us is shitting up your Rust thread because you shat on a joke. First rule of the game is never to shit on a joke.

We could have been sitting here talking about what's nice about Rust and how Klabnik is probably a nice guy, but you choose to shit on a joke, because you're a delicate rust-colored flower.

>i said something retarded but i can't admit it so now i'm going to double down even more

You're clinging to a straw there man. You know what, maybe I'm wrong, maybe Steve is not an arrogant shitbag. He just knows how dumb his crowd is and that's why he's talking down to you and using words like "Historically" to trick your mind to worship the devine creation that is Rust. Even making you angry when someone makes a joke about the devine creation.

>reddit spacing

Auch.. keep trying to fit in, it'll probably make you a real boy some day pinocchio.


 No.883481

File (hide): a1ac930b167f3bb⋯.jpg (21.65 KB, 487x350, 487:350, exit.jpg) (h) (u)

I'll stop now. Peace out Rust-flakes! Better things to do. Dot-o neat-o!


 No.883651

>>883471

>i was only pretending to be retarded

ebin


 No.884063>>884086 >>884107

File (hide): 6062cdf5a49eddf⋯.png (146.47 KB, 1273x1881, 67:99, Screen Shot 2018-03-17 at ….png) (h) (u)

https://www.reddit.com/r/rust/comments/850nue/futures_violatesviolated_me/

https://archive.is/SQJSv

>Yeah I'll just say trivializing the idea of violation doesn't seem like a great way to ask for help.

>I understand it's a conversation you don't want to have and that's fair, so no response needed. I'll just say that I disagree. From the title and you're description of "My keyboard is wet with tears." it seems like the general intention was "futures has cause me real pain and anguish". Given that, I have a hard time seeing any of those points except #3 being applicable. #1 and #2 are really "rules were broken" and that isn't generally something I'd expect to cause tears.

LOL


 No.884068

>>language development falls apart because leads dont agree on "figures of speech", "opinions", "quality control" and "standards" with low level devs who do all the work


 No.884086>>885024

>>884063

how come such whiners as these 2 are even possible?

it's such a disgrace. 0/10


 No.884107>>884127

>>884063

>[removed]

LOOOL


 No.884127

>>884107

I guess that means he was feeling unwelcome and harassed. Bad job, SJW army!


 No.885024>>897190

>>884086

They welcome """people""" like Assy Williams into their project, that's why. They actively CULTivate a CULTure of faggotry.


 No.885029>>885057 >>891924

File (hide): 961ac5722c95fbe⋯.png (1.69 MB, 1647x1358, 1647:1358, rust tolerance.png) (h) (u)


 No.885037>>885042 >>885049

File (hide): 651b6b6a50b8d25⋯.png (272.66 KB, 620x463, 620:463, rust unsafe sweep under th….png) (h) (u)


 No.885042>>885196

>>885037

what is your point?


 No.885049>>885196

>>885037

are you a brainlet or just trolling?


 No.885057

>>885029

It seems like Steve Klabnik wants people to murder him or something.


 No.885196

>>885042

>>885049

what YOUR point? are YOU a brainlet?


 No.885203

when your brain rusts this is the language


 No.885241

>>869589 (OP)

lol


 No.890508>>890518

File (hide): c76db1c59ab13eb⋯.jpg (384.3 KB, 1400x933, 1400:933, steve klabnik.jpg) (h) (u)

Announcing Rust 1.25

The Rust team is happy to announce a new version of Rust, 1.25.0. Rust is a systems programming language focused on safety, speed, and concurrency.

The last few releases have been relatively minor, but Rust 1.25 contains a bunch of stuff! The first one is straightforward: we’ve upgraded to LLVM 6 from LLVM 4. This has a number of effects, a major one being a step closer to AVR support.

A new way to write use statements has landed: nested import groups. If you’ve ever written a set of imports like this:

// on one line
use std::{fs::File, io::Read, path::{Path, PathBuf}};

// with some more breathing room
use std::{
fs::File,
io::Read,
path::{
Path,
PathBuf
}
};

There are two big documentation changes in this release: first, Rust By Example is now included on doc.rust-lang.org! We’ll be redirecting the old domain there shortly. We hope this will bring more attention to a great resource, and you’ll get a local copy with your local documentation.

Second, back in Rust 1.23, we talked about the change from Hoedown to pulldown-cmark. In Rust 1.25, pulldown-cmark is now the default. We have finally removed the last bit of C from rustdoc, and now properly follow the CommonMark spec.

Finally, in RFC 1358, #[repr(align(x))] was accepted. In Rust 1.25, it is now stable! This attribute lets you set the alignment of your structs:

struct Number(i32);

assert_eq!(std::mem::align_of::<Number>(), 4);
assert_eq!(std::mem::size_of::<Number>(), 4);

#[repr(align(16))]
struct Align16(i32);

assert_eq!(std::mem::align_of::<Align16>(), 16);
assert_eq!(std::mem::size_of::<Align16>(), 16);

The biggest story in libraries this release is std::ptr::NonNull<T>. This type is similar to *mut T, but is non-null and covariant. This blog post isn’t the right place to explain variance, but in a nutshell, NonNull<T>, well, guarantees that it won’t be null, which means that Option<NonNull<T>> has the same size as *mut T. If you’re building a data structure with unsafe code, NonNull<T> is often the right type for you!

libcore has gained a time module, containing the Duration type previously only available in libstd.

Additionally, the from_secs, and from_milis functions associated with Duration were made const fns, allowing them to be used to create a Duration as a constant expression.

https://blog.rust-lang.org/2018/03/29/Rust-1.25.html

https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1250-2018-03-29

discuss


 No.890518>>890521

>>890508

::::::::::::::::::::::::::::::::::::::::::::::::::::::::

WHY::HAS::THIS::THREAD::NOT::BEEN DELETED::YET

::::::::::::::::::::::::::::::::::::::::::::::::::::::::


 No.890521>>897220

>>890518

Because it is actually /tech/ related


 No.890549>>890550

>>882900

>>890548

Good job, spammer.


 No.890550

>>890549

based mods <3


 No.890570

>offical antifa programming language vs the most white programing langauge other then holy c


 No.891924>>897190 >>897245

>>885029

>actual fascism making a comeback masquerading as anti-fascism


 No.897190

>>891924

>>885024

In their delusion they justify violence against innocent people. That's why xey need to be beaten to death.


 No.897220

>>890521

>Because it is actually /tech/ related

Even tho I hate rust he is right.


 No.897245>>897252 >>897274 >>900065

File (hide): 2d8158bde2476aa⋯.jpg (159.21 KB, 1066x600, 533:300, 2d8158bde2476aa4b72c2cecf9….jpg) (h) (u)

>>891924

You need to go back


 No.897252>>897257

>>897245

No, he's actually right. The start of knowledge is to call things by their names, and ANTIFA, and those with them on the farther left, are communists. If anyone needs to go back, it's you.

>>>/leftypol/


 No.897257>>897274 >>897296

>>897252

>/pol/yps putting two spaces after periods.


 No.897274>>897302

>>897245

>getting meanings of words correct offends us, right gays?

No nigger, anon is right, and you are wrong. The Antifags bought MSM spin like the dense niggerbrains they are, did violence, and became what they claim to hate. Next up they'll be going to prison for domestic terrorism and buttfucked by turboniggers.:^)

>>897257

>yikes my antifa comrad is getting called out and exposing us for being fascists better slide thread with pointless pedantry


 No.897284

File (hide): 24fc040e4cf6a78⋯.png (31.81 KB, 900x286, 450:143, Screenshot_20180413_012241.png) (h) (u)

>you're doing god's work by being the best SJW possible!

<wtf you beleive in god omg ugh

lel they can't even agree with each other


 No.897296

>>897257

U mad? Stallman himself also did that.


 No.897302>>897304 >>897331 >>897708 >>897791

File (hide): cd3cb4276089169⋯.jpg (281.37 KB, 924x695, 924:695, 1488754318.gothicskunk_39_….jpg) (h) (u)

>>897274

>duh antee fashis are da reel fashist!

Pic related, it's you.


 No.897304

>>897298

>>897302

>implying a smug anime character next to a pile of text will automatically make this text 100% not bullshit


 No.897331

File (hide): aa71c2ced9b7b15⋯.jpg (81.49 KB, 391x599, 391:599, albedo.jpg) (h) (u)

>>897302

Oh noes! Drumpf got two scoops, and I can't even eat my one scoop with my rusty spoon.


 No.897708>>897713


 No.897713>>897729

>>897708

Ah, a /pol/ JPEG, the one and true source of information.

No.


 No.897726

Rust will prevent all semantic and logical errors

"Error"

unsafe:pajeetvar

"Success"


 No.897729>>897732 >>897738 >>897741 >>897770 >>897780 >>898067

>>897713

>didn't read can't refute

Have a png.


 No.897732>>897738

>>897729

Not reading your conspiracy theory for the millionth time. Especially since all those Twitter accounts are /pol/ false flags anyway. Why don't you keep to watching Nickelodeon shows to unveil cuckold conspiracies?


 No.897738>>897742 >>897761

>>897732

>didn't read can't refute

>>897729 @Jack Dorsey, communist domestic terrorism, Twitter, child rape, human trafficking, TWTR shareholders defrauded


 No.897741>>897759

>>897729

In the png the poll about censorship indicates that far more leftists are censored than right wingers looking at the ratio of responses.


 No.897742>>897759

>>897738

Not the guy you're replying to but I can't read your picture because I'm over 30.


 No.897759

>>897741

>2+2=5 goy

>leftist math

>>897742

Click on it, it gets bigger.


 No.897761>>897765

>>897738

Yes, and the frogs turn gay and it's all a JEWISH and MASON and REPTILIAN conspiracy with CHEMTRAILS and if you (((disagree))) you work for (((them))) wake up sheeple


 No.897765>>897767

>>897761

>be dazzled by my handwaving goy

>don't read about @Jack Dorsey, communist domestic terrorism, Twitter, child rape, human trafficking, TWTR shareholders defrauded goy


 No.897767>>897770

>>897765

you're mentally ill and ought to get yourself checked


 No.897770>>897776

>>897767

>catching me in my (((tricks))) makes you mentally ill

You still haven't addressed >>897729 @Jack Dorsey, communist domestic terrorism, Twitter, child rape, human trafficking, TWTR shareholders defrauded


 No.897776>>897780

>>897770

you're a pathetic sad man


 No.897780>>897781

>>897776

Before you assume my gender you should address >>897729 @Jack Dorsey, communist domestic terrorism, Twitter, child rape, human trafficking, TWTR shareholders defrauded


 No.897781>>897783

>>897780

you drew lines on a collage of anonymous posts. congratulations, mental patient.


 No.897783>>897787

>>897781

>didn't read can't refute


 No.897787>>897788 >>897798


 No.897788>>897789 >>897817

>>897787

>>897787

>>897787

>leftist rhetoric in 2018

Stalin would be ashamed of you. @Jack's going to prison.


 No.897789


 No.897791>>897792 >>897793

>>897302

what people mean when they call antifa fascist is they use similar athoritarian attitudes. antifa may not fit the definition completely for facism but the fact they silence other ideas and use violence which is a part of fascism.


 No.897792>>897793

>>897791

<Robespierre was a fascist because he silenced the aristocracy and cut their heads off


 No.897793>>897795

>>897791

What's really sad is they are unintentional or intentional functionaries of fascists, who use Antifa types ("useful idiots") that are sometimes well intentioned but lack the historical perspective and character to know better. Sad! Case in point >>897792


 No.897795>>897798

>>897793

doesnt make the antifa people any less brain dead. people may miss use labels.


 No.897798

>>897795

The Antifa people are most certainly braindead. Look at the chain of "discourse" from >>897787 up. That's what makes them easy to be manipulated and used by fascists. They are the useful idiots of our generation.


 No.897817>>898067

>>897788

who the fuck is jack and how is that relevant to rust?


 No.898067

>>897817

Violent commie Rust devs tried to slide >>897729

pic exposing the company they keep. Rust devs promote political violence and censorship, Twitter's complicit, it's the biggest issue in tech and Rust.


 No.898156

File (hide): bb4443fc3d5ca75⋯.png (79.76 KB, 254x236, 127:118, hehe.png) (h) (u)

I love when pol and antifa clashes. It's like watching two frothing retards flinging shit on each-other. Both the left and the right are fascists. Most people are fascists. Man is authoritarian by nature, grow up and get over it. Make something useful instead of fussing over brands. Faggots.


 No.898195

>>879253

I don't get it.


 No.898270>>898443 >>898956

Why is there always a thread for this SJW meme lang?


 No.898271>>898908

Also, ANTIFA are domestic terrorists.


 No.898443

>>898270

because otherwise there would be no good threads on this board


 No.898908>>898955

File (hide): c8fcc10f0e7d9f9⋯.jpg (344.41 KB, 747x1133, 747:1133, 9b84c0d9.jpg) (h) (u)

>>898271

>Also, ANTIFA are domestic terrorists.

Yea, and they got violent first so it'll be fun deleting Antifa terrorists like Ashley and Steve from tech, by any means necessary.


 No.898955

>>898908

>LARPing


 No.898956

File (hide): d120200dafc9dad⋯.png (206.57 KB, 404x350, 202:175, st_newman.png) (h) (u)

>>898270

Because rust is 50% meme lang 50% cult. Have you noticed how if you're on some obscure forum dedicated to some specific topic, sooner or later some christian will come along to tell you about how your hobby of garden gnome sculpting or whatever is directly related to how you should accept your lord and savior Jesus into your life? It's sort of like that.


 No.898968>>898975 >>898994 >>899638

File (hide): e601eb425c2360a⋯.png (57.48 KB, 3860x910, 386:91, zig-logo.png) (h) (u)

Daily reminder that Zig > Rust

https://ziglang.org/


 No.898975>>898993

>>898968

Wow, that's pretty close to my ideal C-like language.


 No.898993>>899011

>>898975

I was interested it in as a freestanding/OSdev language. I'd seen it recommended for that as an alternative to C in some places, and the zig people list an i386 kernel as one of the projects that's been developed in the language. Found something interesting, though:

>$ ldd /usr/bin/gcc

linux-vdso.so

libm.so

libc.so

ld-linux-x86-64.so

>$ ldd $builddir/zig

linux-vdso.so

libclangFrontend.so

libclangDriver.so

libclangSerialization.so

libclangSema.so

libclangAnalysis.so

libclangAST.so

libclangParse.so

libclangBasic.so

libclangEdit.so

libclangLex.so

libLLVM-6.0.so

libpthread.so.

libxml2.so

libstdc++.so

libm.so

libgcc_s.so

libc.so

libffi.so

libedit.so

libz.so

libdl.so

libncursesw.so

ld-linux-x86-64.so

libicuuc.so

liblzma.so

libicudata.so

Welp. That'd be fun to port. I guess for an embedded system or some kind of autonomous exokernel where you never planned on porting the toolchain for native hosting, it'd be fine. I knew LLVM was part of the bargain, because that's the zig backend, but there's about a dozen other deps. The C++ standard library, ICU, libxml2, etc.


 No.898994>>898999 >>899010

>>898968

Okay, what's the catch, other than the Perl-tier symbol madness syntax?


 No.898997>>898999 >>899000 >>899012 >>899027 >>900068

File (hide): f55c06e24e5fb7b⋯.gif (2.78 MB, 338x252, 169:126, 1466719197262.gif) (h) (u)

How long do we have to wait before we get a new non-meme language?


 No.898999

File (hide): f595afaba38adb4⋯.gif (112.91 KB, 320x224, 10:7, allyourbase.gif) (h) (u)

>>898994

It looks like C tbh.

>>898997

I'm still confuse why people don't use Ada. It was good enough for aerospace shit.


 No.899000

>>898997

Not until the next age of enlightenment.


 No.899010>>899024

>>898994

It's not finalized yet.

Less libraries than with Rust.

Less editor/IDE support.

(All of that is a question of time obviously).


 No.899011

>>898993

Nut sure why this matters much as long as you can cross-compile. Which is a first class goal btw.


 No.899012>>899014

>>898997

Not before this stops:

>.gif (2.78 MB)


 No.899014>>899015

File (hide): 1ad2dcee796bf99⋯.gif (14.36 MB, 640x360, 16:9, _.gif) (h) (u)


 No.899015>>932051

>>899014

you are the reason of global warming.


 No.899018>>899024 >>932510

Unless https://medium.com/@CBowdon/esr-is-right-about-discovery-cost-and-rusts-stdlib-c7a1839dca8e is fixed, Rust is dead to my eyes. I don't ask Python tier fatness of stdlib, but at least POSIX C.


 No.899024>>899029

>>899010

>Less libraries than with Rust.

You mean none?

>>899018

ESR is a retard. Also POSIX is a cancer.


 No.899027

>>898997

Not until people will realize that a language is only as good as its compiler.


 No.899029>>899038

>>899024

>ESR is a retard.

I don't care about him, the point still stands.

>Also POSIX is a cancer.

Maybe, but I was talking in term of size/capabilities.


 No.899038>>899059 >>900092

>>899029

Alright I previously haven't read the article because is saw esr in the URL and I remember that he was too retarded to figure out to concatenate two string slices in Rust.

>The distilled point is this: a comprehensive standard library is more practical than a proliferation of community packages.

This is just nonsense. How is it more practical for a module to be in the std instead of being on crates.io (or any other package repo. not that there currently an alternative exists but it is possible to make one)?


 No.899059>>899083 >>899630

>>899038

He explains it in the same fucking article, you retard. Why don't you enable your tripcode so I can filter your stupid uninformed comments, Klabnik?


 No.899083>>899098

>>899059

>He explains

Alright the argument why a small std is bad is because community packages are bad and everything std is good because it is blessed by language creators.

This is retarded. Just because something is in the std doesn't make it good nor does it guarantee you that it will not be deprecated.

Python is held up as a good example because the std is large. But protip: Python's std largely sucks.

Anyways I'm done argumenting with some "your a retard XDDDDDDDDDDDDDDDDD sage" faggot.


 No.899098>>899104 >>899113

>>899083

I think you simply didn't read. Unless you're REALLY retarded.

>Alright the argument why a small std is bad is because community packages are bad and everything std is good because it is blessed by language creators.

It's not good, it's consistent, sufficiently documented and almost always maintained unless it's replaced by something that can do the same or more. If you can't get why searching among soyboys' summer projects that will never be maintained to get a basic functionality is bad, you've never programmed.

tl;dr man myfunction (then maybe searching in the SEE ALSO) > searching on a webpage that can't even display something without javascript


 No.899104>>899136 >>899137 >>899182 >>899636

>>899098

>your retarded

>soyboy

epic. https://boards.4chan.org/pol/

You still haven't backed up your claim that the std is something magical and community packages are shit.

Python's std still sucks pretty hard even though according to you it should be awesome: http://www.leancrew.com/all-this/2012/04/where-modules-go-to-die/

antisage btw XDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD


 No.899113>>899117

>>899098

>rustfag doesn't understand quality control

Color me amazed.


 No.899117>>899120 >>899636

>>899113

>LARPer on /tech/ shits on Rust because >muh SJW while not knowing anything about programming

Color me surprised.


 No.899120>>899168

>>899117

>rustfag on /tech/ whining about persecution while thinking rustfags are programmers instead of mlm drones

Color me dazed.


 No.899136>>899168

>>899104

Something in the stdlib won't go unmaintained forever without warning. At the very least it won't bitrot, whereas many pre 1.0 Rust libraries are nowadays bitrotten to the core. Not to mention library hunting is more often than not more time consuming than implementing a small subset of what you would need in any monster library, that have API methods for oddly specific usecases mixed with all the shit most people will use.


 No.899137

>>899104

>It's not good

>according to you it should be awesome

Take your pills, faggot.


 No.899168>>899171 >>899636

>>899120

>persecution

please quote me where i expressed that sentiment

>>899136

>pre 1.0

>he calls me a retard

ok


 No.899171

>>899168

>muh SJW

Implies there's something wrong with shitting on you SJWs


 No.899182>>899195

File (hide): 209d5b08f955e05⋯.jpg (148.34 KB, 994x745, 994:745, Soyboy-4.jpg) (h) (u)

>>899104

>rustfag

> >>>/pol/

>stung by soyboy

>venting with irony


 No.899195>>899217 >>899636

>>899182

TIL there's a board for us

>>>/soyboys/


 No.899217>>899636

>>899195

Finally I can find some friends to play legos with.


 No.899630

File (hide): 879739f9a33dfa0⋯.jpg (537.21 KB, 1400x933, 1400:933, c76db1c59ab13ebf16258a2065….jpg) (h) (u)

>>899059

>Klabnik


 No.899636>>899694

>>899117

>ignores technical point like a faggot

>>899168

>ok

Typical dumb dumb leftist with poor vision can't see the forest for the trees. Anon's point was spot on, and you don't have to look at pre 1.0 libs to see it.

>>899104

>your retarded

>t.niggerbrain

>>899195

>won't die of aids alone

>>899217

Parents at the playground got wise to you trying to befriend their children eh raping lefty?


 No.899638>>899651 >>899905 >>900032

>>898968

>https://ziglang.org/

>Code of conduct

>Harassment includes offensive verbal comments related to gender, sexual orientation, disability, physical appearance, body size, race, religion, sexual images in public spaces, deliberate intimidation, stalking, following, harassing photography or recording, inappropriate physical contact, and unwelcome sexual attention.

>Hire

>Our community is 5% black, 6% Latino/a, and over 30% women. We are always striving to build a stronger and more diverse community, and have disbursed over $1M in need-based living expense grants to people from traditionally underrepresented groups in programming over the past four years.

>my sjw meme language is better than yours

Both are trash for faggots.


 No.899651>>899900

>>899638

proof that it affects code quality, please.


 No.899694

>>899636

Anti Rust shills are out in full force.

I guess Rust must be pretty good when it can rile you faggots up this much.

Also ROFLMAO @ your arguments:

>muh SJWs

>muh CoC

>muh standard library isn't big enough

/tech/ should be renamed to /g/ TBH.


 No.899900>>900027

File (hide): 2b2843f1bb2b16e⋯.png (275.1 KB, 1340x1226, 670:613, Women_Programming.png) (h) (u)

File (hide): d55fb24c65af707⋯.jpg (225.93 KB, 869x1776, 869:1776, girls_programming.jpg) (h) (u)


 No.899905>>900028 >>908565

>>899638

That's a shame. I was hoping that since Python has Pythonistas and Rust has Rustaceans, Zig could have Ziggers. But I guess they'd be too uptight for that. Goddamn blackass ziggers.


 No.899911

Annoucing Rust 1.666

We still havent fixed the most basic problems because we think they are actually features


 No.899978

>anti rust shills are now resorting to spamming inane shit instead of even trying to form a valid argument

wew. rust sure is winning.


 No.900027>>908565

>>899900

these aren't writing any code for Zig.

so, not a proof.

I can find examples of shit code written by males as well. In fact, at my work I've seen enough of it.


 No.900028>>900130

>>899905

>But I guess they'd be too uptight for that. Goddamn blackass ziggers.

Nobody's stopping us to call it that way anyway.

CoC is not a magical superpower (thanks G-d).


 No.900032>>900061

>>899638

I don't see a code of conduct in the zig source code repo or on ziglang.org. Would you mind pointing out where you found that?


 No.900061>>908565

>>900032

Probably this https://www.recurse.com/code-of-conduct

I have no idea why he thought it applies to Zig.

Sure, there's a link to this site, but it's only a sponsor.


 No.900065>>900072

>>897245

You realize that last time Antifa's monkeyshines actually led to the rise of Hitler don't you?

Just saying you're treading on pretty thin ice. I don't think Antifa even attacks any actual Nazis, they are out there trying to beat up Christian prayer meetings and stuff.


 No.900068>>907339


 No.900072>>900104

>>900065

>Antifa's monkeyshines actually led to the rise of Hitler don't you?

Surely it wasn't the German higher classes who wished to counter the rise of the Communist party. Surely it wasn't the conservative judge who didn't give the death sentence to Hitler after the Munich putsch (as it was given to left-wing conspirators).

No, it must have been a movement that started in the 70's.


 No.900083

Small announcement from your friendly neighborhood Rust fag: GraalVM can run Rust via LLVM bitcode.

What is GraalVM?

GraalVM is a universal virtual machine for running applications written in JavaScript, Python, Ruby, R, JVM-based languages like Java, Scala, Kotlin, and LLVM-based languages such as C and C++.

GraalVM removes the isolation between programming languages and enables interoperability in a shared runtime. It can run either standalone or in the context of OpenJDK, Node.js, Oracle Database, or MySQL.

https://www.graalvm.org/


 No.900092>>900150

>>899038

Because then you don't have to hunt for packages. For instance, when using Flask with Python you need to hunt for a lot of things because Flask is a microframework and does almost everything beyond simple HTTP serving with an extension. Good luck finding the one that's well-maintained and has a good API. This applies to JS and Rust as well; I remember spending hours to find a package giving a specific functionality because there were 10 others that were broken and I had to try each before finding out their shortcomings.


 No.900104>>900124 >>908568

File (hide): 3f2642a3dc874f7⋯.jpg (18 KB, 388x550, 194:275, antifa_her_zu_uns_poster.jpg) (h) (u)

>>900072

>No, it must have been a movement that started in the 70's.

No, it started in 1932 when the KPD founded it. The KPD was a member of Comintern and directly supported by the Soviets during the German Revolution. The KPD were in fact a party that tried to take over the government when they themselves were founded.

Later, it was a term unironically used by the Soviets and Soviet puppet states, see: the official name of the Berlin Wall.

These were the kind of people that would have had those edgy young Germans who are members of Antifa today working in collective farms or factories with no real future for themselves while the leaders of the Party would be sitting behind a desk at a design bureau or doing some Party function. I have no idea why they think this is hip or cool.


 No.900124>>900233

>>900104

>I have no idea why they think this is hip or cool.

>implying golems actually think


 No.900130>>908568

>>900028

They are a mark of territory. Of course like a dog pissing somewhere, it doesn't mean they really own the place. Regardless it's only a sponsor. The author seems to be an alumni of whatever kind of school they pretend to be. He himself seems to be a liberal who doesn't talk about politics or social issues. I would rate the zig community as safe for casual professional interaction.


 No.900150>>900250 >>918321

>>900092

But regardless of the language you have to "hunt" for packages. No languages std has everything.

>I remember spending hours to find a package giving a specific functionality because there were 10 others that were broken and I had to try each before finding out their shortcomings.

Sounds like every popular language tbh.


 No.900233>>900237

>>900124

This. They don't think. They just get told what to believe in school which is the most successful indoctrination method besides TV.

The jews use our tax money to finance them. What a great democracy in which only 50% votes because of 5% clause and non-voters and the 50% don't even get to decide anything because all parties in the Bundesrat apart from AfD have the exact same ideology and are basically SED split up in parts.


 No.900237

>>900233

*Bundestag


 No.900245

Is this the BILD forums??


 No.900250

>>900150

With a good enough stdlib, you can simply reimplement stuff if you really want to.


 No.903023>>903024 >>903025

Hey LARPers! Do you remenber my thread I made a while ago about Cucklefish using Rust to do game dev?

Cucklefish has published a whitepaper: Cucklefish Taps Rust to Bring Safe Concurrency to Video Games

https://www.rust-lang.org/pdfs/Rust-Chucklefish-Whitepaper.pdf


 No.903024>>903029

>>903023

>Cucklefish

Is it seriously named like that?


 No.903025>>903029

>>903023

>>903023

>Cucklefish

okay, so it's actually Chucklefish and not Cucklefish

but nice try


 No.903029>>903030 >>908568

File (hide): 18a5a64c75d1d3f⋯.jpg (90.78 KB, 1024x768, 4:3, cucklefish cucks.jpg) (h) (u)

>>903024

>>903025

Looks pretty Cuckle IMHO


 No.903030>>903031

>>903029

you forgot to add soy


 No.903031>>903123

>>903030

Soyboy is a retarded meme. I'll stick with cuck.


 No.903123>>903174 >>904097

>>903031

>implying cuck is not a retarded meme


 No.903174>>904105

>>903123

>implying that they aren't adulterers and adulteresses


 No.904097

>>903123

>implying it is a meme


 No.904105>>908026

>>903174

>.gif

>2.68 MB

go back to reddit


 No.907339>>907344

>>900068

Been waiting for years.


 No.907344

>>907339

NOBODY CARES RUSTFAG


 No.908003

>>869673

Imagine being THIS fucking braindead.


 No.908026

>>904105

Yeah man we cant afford fast internet connections from India.


 No.908565

>>899905

>Ziggers

Dirty black ziggers they are, fucking ziggers.

>>900027

The difference is even if they write shit code, which makes them faggots, they don't harp on you about what you should or shouldn't say and do. Nobody but betas want a dumb girl around who thinks she's your mother.

>>900061

Doesn't matter you stupid zigger, it reveals their psychotic politics.


 No.908568

>>900104

>I have no idea why they think this is hip or cool

They don't think, but it doesn't matter. The issue is they can't compete so they

>1. want to le burn it all down

>2. create their own hierarchy

Look at the buttfaggot Steve Klabnick. The only way that greasy queer is getting laid is by lost, true believing, cult adherents.

>>900130

This, totem.

>>903029

I don't think so, you'd see more insecure transniggers and spics.


 No.909920>>916624 >>917235

File (hide): 4dbda737cac58d3⋯.jpg (32.88 KB, 1280x720, 16:9, steve klabnik j.jpg) (h) (u)

This thread can be deleted. I'm not maintaining it anymore.

Also don't expect any more Rust threads from me. If some Rust thread pops up in the future it is from an impostor.


 No.915267>>917235

bump XDDD


 No.916603>>916912 >>917235

Is it worth learning Rust?


 No.916624>>916912

>>909920

Good. That means you grew out from the forced meme language.


 No.916912>>917235

>>916603

yes

>>916624

I'm still using Rust. I'm just done with /tech/. Too many tech illiterate retards here. I will continue monitoring this thread as long as it's alive though.


 No.917128>>917235

>>879332

tits or gtfo


 No.917130>>917235

>>881822

>, anti Rust shill.

>, anti Rust shill.

>, anti Rust shill.

I haven't been paying attention to your conversation, but you sure do talk like a child.


 No.917138>>917235

Cocks go to hell UwU


 No.917149>>917235

>>882900

>There is seldom a right answer.

>we're all wrong, so it's OK

If you trace back the concept of political correctness and this kind of "we're all flawed" speech, you will find it was crafted by the state in order to keep the herd in line. It's basically self-deprecation provided to the masses by the party in control and above it.

The ideals and language is not so much the problem as is the fact that they're being manipulated by powers that are often in complete opposition to those ideals of equality. But since they are packaged in neat little packages for mass consumption and they themselves are out of the reach of the plebs, they're great for manipulating politically and ideologically. It's really terrible what these people are doing to themselves.


 No.917152>>917235

>>883251

>Steve

>Steve

>Steve

>Steve

t. Steve


 No.917177>>917178 >>917235 >>932510

>>869589 (OP)

Apparently there's still no progress with the soundness holes yet:

https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Aopen+sort%3Acreated-asc+label%3A"I-unsound+💥"

But now they added an emoji to the URL. That must be great.


 No.917178>>917235 >>932510


 No.917235>>917239

>>909920

>not shilling rust anymore

>>917178

>>917177

>>917152

>>917149

>>917138

>>917130

>>917128

>>916912

>>916603

>>915267

<samefag bumps the shill thread another 10 times


 No.917239

>>917235

Half of those posts are sages.

You anti Rust shills really are the most pathetic of all shills. Good thing that you are mostly contained on /tech/.


 No.918023>>918191 >>918193 >>918355

Steve you faggot what do you think about impl Trait in argument position? I didn't know it existed or that it was merged into stable. Seems to be nice for things like

fn nigger(_target: impl AsRef<Path>, _dest: impl AsRef<Path>) {}

fn main() {
nigger("aaa", Path::new("bbb"));
}


 No.918191>>918355

>>918023

Scratch that it's shit


 No.918193>>918355


 No.918207>>918355

Announcing Rust 1.25

you have sign "diversity license" or you are racist


 No.918321>>918355

>>900150

The argument wasn't for containing everything, it's about containing stuff regularly used by developers.


 No.918355>>918378 >>918473

>>918023

>>918191

>>918193

>>918207

>>918321

this is all the rustfag once again bumping his shill thread talking to himself.


 No.918378

https://blog.rust-lang.org/2018/05/15/Rust-turns-three.html

Rust turns three

>Rust is a people-centric, consensus-driven project. Some of the most exciting developments over the last year have to do with how the project itself has grown, and how its processes have scaled.

>The official teams that oversee the project doubled in size in the last year; there are now over a hundred individuals associated with one or more of the teams. To accommodate this scale, the team structure itself has evolved. We have top-level teams covering the language, library ecosystem, developer tooling, documentation, community, and project operations. Nested within these are dozens of subteams and working groups focused on specific topics.

>Rust is now used in a huge variety of companies, including both newcomers and big names like Google, Facebook, Twitter, Dropbox, Microsoft, Red Hat, npm and, of course, Mozilla; it’s also in the top 15 languages this year on GitHub. As a byproduct, more and more developers are being paid to contribute back to Rust, many of them full time. As of today, Mozilla employees make up only 11% of the official Rust teams, and just under half of the total number of people paid to work on Rust. (You can read detailed whitepapers about putting Rust into production here.)

>Rust’s growth continues to accelerate at a staggering rate. It has been voted the Most Loved Language on StackOverflow for all three years since it shipped. Its community has never been healthier or more welcoming. If you’re curious about using or contributing to Rust, there’s never been a better time to get involved.

>Happy 3rd birthday, Rust.

>>918355

bump XDDDDDDDDDDDDDDDDDDDDDDDD


 No.918473

>>918355

Nice way to get guaranteed bumps, LARPnik.


 No.922076

Don't leave us, Klabnikposter. I want to continue laughing at you and your shit language.


 No.922113>>922115

Funny how all the C cucks are posting in this thread. It's like they know their lang is shit.


 No.922115>>922122

File (hide): 569afb8e4dfb082⋯.jpg (51.93 KB, 900x810, 10:9, sqQlid7.jpg) (h) (u)

>>922113

Are you retarded? Rust is an intelligible mess of syntax. C is easy to use, super fast and beautiful at the same time.


 No.922122>>922125


 No.922125>>922128

>>922122

C is the only fast language that exists, everything else is bloated and for pajeets


 No.922128

>>922125

>>C is easy to use

>http://port70.net/~nsz/c/c99/n1256.html#J.2

I didn't say anything aboust the speed of C.


 No.925256>>925265


 No.925265>>925270

>>925256

>blog is 'how to speed it up in 2018'

>not 'how to speed it up'

I think it's crossed into scam territory now, like a crowd-funded video game that plans around never actually having a finished product and just making scheduled blog posts forever. It's been three years of these "speed up" updates and it's still not even close to acceptable for real development. Looks like the people who said the design wouldn't scale were right, it's fundamentally fucked.


 No.925270>>925309

>>925265

>hurr durr rust sucks XDDDDDDDDDD i have no idea about rustc nor software development LARP LARP

ok kid


 No.925272>>925274

Ada is better.


 No.925274>>931175 >>931239

>>925272

proof?


 No.925309>>925321

>>925270

I don't know anything about compilers or this particular issue. In fact, I like Rust and would like to see it grow, but somehow you managed to kill all credibility you had by sperging and overreacting in that manner.

You are extremely immature.


 No.925321

>>925309

>xDDDDD i actually hate rust now because of you :DDDDDDDD LARP LARP

You are extremely retarded if you expect me to believe you.


 No.931171>>932510

https://github.com/rust-lang/rust/pull/51580

>async/await

>This PR implements async/await syntax for async fn in Rust 2015 and async closures and async blocks in Rust 2018 (tracking issue: #50547). Limitations: non-move async closures with arguments are currently not supported, nor are async fn with multiple different input lifetimes. These limitations are not fundamental and will be removed in the future, however I'd like to go ahead and get this PR merged so we can start experimenting with this in combination with futures 0.3.

http://smallcultfollowing.com/babysteps/blog/2018/06/15/mir-based-borrow-check-nll-status-update/

>MIR-based borrow check (NLL) status update

>NLL is in a “feature complete” state on Nightly.

>We are doing a focused push on diagnostics and performance, primarily.

>Even once it ships, we can expect further improvements in the future, as we bring in the Polonius analysis.

https://github.com/rust-lang/rust/blob/master/RELEASES.md

>Version 1.27.0 (2018-06-21)

>The dyn syntax is now available. This syntax is equivalent to the bare Trait syntax, and should make it clearer when being used in tandem with impl Trait. Since it is equivalent to the following syntax: &Trait == &dyn Trait, &mut Trait == &mut dyn Trait, and Box<Trait> == Box<dyn Trait>.

>The #[must_use] attribute can now also be used on functions as well as types. It provides a lint that by default warns users when the value returned by a function has not been used.

>SIMD (Single Instruction Multiple Data) on x86/x86_64 is now stable. This includes arch::x86 & arch::x86_64 modules which contain SIMD intrinsics, a new macro called is_x86_feature_detected!, the #[target_feature(enable="")] attribute, and adding target_feature = "" to the cfg attribute.


 No.931175

>>925274

Just look at this list of companies using Ada in 2018:


 No.931239>>931242

>>925274

For starters, Ada is based on a set of well defined principles and requirements. Later updates to the language are verified against these principles as well.

They just keep adding stuff to Rust, I doubt there is much planning behind it. I think the version history proves my point.

Furthermore Rust ignores the readability aspect by having syntax "inspired" by C.


 No.931242>>931255

>>931239

>They just keep adding stuff to Rust, I doubt there is much planning behind it.

What updates to Rust go against Rust's principles? Do you even know what an RFC is?

>I think the version history proves my point.

How so?

>Furthermore Rust ignores the readability aspect by having syntax "inspired" by C.

>muh syntax

Please specify how Rust's syntax is unreadable?

I suspect that you are a retarded nodev. You most likely don't know Ada nor Rust yet still shitpost about it. Kill yourself.


 No.931255>>931257

>>931242

>24 versions of a 1.0 language in 3 years is fine.

Just admit your toy language is still in beta.

>muh syntax

Shortest I can give you is that any translation that needs to be done from syntax to meaning is cognitive load that hinders readability.

Poor readability hinders debugging and maintenance.

Using curly brackets is the most obvious sin. Then using fn for both functions and procedures is questionable at best.

More gold from the Faq.

> Why doesn't Rust have exceptions?

>Exceptions complicate understanding of control-flow, they express validity/invalidity outside of the type system, and they interoperate poorly with multithreaded code (a major focus of Rust).

>Rust prefers a type-based approach to error handling, which is covered at length in the book. This fits more nicely with Rust’s control flow, concurrency, and everything else.

Guess which language has both an extensive type system, concurrency, "and" exceptions...


 No.931257>>931270

>>931255

>>24 versions of a 1.0 language in 3 years is fine.

>Just admit your toy language is still in beta.

ok

>Shortest I can give you is that any translation that needs to be done from syntax to meaning is cognitive load that hinders readability.

>Poor readability hinders debugging and maintenance.

I love how you haven't actually specified how it is unreadable.

>Using curly brackets is the most obvious sin. Then using fn for both functions and procedures is questionable at best.

Are you actually retarded?

>Guess which language has both an extensive type system, concurrency, "and" exceptions...

Is it also memory and thread safe all without GC?

Yeah seems like I was right. You can't go into specifics because you don't know anything about Rust. All you can do is spout the same bullshit that /tech/ has been for years now.

Can you explain how updating a language is bad?

Can you explain what exactly is bad about the syntax without stating completely subjective shit like curly braces and how functions are identified?

Can you explain what is wrong with the FAQ entry about why Rust doesn't have exceptions?


 No.931270>>931278 >>931486

>>931257

To continue, from the Rust book on functions, (first version though)

>As we mentioned before, fn says "this is a function"

Except you know, when your function doesn't return a value, it maybe shouldn't be called a function...

Ada hasn't got any GC, or to be more specific, no implementation supports GC. Pretty memory safe unless you choose to do your own allocation and deallocation.

>All those Ad-homs

Nice arguments. Please explain how staring at curly brackets and using fn to mean function (and procedures as above) is good for readability.

>Can you explain what is wrong with the FAQ entry about why Rust doesn't have exceptions?

It claims exceptions and concurrency can't go together, Ada does this however.

>Can you explain how updating a language is bad?

Updating your beta is fine, don't pretend it is done. Pretending it is done constrains your freedom of design for starters.

>Can you explain what exactly is bad about the syntax without stating subjective things.

Well, I suppose you could just claim everything I say is subjective and win your argument.

To add to the retardation that is fn procedures, am I correct in thinking you can't distinguish between in and out parameters? Or am I missing something.

As for the type system, so far there doesn't seem to be any type system. Top kek.

Maybe I'm mistaken, but how are you going to catch any logic errors, like adding apples to oranges, if your type system is basically nothing more than unsigned and signed numbers of various sizes?


 No.931278

>>931270

>still no specifics

>Except you know, when your function doesn't return a value, it maybe shouldn't be called a function...

lol

>Please explain how staring at curly brackets and using fn to mean function (and procedures as above) is good for readability.

lol. Look at literally any software. It most likely is written a language that has curly braces.

>It claims exceptions and concurrency can't go together

<have a threadpool

<execute a function in it

<function throws an exception

<threadpool is fucked

sounds like fun

>Updating your beta is fine, don't pretend it is done.

ok

>Well, I suppose you could just claim everything I say is subjective and win your argument.

>everything

no

>As for the type system, so far there doesn't seem to be any type system. Top kek.

ok

>Maybe I'm mistaken, but how are you going to catch any logic errors, like adding apples to oranges, if your type system is basically nothing more than unsigned and signed numbers of various sizes?

You are mistaken.

Just stop, dude. You just admitted that you don't know anything about Rust.


 No.931300>>931303

>Don't know anything

I do know some things. But maybe you can help me out fill in the gaps. Lets start with the basics.

Can Rust do the following?


declare
type apple is new Integer; --using natural instead of integer would make more sense
type orange is new Integer; --But I don't want to confuse any "crustacians"
A: apple := 1;
O: orange := 2;
begin
A := A+O; --This won't compile.
end;


 No.931303>>931306


 No.931306>>931308

>>931303

>Workaround by using structs

Top jej.


 No.931308>>931467

>>931306

>he needs special syntax (aka bloat) for basic stuff like this

wew lad


 No.931467>>931469

>>931308

>bloat

>Catching errors at compile time is now bloat

>A language having to use structs to achieve the same thing is fine though

This is your brain on rust


 No.931469>>931474

>>931467

Why would you introduce special syntax for something that can be done with existing means?

Can you explain this? This is a rhetorical question. Of course you can't because you are a LARPer.


 No.931474>>931479

>>931469

Because special syntax can be used to communicate intent to people reading the code.

Furthermore, time spend reading code often larger than writing said code. So clear communication becomes even more important, especially further down the road when new people get involved.

>can be done with existing means.

And a saw can be used to drive a nail in a piece of wood.

Your suggested solution involving structs gets even more ugly and bloated once you start nesting them.

>Even more adhoms

Great arguments once again.

Please explain how using structs instead of scalar types is not bloat.


 No.931479>>931485

>>931474

>Because special syntax can be used to communicate intent to people reading the code.

The more syntax a language has the harder it is to learn it. Just take a look at C++.

>And a saw can be used to drive a nail in a piece of wood.

That analogy sucks. Try again.

>Please explain how using structs instead of scalar types is not bloat.

struct Apple(i32) will compile down to a i32. Absolutely no bloat.

>muh ad hominems

Well stop spouting nonsense about stuff you don't know anything about then.


 No.931485>>931486

>>931479

Complex languages are harder to learn. Having good syntax makes understanding code and learning the language easier.

>That analogy sucks. Try again.

It is a perfect analogy, your goal can be achieved, but it is hardly elegant.

I wanted to increase the apple count by one, which shouldn't be a problem I think.

But it complains that add cannot be applied to apple.

I hope there is an elegant solution to this in Rust.

https://play.rust-lang.org/?gist=4bb861e8c78cf7af75b918a837042968&version=stable&mode=debug


 No.931486>>931512

>>931485

You are trying to add an i32 to an Apple. Why do you think this should be allowed?

Her let me quote you: >>931270

>Maybe I'm mistaken, but how are you going to catch any logic errors, like adding apples to oranges, if your type system is basically nothing more than unsigned and signed numbers of various sizes?


 No.931512>>931513

>>931486

Well, I understand why I get that error, but what is your solution? I sure hope it doesn't involve too much bloat.

Of course we wouldn't be having this problem in Rust if we could type scalars.

Thanks for the quote, it helps prove this point.


declare
type apple is new Integer;
type orange is new Integer;
A: apple := 1;
O: orange := 2;
begin
A := A + 1; --Add an apple
A := A - 1; --eat an apple
A := A * 2; --Jesus visits
end;


 No.931513>>931523 >>932605


 No.931523

>>931513

I expected something like that, but now you end up referring to the first element of your struct all the time. You might call this bloat.

I think other solutions would involve defining the operators to work on your struct, or maybe defining functions to modify the amount of apples in your struct.

In any case, you could argue that the very simple requirement of preventing adding apples to oranges leads to somewhat convoluted solutions.


 No.932051

>>899015

Burn nigger burn.


 No.932212>>932219 >>932491 >>932510


 No.932219>>932224 >>932491

File (hide): c042566f457c6a8⋯.jpg (32.05 KB, 400x400, 1:1, actix.jpg) (h) (u)

>>932212

>library written by chink

>is shit

pick two


 No.932224

>>932219

his gf looks kinda young tbh


 No.932333>>932482 >>932528

Why aren't the people butthurt about Rust flooding this thread? It's the ideal meme vector against Rust and the only guy who responds to me is Steve Klabnik. Seems like /tech/ only consists of LARPers. I'm not surprised.


 No.932482

>>932333

gentleman's agreement


 No.932491

>>932212

>>932219

Faggot works at M$ what do you expect? It's in their DNA to write shitty unsafe code.


 No.932510>>932528 >>932572

File (hide): 2c5dd6b9d252bc8⋯.jpeg (21.23 KB, 480x360, 4:3, ergonomic wear.jpeg) (h) (u)

>>869589 (OP)

Did not a single person over the last 3 years realize the real reason why Rust was shilled here was because they wanted brutal feedback and an extra set of eyes and by pointing out its flaws you're giving it to them? They used 8chan's hate of SJWs to their advantage.

< Introducing Rust: the SJW & ANTIFA language system

> lmao SJWs can't code for shit! look how many issues there are

< Fixes bare minimum of issues, gets functional enough to be shilled by other developers

>Well you still haven't fixed these! LOL

< Fixes even more issues

If you want Rust to crash and burn, stop helping them identify issues. In fact, if you find an issue that's undiscovered, do whatever you can to mask it. If you're a big guy, commit something that will utterly fuck them up. They're counting on us to find glaring flaws because they see us as their biggest critics.

Posts like these:

>>869589 (OP)

>>869637

>>899018

>>917177

>>917178

>>931171

>>932212

Are what they have been looking for. Stop doing their job for them. Rust would have died if no one ever helped them by pointing out their flaws.


 No.932528>>932530 >>932572

>>932333

>>932510

>They're counting on us to find glaring flaws

The glaring flaw is the language design itself.

>No typed scalars

>No typed array indexes

The most obvious flaw of Rust will always be trying to reinvent Ada.

>Ada has this. It would be great in Rust, as we're going for the same niche of low-level + high-assurance.

t. some guy on Rust shithub.


 No.932530

>>932528

>Ada

OO sucks, trait composition is better.

t.steve


 No.932572>>932605 >>932768 >>932778

>>932510

>the real reason why Rust was shilled here was because they wanted brutal feedback

fucking LOL. Are you delusional? The real reason Ruts was shilled here because I decided to write an imageboard in Rust. At the time support for futures was added to hyper (a HTTP library written in Rust) so I wanted to write a blazingly fast and fearlessly multithreaded imageboard with it. Unfortunately the futures crate was very much in development back then so I decided to stop. Instead I made Rust threads.

There were _never_ any Rust devs on this board. I actually asked on time on the Rust IRC if anyone actually knew about /tech/. Unsurprisingly the most anyone of those cucks knew about was /g/.

>They're counting on us to find glaring flaws because they see us as their biggest critics.

The only "glaring" flaws /tech/ ever found about Rust was >muh syntax and >muh compile times.

>>932528

>>No typed scalars

Scroll up, nigger. I already told you how this is possible in Rust.

>>No typed array indexes

wtf???

https://doc.rust-lang.org/std/ops/trait.Index.html

>pub trait Index<Idx> where Idx: ?Sized

This means that the Index trait is generic. You can index your shit with any type you like.

Stop being retarded, Ada-LARPer.


 No.932605>>932608 >>932627

>>932572

>Scroll up, nigger. I already told you how this is possible in Rust.

Yes, scroll up so you can see what pile of shit that ended up in in >>931513

>No typed scalars

>Just use structs

>No typed array indexes

>Just use containers and traits.

Smells like bloat.

Using this approach, we are going to put homogeneous data in a struct, which is questionable, see below.


struct NucleotideCount {
a: usize,
c: usize,
g: usize,
t: usize,
}

Furthermore, you just have to define, as per your link


impl Index<Nucleotide> for NucleotideCount {
type Output = usize;

fn index(&self, nucleotide: Nucleotide) -> &usize {
match nucleotide {
Nucleotide::A => &self.a,
Nucleotide::C => &self.c,
Nucleotide::G => &self.g,
Nucleotide::T => &self.t,
}
}
}

to make it work, which to me looks suspiciously like bloat.


 No.932608>>932627

File (hide): 3bddbb7e3ecf8cc⋯.png (86.36 KB, 1489x746, 1489:746, divans.png) (h) (u)

More daily breakthroughs btw:

https://blogs.dropbox.com/tech/2018/06/building-better-compression-together-with-divans/

https://github.com/dropbox/divans

>Compressing your files is a good way to save space on your hard drive. At Dropbox’s scale, it’s not just a good idea; it is essential. Even a 1% improvement in compression efficiency can make a huge difference. That’s why we conduct research into lossless compression algorithms that are highly tuned for certain classes of files and storage, like Lepton for jpeg images, and Pied-Piper-esque lossless video encoding. For other file types, Dropbox currently uses the zlib compression format, which saves almost 8% of disk storage.

>We introduce DivANS, our latest open-source contribution to compression, in this blog post. DivANS is a new way of structuring compression programs to make them more open to innovation in the wider community, by separating compression into multiple stages that can each be improved independently.

>DivANS is written in the Rust programming language, since Rust has guarantees about safety, security, and determinism in the safe subset of the language. Rust can also be as fast as hand-tuned C code and doesn’t need a garbage collector. Rust programs embed well in any programming language that support a C foreign function interface (FFI) and even allow runtime selection of the memory allocator through that C FFI. These properties make it easy to embed the DivANS codec in a webpage with WASM, as shown above.

>Rust also recently added support for SIMD intrinsics and has intuitive, safe support for multithreading, colloquially called “fearless concurrency”. We use vector instructions to manipulate the CDFs. We decode the IR commands and the literals themselves each on separate threads. The entire multithreading initiative was started after the decompressor was completely written, and it leaned heavily on rustc‘s guidance to refactor the code into independent halves.

>>932605

Goddamn you are a retarded nigger.


 No.932627>>932631

>>932608

>Goddamn you are a retarded nigger.

no u

Listen, I criticize Rust for not having certain things. They you provide a solution/workaround that is convoluted as shit. But when I point that out you start with the Ad Homs again.

Please point out what is incorrect in >>932605


 No.932631>>932664

>>932627

Why bloat the language when you can do it with existing means? Fuck off, retarded nigglet.


 No.932664>>932666 >>932670

>>932631

>Don't bloat the language

>just (mis)use existing constructs

>conveniently ignore that this bloats your code.

>bloated code is good for readability

>bloated code is good for safety

Lets compare with another language shall we.


procedure Main is

type Nucleotide is (A, C, G, T);
type NucleotideCount is array(Nucleotide) of Integer;

nucleotide_count : NucleotideCount := (14, 9, 10, 12);
foo : NucleotideCount := (A => 7, G => 6, others => 0);

begin

nucleotide_count(A) := 15;

end Main;

Now please explain how this is bloated, and your Rust solution isn't.


 No.932666>>932762

>>932664

>just (mis)use existing constructs

Wrong. It is intended to do this.

>muh code bloat

I'm talking about language bloat. Stop posting, AIDS nigger.

https://play.rust-lang.org/?gist=ee98b2b34531961b857f5325a7f29abe


 No.932670

>>932664

btw if you want to talk about code bloat, take a look at this: https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/gnat-rust.html


 No.932760>>932790 >>932807

File (hide): 96a498566af3de6⋯.png (525.48 KB, 1668x2021, 1668:2021, Screenshot_2018-06-20 MAGA….png) (h) (u)

Another daily breakthrough:

https://old.reddit.com/r/rust/comments/8shjfd/maga_make_actix_great_again/ (Be careful! FASCISM!!!)


 No.932762>>932768

>>932666

>https://play.rust-lang.org/?gist=ee98b2b34531961b857f5325a7f29abe

>moving the goalposts this hard

I know you can do it with less code as you show in this link. But the issue was with Rust lacking typed array indexes.

>Wrong. It is intended to do this.

You mean it's intended to take an ungodly amount of extra code to do trivial stuff.

How about instead of ACGT, we want to index with B,C,..,X,Y?

Are you going to have to type out all your struct field then? Or type out each line of your Index trait? That's the bloat I'm talking about.

>Some benchmarks

Win some, lose some. Ada doing reasonably well, C still btfo-ing everyone.


 No.932768>>932778

>>932762

>Rust lacking typed array indexes

see >>932572

>You mean it's intended to take an ungodly amount of extra code to do trivial stuff.

>strawmanning this hard

Anyways I have no fucking clue what you even want.

>Win some, lose some. Ada doing reasonably well, C still btfo-ing everyone.

How about you look at the code size? Ada is a bloated mess.


 No.932778>>932787

>>932768

>see >>932572

Going around in circles are we?

>no fucking clue what you even want.

Say we want to count the occurrence of uppercase letters in a text. An array makes sense since there are a fixed number of upper case letters, and they can all use the same numeric type to store the counter.

Now I know you can do this perfectly fine in other ways, but my point is that the solution below maps better to the problem than using 0 indexed arrays.


procedure Main is

type BigLetter is new Character range 'A' .. 'Z';
type BigletterCount is array(Bigletter) of Integer;

foo : BigletterCount := (others => 0);
begin
foo('B') := 7;
foo('Y') := 6;
end Main;

Replicating this with your solutions thus far would create excessive amounts of code, don't you agree?

>Bloated mess

It is no secret that Ada can be quite verbose, and also

>benchmarks


 No.932787>>932801


 No.932790>>932793

>>932760

Wew rust community. A few months ago a guy submitted a conference talk on the cpp reddit called "make classes great again!" and every comment was just "wow great talk, really enjoyed it", not a single "umm like this is fascism".


 No.932793

>>932790

Yeah the Rust community is absolute cancer. Not long ago there was some fag who got his RFC downboated. This _really_ hurt his feefees so he made a pull request to Rust's rfcbot to automatically convert all downboats into upboats.

https://github.com/anp/rfcbot-rs/pull/210


 No.932795>>932797

What happens if you submit a PR from a fresh account? Will they reject you outright? Interrogate you? Accept it if it works?


 No.932797>>932801 >>932804

>>932795

>https://github.com/rust-lang/rust/blob/master/CODE_OF_CONDUCT.md

>We are committed to providing a friendly, safe and welcoming environment for all, regardless of level of experience, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, nationality, or other similar characteristic.


 No.932801>>932802 >>932805

>>932787

>https://play.rust-lang.org/?gist=3efed1c3d469a6c90edce512d7f7afc6

Not bad, I expected 26 lines linking your index to each field based on what I saw in https://doc.rust-lang.org/std/ops/trait.Index.html

>>932797

Great, so fascists and NatSocs are welcome as well?


 No.932802

>>932801

This. Mindfuck the kike niggerfaggots by using Rust to further our cause and attack theirs, and contribute NOTHING back.

RUST REICHEN


 No.932804

>>932797

I think this a nice sentiment and also fucking insane to explicate.


 No.932805>>932807

>>932801

>Great, so fascists and NatSocs are welcome as well?

Why wouldn't they?


 No.932807>>932812 >>932814

>>932805

How about you make a (twitter/github) profile, put about the same amount of crap in it that leftists put in them, but for right wing stuff.

See how long you will last in such a community.

If they can't even handle "Make Actix great again" >>932760


 No.932812>>932813

>>932807

>The enforcement policies listed above apply to all official Rust venues

Rustcucks are pretty insane but they don't ban you because of stuff you do outside of Rust venues.

I know that because I haven't been banned yet.


 No.932813>>932824

>>932812

Only because they don't know.


 No.932814>>932820

>>932807

I believe the point is a NatSoc can submit code, and provided the code is fine it will be accepted. But if you say you're a NatSoc you'll be rejected on political grounds.

So it's meritocratic where it counts.

I know, you're saying a lefty won't be rejected politcally. But I'm saying you've probably worked with lefties and never knew it. Politics is the ambrosia for the nigger.


 No.932820>>932823

>>932814

Narrow definition of meritocracy. It's irrelevant anyway, noone should contribute anything to Rust. Let the kike niggerfaggots put in the hours while we use their baby to subvert and defeat them.


 No.932823>>932825

>>932820

Yes, let's all take our inferiority complexes to pol and really get stuff done.


 No.932824

>>932813

Oh they know. Every now and then when someone takes a look at my Github profile they then run straight to the Rust mod team and want them to ban me.

A few people even insulted me on IRC but it was them who got a warning.

My pull requests still get accepted and neither the issues I create nor the comments I post on RFCs get ignored. So the Rust moderation team isn't that bad.


 No.932825>>932826

>>932823

>inferiority complexes

Projecting.


 No.932826>>932831


 No.932831>>932837

>>932826

You imply that me having an issue with overt political bias is an inferiority complex. You're a deranged nigger with a broken mind.

I repeat, use Rust to destroy these kike niggerfaggots, and contribute NOTHING back


 No.932834>>932838 >>932888 >>933066

Can Rust do this?

import gintro/[gobject, gio, glib, gtk, cairo]

proc text_activate(text: Entry) =
text.text.echo

proc text_activate2(text: Entry, thing: string) =
thing.echo
text.text.echo

proc gtk_main =
gtk.init()
let window = gtk.newWindow()
window.title = "Rustfags BTFO"
window.defaultSize = (640,480)

let text = gtk.newEntry()
# compile time argument checking, won't allow incorrect types
# to be passed based on the passed signal callback
text.connect("activate", text_activate) #compiles
# text.connect("activate", text_activate, "thing") # won't compile
text.connect("activate", text_activate2, "thing") # compiles
# text.connect("activate", text_activate2) # won't compile
window.add(text)

gtk.main()

when isMainModule:
gtk_main()


 No.932837>>932843

>>932831

I repeat, I'm sane.

GIANT RED TEXT.


 No.932838>>932888 >>941558

>>932834

This validates ANY signal you give it, and validates the callback based on the signal as well. If it compiles, it's correct. Eat that rustniggers.


 No.932843>>932846

>>932837

>not addressing irrational projection

>deranged leftist

>t.steve


 No.932846>>932848 >>932995

>>932843

You're still a projecting queer, queer.


 No.932848


 No.932888>>941546


 No.932995

File (hide): 135bd87ef66f28e⋯.jpg (174.82 KB, 797x1000, 797:1000, 135bd87ef66f28e53d260e6fd3….jpg) (h) (u)


 No.933066

>>932834

That's Nim, isn't it? Nim is neat. I don't use Rust, but I'm sure it's pretty good too. You could do this kind of compile-time checking in D quite easily as well.


 No.933180

Daily breakthough breaking through:

http://smallcultfollowing.com/babysteps/blog/2018/06/20/proposal-for-a-staged-rfc-process/

>The TL;DR of the proposal is as follows:

>Explicit RFC stages. Each proposal moves through a series of explicit stages.

>Each RFC gets its own repository. These are automatically created by a bot. This permits us to use GitHub issues and pull requests to split up conversation. It also permits a RFC to have multiple documents (e.g., a FAQ).

>The repository tracks the proposal from the early days until stabilization. Right now, discussions about a particular proposal are scattered across internals, RFC pull requests, and the Rust issue tracker. Under this new proposal, a single repository would serve as the home for the proposal. In the case of more complex proposals, such as impl Trait, the repository could even serve as the home multiple layered RFCs.

>Prioritization is now an explicit part of the process. The new process includes an explicit step to move from the “spitballing” stage (roughly “Pre-RFC” today) to the “designing” stage (roughly “RFC” today). This step requires both a team champion, who agrees to work on moving the proposal through implementation and towards stabilization, and general agreement from the team. The aim here is two-fold. First, the teams get a chance to provide early feedback and introduce key constraints (e.g., “this may interact with feature X”). Second, it provides room for a discussion about prioritization: there are often RFCs which are good ideas, but which are not a good idea right now, and the current process doesn’t give us a way to specify that.

>There is more room for feedback on the final, implemented design. In the new process, once implementation is complete, there is another phase where we (a) write an explainer describing how the feature works and (b) issue a general call for evaluation. We’ve done this before -- such as cramertj’s call for feedback on impl Trait, aturon’s call to benchmark incremental compilation, or alexcrichton’s push to stabilize some subset of procedural macros – but each of those was an informal effort, rather than an explicit part of the RFC process.


 No.933658>>933696

Announcing Rust 1.27

Announcing Rust 1.27

Announcing Rust 1.27

Announcing Rust 1.27

Announcing Rust 1.27

Announcing Rust 1.27

Announcing Rust 1.27

Announcing Rust 1.27

Announcing Rust 1.27

Announcing Rust 1.27

Announcing Rust 1.27

Announcing Rust 1.27

https://blog.rust-lang.org/2018/06/21/Rust-1.27.html


 No.933696>>933699

>>933658

when will it be completed/stable


 No.933699

>>933696

epic yoke, dude


 No.933950

YET ANOTHER DAILY BREAKTHROUGH

https://internals.rust-lang.org/t/rust-2018-an-early-preview/7776

Holy shit, Rust! Slow down!!


 No.935291

Advisory: An integer underflow in untrusted 0.6.1 and older which could lead to panic

https://github.com/RustSec/advisory-db/pull/24


 No.935509>>935689

File (hide): 9272b4e91ae5c48⋯.jpg (330.71 KB, 1024x1056, 32:33, steve.jpg) (h) (u)

DO NOT BUY THE RUST PROGRAMMING LANGUAGE BOOK

PROCEEDS FROM THE BOOK FUND NIGGRESS APES SO THEY CAN CALL YOU RACIST

DOWNLOAD FOR FREE https://doc.rust-lang.org/book/second-edition/

https://archive.is/Q910A

>All proceeds are going to be donated to Black Girls Code


 No.935689

>>935509

>buying something that is freely available

top cuck


 No.935944>>936462 >>936520

File (hide): a807e78b8507766⋯.jpg (468.7 KB, 996x1280, 249:320, commiekikesintech.jpg) (h) (u)

>>869589 (OP)

COMMIE KIKES IN TECH

>@yoshuawuyts

>kike living in germany

>bad genes, bad vision, disgusting beatnik beard, height increasing shoes

>moloch golem nose ring

>tweets and other social media filled with hate for usa/western world and love for communism

>https://archive.is/EyUqg

>This sounds cool from a technical standpoint, but I can't help but feel uncomfortable about MS given the recent Azure news.

>kike dogwhistle

>-4 karmas

>Microsoft's Azure division is assisting the US government in building concentration camps. https://www.vanityfair.com/news/2018/06/microsoft-employees-azure-ice-partnership

>concentration camps

>unironically using vanityfair as a source

>let your country be overran by criminal invaders or you're literally hitler goy

>-5 karmas

<wtf i love concentration camps now

From the downboats it seems people are waking up to the commie kike disease plaguing the world and even in the pozzed Rust community they have had enough. Keep watch on this radical leftist enemy of the west, you can bet your ass he's a criminal.

also seems the ugly kike can't get laid without paying for it kek


 No.936462>>936490 >>936520

File (hide): 80554fdd8879a1c⋯.png (516.59 KB, 1202x1001, 1202:1001, 80554fdd8879a1c4270ba13605….png) (h) (u)

>>935944

pol is basically Reddit at this point.


 No.936490

>>936462

>t.yosh

This is /tech/ retarded kike.


 No.936520

>>935944

>>936462

>Reddit

On the topic of Plebbit and commie kikes, the whole thread started by @yoshuawuyts's kvetching has been shoah'd by Rust's commie kike mods. The Rust userbase has broken the conditioning and now the """elite""" are resorting to shut it down.


 No.936549>>936630

Learning Rust here, the documentation doesn't seem to be as horrible as the shitposters are making it out to be.

I actually am liking the language conventions and general readability of the language, and have no fucking clue what half these shitbirds are talking about

Currently trying to develop a clone of Dwarf Fortress in Rust as project to try to develop some skills in this, any recommendations for modules/libraries to use with it while I fuck around?

(Using Rust on a Linux Mint box, 1.2.4 ver Rust)


 No.936630>>936738

>>936549

>have no fucking clue what half these shitbirds are talking about

Most of the /tech/ LARPers have never tried Rust. They are just hating on it because it has a CoC and isn't C.

>any recommendations for modules/libraries

https://github.com/rayon-rs/rayon#rayon


 No.936738

>>936630

> rayon 1.0

Thanks, I will be using this

> Rust on ARM

Looking at running it on some SoCs, and hunting some ways to program some ICs in Rust, RPi and Beaglebone are looking like my top choices, unless you have any more recommendations? Thanks ahead of time.


 No.940925>>941012 >>941172 >>941551

File (hide): 2d33c3809f0a277⋯.jpg (248.82 KB, 1080x1076, 270:269, 1.jpg) (h) (u)

File (hide): 873363dc6087261⋯.jpg (897.11 KB, 1080x607, 1080:607, 2.jpg) (h) (u)

File (hide): 49d83a872118565⋯.jpg (388.19 KB, 1875x1055, 375:211, 3.jpg) (h) (u)

Rust + actix-web in the on of the biggest music festival Atlas Weekend

We've just finished music festival Atlas Weekend which took place in Kyiv, Ukraine. This year there were for about 450,000 visitors during 6 days. Artists involved: Martin Garrix, Chemical Brothers, Placebo, LP, Benjamin Clementine, Skillet, Nothing But Thieves, Infected Mushroom, Lost Frequencies, Don Diablo, Enter Shikari and other.

I'm glad to announce that rust and actix-web are used as a backend for main technical purposes of festival:

>Tickets processing and exchange to rfid bracelet

>Festival entrance system

>Powerful user management system with different permissions, access rights which can be tied to exact date or time range

>Security for important zones like backstage of scenes

>Car checkpoint and processing (also with different access rights tied to time)

>Flexible way to control real-time tasks made by workers. All transactions are categorized and could be viewed via ui with filters, etc.

>Realtime statistics of sales, rfid bracelets encashment, security zone access and detecting of potential dangerous workers (we've registered for about 5000 festival worker bracelets with manually configured access rights, all bracelets contains information about owner and his transactions for all festival)

Why Rust?

It's very important to have 100% uptime because a few seconds of delay can lead to long queues and suspend work of all festival. Here comes rust with high speed and no-crash guarantee. It's was very easy to detect all logic bottlenecks and all unwraps are verified. Error management gave me an easy way to control all the flow and easily respond to some "bad situations".

Useful crates and technologies

The only database is mongodb. There are a lot of insert transactions which should be processed very quickly. Fortunately, with last 4.0 release they provided ACID transactions. This will simplify to implement some dangerous things like processing cashless payments, etc. I'm disappointed that MongoDB team does not officially support rust port. I hope after async/await stabilization there will be new fully async and powerful driver.

I'd like to mention in first place strum. All data is described as structures and enums which could be (de)serialized with serde and strum gave me ability to append additional tag information. For example, there were for about 10 kinds of tickets for different days and days combinations. Strum macro used to append time range information for enum item.

>sentry - great service for tracking errors in application. All logic is covered with reporting directly into sentry. All bad situations are categorized with this service.

>maud - amazing and very-very fast templating library. It allows me to describe html directly in rust scope and use all data in the scope. Macro expands to simple string concatenation.

>barcoders - powerful tool for processing barcodes. Used in car entrance automation. I was very pleasantly surprised that rust already has such a great library for this purposes.

>lettre - convenient way to build and send email. Used in car entrance system for dispatching access barcodes to drivers.

>wkhtmltopdf - this bindings allowed me to build beautiful pdfs from html templates (build by maud) for some system information (and also car entrance)

And finally, actix-web amazing job made by @fafhrd91. Actors system allowed me to make non-async mongodb driver work like async. All logical parts are split and communicates via messages. I don't have enough words to describe how pleasant it was to develop all the things.

https://www.reddit.com/r/rust/comments/8xdsx5/rust_actixweb_in_the_on_of_the_biggest_music/


 No.941012>>941171

>>940925

>extremely low CPU need glue that could have been quickly shit out in Python or PHP

>instead use a language that is laborious to code in

This is why you don't hire faggots paid by the hour. Pay them for a completed job.


 No.941171

>>941012

>i'm a retarded LARPer

i know


 No.941172>>941187

>>940925

>Here comes rust with high speed and no-crash guarantee.

Yes, because only rust can achieve that. The most funny thing is that majority of underlying software running the thing was probably written in C. This post is trying very hard to impress people with what is essentially a bog standard CRUD web app.


 No.941187>>941194

>>941172

>majority of underlying software running the thing was probably written in C

Did you actually read what I posted? The only non Rust code used was MongoDB and whatever OS it ran on.

kys, retard.


 No.941194>>941199

>>941187

>The only non Rust code used was MongoDB and whatever OS it ran on.

Exactly. And which part of that was the majority again?

Rust is not the most optional language for such projects when there are better alternatives available. That statement about 100% uptime and no-crash guarantee is total bullshit, which is the main reason why I have a problem with this post.


 No.941199>>941200

>>941194

>hurr durr rust is shit because there is no production ready OS and database written in it

retard LARPer


 No.941200>>941203

>>941199

Sorry I got you mad Steve. I will stop LARPing now.


 No.941203

>>941200 (checked)

thx, sweetie. You are still a LARPing fag though.


 No.941528>>941533

>c++ : c with classes

>rust: c with swj

>go : c with faggots


 No.941533

>>941528

>swj

what's that?


 No.941546>>941558

>>932888

Good job missing the point.


 No.941551

>>940925

I read this entire thing in an Indian accent in my head.


 No.941558

>>941546

Is the point this >>932838?

>This validates ANY signal you give it, and validates the callback based on the signal as well. If it compiles, it's correct. Eat that rustniggers.

If so then gtk-rs does this.


 No.941795

sjw rust commies move official collab to discord, get access to user ips from sjw commie discord commies, hoping ebil white rust devs dox themselves by using it. the level of aids increases.


 No.941810>>941817 >>941842 >>941940

hi i want to make my own window manager because i fucking hate the niggers who developed openbox and tiling window managers are the worst things to grace this earth since antifa haters. should i use rust or D and why


 No.941817


 No.941828

NIH Ada. NIH Ada. Not invented here Ada. Wow, I feel a lot better!


 No.941842>>943237

>>941810

A window manager for X is actually way easier than you think, not using C for this task would be stupid.


 No.941940


 No.943183

File (hide): d2b73f0a110420f⋯.jpg (114.5 KB, 789x960, 263:320, 1531336476436344660.jpg) (h) (u)


 No.943237>>943250

>>941842

>not using C for this task would be stupid

using C for almost any task would be stupid

ftfy


 No.943250>>944748

>>943237

So this is the sort of retard that uses rust.


 No.944748>>953324

>>943250

Sorry gramps, real niggerhaters code in Rust now.


 No.953305>>953319 >>953329

OwO what's this

hello fellow rust coders!

Please fill out one of the surveys linked from here: https://blog.rust-lang.org/2018/08/08/survey.html

We have surveys in all kinds of languages! Pick whatever you're comfortable with!

please reply with my preferred pronouns: gurl/gurl/gurl/gurl


 No.953319>>953329

>>953305

nobody? *sweatdroop*

it's not restricted to Seasoned Rustaceans

Steve Klabnik and Jonathan Turner both want to hear from you, even if you've never used Rust and don't want to use it!

even in that case you'll be asked if you find Rust's community inviting

or what other Rustaceans can do to make you more comfortable with expressing your cultural or political beliefs!

perhaps you're shy?

it's anonymous!

and we get way too many responses to correlate them with anything you say here

although you can share your cock.li address if you must


 No.953324>>953329

>>944748

Niggerhaters doesn't hold the Rust CoC. You should continue with Java.


 No.953329>>953332 >>953394

>>953305

>>953319

>>953324

rustnigger samefag bumping his ancient thread once again


 No.953332

>>953329

nope. 2/3 (You)s

first time in the thread.

why don't you want to complete the survey?


 No.953394

File (hide): 7cf7c5eb25eccab⋯.jpg (32.01 KB, 400x400, 1:1, l.jpg) (h) (u)

>>953329

I haven't posted on /tech/ for about a month, retarded nigger.




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
404 replies | 51 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / 1piece / bestemma / cyoa / joosten / komica / ttgg / vg / vr ][ watchlist ]