[ / / / / / / / / / / / / / ] [ dir / ask / asmr / cyoa / hikki / roze / strek / wai / zoo ][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.
Name
Email
Subject
Comment *
File
Select/drop/paste files here
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): a88f2c0dc975078⋯.jpg (671.47 KB, 1280x1051, 1280:1051, rust.jpg) (h) (u)

[–]

 No.800842>>800913 >>800916 >>801036 >>801166 >>801169 >>802932 >>803938 >>807324 [Watch Thread][Show All Posts]

Basically Rust, a memory and thread safe language with zero cost abstractions wipes the floor with C/C++ in every fucking aspect.

C/C++ fags have been on suicide watch even before version 1.0. Rust has caused tremendous butthurt on /tech/ alone. This epic amount of asspain is unheard of, but it will get even better:

Introducing Futures

WTF is a Future?: https://en.wikipedia.org/wiki/Futures_and_promises

Source Code: https://github.com/alexcrichton/futures-rs

API Docs: https://docs.rs/futures/

Explanation for Retards: https://gist.github.com/Diggsey/6f924bf3f741bcdffd240faee102fe92

Basically Rust Futures are zero cost and there is nothing that even comes close to it.

discuss

 No.800858>>800862

you mean like we've already been doing forever in golang, with closures?


 No.800862>>800863

>>800858

>golang

>zero cost futures

wtf do closures have to do with futures???????

also golang is garbage collected garbage without generics. kill yourself


 No.800863>>800869 >>801034


 No.800864>>800869

Rust has an absolute shit package manager, is still unstable and on top of that is managed by a bunch of retarded leftists.

It's safe to say that C++ will stay the best language.


 No.800865>>800869

does rust have any GUI frameworks yet?


 No.800867>>800869

>I think one of the best ways to get comfortable with using a library is to look at how it works internally: often API design can seem bizarre or impenetrable and it's only when you put yourself in the shoes of the library author that you can really understand why it was designed that way.

lol


 No.800869>>801043

>>800863

this is not zero cost though

>Golang doesn't need generics. Generics suck.

stockholm syndrome

>>800864

thanks for the salt, m8

>>800865

http://gtk-rs.org/

>>800867

not an argument


 No.800893>>800896

You know, when you insult people and call the things they like shit, they're more than likely going to hunker down and not budge.

Whether you're getting paid for this or just trolling I don't care, I'm tired of seeing these fucking threads.


 No.800896>>801001

>>800893

>waaah dont hurt my feefees!

lol. you sure you belong here?


 No.800901>>801020 >>807289

File (hide): 18d8a826031d8e2⋯.jpg (40.04 KB, 707x720, 707:720, 193675592618.jpg) (h) (u)

I don't understand how people can hate on Perl for having shitty syntax but when Rust does it's A-Okay


 No.800913

>>800842 (OP)

wtf i love rust now!


 No.800915>>800920 >>800935


 No.800916

>>800842 (OP)

I'm going to keep using C++ because it's good enough and my name isn't Rusty Chucklefuck.


 No.800918

File (hide): 59cef8009cefb78⋯.png (339.84 KB, 580x720, 29:36, 1458329437334.png) (h) (u)

Why does pozilla invent a new language instead of hiring good programmers?


 No.800920>>800935

>>800915

>reposting my oc

i feel honored. here, have a segfault in safe rust:

https://play.rust-lang.org/?gist=50e18bbb0512dfc13cf3c9edaeade188&version=stable


 No.800925>>800931

Comparing Rust to C is retarded, C is a much simpler (as in tinier) langage. Its obvious adversary is C++.


 No.800931>>800935 >>801002

>>800925

>Comparing Rust to C is retarded

why?


 No.800935>>800937 >>800980

>>800931

because rust at first need to follow his own assumptions

after that they can think about competing with c/c++

>>800915

>>800920


 No.800937>>800938

>>800935

it's just a bug bro. this will be fixed soon(tm).


 No.800938

>>800937

maybe it's a new unannounced feature


 No.800980>>800988 >>801068

>>800935

So, basically, safety is FIRST, and you should KYS for not putting it first, but they're using a meme language that is barely a few years old, filled with "bugs" and "trivial errors" that never get solved because the progressive stack gives them less priority.

I think no one would be using this mess if it wasn't for sjw evangelizing.


 No.800988

>>800980

This kinda shows that for Rust users there's something more important than safety, just as everyone else was telling them. For rust users its politics.


 No.800993>>800995 >>801024 >>801031 >>801032 >>801084 >>801103 >>801123 >>801138 >>801147

File (hide): 46f17866bc1956c⋯.webm (10.61 MB, 896x504, 16:9, ex-rust-developer-intervi….webm) (h) (u) [play once] [loop]

Rare ex rust developer interview. This explains everything.


 No.800995

>>800993

Top kek


 No.801001>>801136

>>800896

>"criticism of my techniques means you're butthurt"

Alright, now I know for sure.


 No.801002>>801136

>>800931

Comparing Rust and C is like comparing C++ and C: stupid.


 No.801020

>>800901

explain this one rustfags


 No.801024

File (hide): 138c54eab54ec6d⋯.jpg (40.82 KB, 564x664, 141:166, 130344640.jpg) (h) (u)

>>800993

Oh shit this is spot on


 No.801031


 No.801032

>>800993

my sides


 No.801034>>801040 >>801929

>>800863

Go isn't even a competitor to Rust, but it's still total shit. Go has zero metaprogramming facilities at all. Why would you bother with it when there are so many better languages that have surfaced in the last decade? As if Ken Thompson didn't do enough damage by creating C and Unix, he puts the capstone on his career with this turdlang. Go is destined to be the next Pajeet language. If Go has one saving feature, however, it's that Go is slightly preferable to Java, and that's not saying much.

Also, its mascot looks stupid.


 No.801036>>801197

>>800842 (OP)

shit syntax.

SJW infestation and a CoC.

NOT memory-safe. re-use after implicit destruction.

> Inline macro assembly. Memory safe. Oh you adorable, naive, ivory-tower-meets-reality head trauma victims.

Never change faggots. Endless source of fun.


 No.801040

>>801034

>As if Ken Thompson didn't do enough damage by creating C and Unix

LARPer detected.


 No.801043>>801136

>>800869

You are right, they aren't particularly zero-cost. I do wonder how they compare upon execution, and how they compare in readability.

Generics aren't that important though.


 No.801048>>801071 >>801136

Just learn to use state machines you fucking babbies. How many abstractions-of-the-month are you going to go through before you just git gud.


 No.801068>>801136

>>800980

The thing is, once Rust starts to get really adopted by dumbass corporations, a fuckton of bugs will pop up in the safety checks like mushrooms after rain. Literally nobody has ever used this in a big project (I'm talking BIG. do not come at me with redox OS, it's 5M lines of code whereas LibreOffice is 7M. It's not mature enough.) and when they do they're gonna drop it like it's hot.


 No.801071

>>801048

>muh state machines


 No.801082

File (hide): c79553f6977b495⋯.png (675.75 KB, 1688x2048, 211:256, ClipboardImage.png) (h) (u)

File (hide): d0eac2a9688ac4d⋯.png (50.2 KB, 699x770, 699:770, RemoveRust.png) (h) (u)

Sorry, Ada is the future. Ada wipes the Rust off your codebase!


 No.801084>>801092 >>801093

>>800993

>C/C++

>C/C++

>C/C++

C++ is shit. C is not shit, except for its compilers, which are only shit due to pressures from C++. They are two different languages. One of them popped fully-formed out of the forehead of Zeus and has grown but a little over time; the other is a shambling horror created from sewn-together animated corpses.

Fuck this. I'd rather use Forth, but I'm going to learn Rust just so that I can deliver something relatively manager-friendly that people won't try to hack on with their fucking C++ editor modes.


 No.801092>>801136

>>801084

rust lang pro/con

>very low runtime overhead

<slow compiler. can't use source as binary. and they promote this as a web language? I'll take never being able to distinguish malware from legitimate site files for $200, Alex. And they promote this as a systems language? Not for admins: Perl may be slower but at least I can always tell what it does

>uses Serbia's .rs TLD, /pol/ approved

<docs written by fucking commies

-has memory something-or-other

>not Go

<not stable yet

>steampunk is cool

<will contract at least nine STDs from act of scheduling attendance at any Rust conference

all in all... nevermind. People saying "C/C++" is no reason to go to a gaybar. How about Lua for a normie alternative? https://www.activestate.com has a cool howling-wolf icon for it.


 No.801093

>>801084

>the other is a shambling horror created from sewn-together animated corpses.

Which is which?

>The earlier compiler does not know about structures at all: the string "struct" does not appear anywhere. The second tape has a compiler that does implement structures in a way that begins to approach their current meaning. Their declaration syntax seems to use () instead of {}, but . and -> for specifying members of a structure itself and members of a pointed-to structure are both there.

>Neither compiler yet handled the general declaration syntax of today or even K&R I, with its compound declarators like the one in int **ipp; . The compilers have not yet evolved the notion of compounding of type constructors ("array of pointers to functions", for example). These would appear, though, by 5th or 6th edition Unix (say 1975), as described (in Postscript) in the C manual a couple of years after these versions.

>Instead, pointer declarations were written in the style int ip[];. A fossil from this era survives even in modern C, where the notation can be used in declarations of arguments. On the other hand, the later of the two does accept the * notation, even though it doesn't use it. (Evolving compilers written in their own language are careful not to take advantage of their own latest features.)

> It's interesting to note that the earlier compiler has a commented-out preparation for a "long" keyword; the later one takes over its slot for "struct." Implementation of long was a few years away.

>Aside from their small size, perhaps the most striking thing about these programs is their primitive construction, particularly the many constants strewn throughout; they are used for names of tokens, for example. This is because the preprocessor didn't exist at the time.


 No.801103

>>800993

This is amazing.


 No.801112

>harder than C++, more billable hours

>takes forever to compile even small projects, more billable hours

<faggy SV companies like it

>faggy SV companies have a lot of money and don't care if you bill them for doing nothing all day


 No.801123

>>800993

Holy shit this is great. Fukken saved.


 No.801136>>801143

>>801001

>reddit spacing

Alright, now I know for sure.

>>801002

>comparing C++ and C is stupid

why?

>>801043

>Generics aren't that important though

stockholm syndrome

>>801048

rust futures are state machines. it's like you didn't even read the links and still posted

>>801068

>5M LOC isn't big

ok

>>801092

>slow compiler

the upcoming incremental compilation will be fucking rad. way better designed than anything else

>they promote this as a web language

they dont

>not stable yet

??????????


 No.801138

>>800993

>using -Wall and -pedantic will make c/c++ memory and thread safe

lel. thanks for this amazing product of butthurt


 No.801143>>801149

>>801136

It's like you can't even grasp I'm telling you to not use the abstraction. If you write everything as a bare state machine it's compatible with everything and works the same in every language. If you ever have to work on the glue of a polyglot project you'll learn the hard way why what I'm saying is important.


 No.801147>>801149

File (hide): f319eb76b809121⋯.jpg (54.17 KB, 671x668, 671:668, 1468186959883-0.jpg) (h) (u)

>>800993

>they use it religiously

>we copied npm code to create cargo

>io domain

>c++ is 3hard5me

>already found bugs where safety is invalidated

>syntax is worse than perl/java

Kek, sums up all the arguments rustfags dont want to hear


 No.801149>>801151 >>801189

>>801143

>larping

btw rust futures are bare state machines

>>801147

epic. im a #cmissile now. who needs a package manager anyways? just use single header libraries.


 No.801151>>801152 >>804446

>>801149

Yeah package managers and dependency on them are great! Like that one time some guy removed his packet from npm and 99% of all projects stopped working!


 No.801152>>801156 >>801344

>>801151

>HAHAHA NPM IS RETARDED

wow. much insight. many amazing

here is the thing though: this wouldn't have happend with cargo


 No.801156>>801160

>>801152

Oh so you're a smart Rust shill.

Can you explain why people hate Java and Perl for their shitty syntax but when Rust does it it's okay?


 No.801160>>801162 >>801172

>>801156

no i cant explain other peoples retardations


 No.801162>>801163

>>801160

Then explain your own.


 No.801163

>>801162

i dont know which. please specify


 No.801166

>>800842 (OP)

If it's so great why do people feel the urge to write a tl;dr infomercial thread every 24 hours?


 No.801169>>801674

>>800842 (OP)

Rust is useless to me until they renounce current CoC and implement sane rules.

As religious person I cannot agree to their current CoC because it implies that gender exists. Because I cannot agree to their CoC I am not allowed to join any official Rust places like (IRC) chats, code repositories and forums.

Can someone recommend me good book (or website) about writing safe C code?


 No.801172>>801174

>>801160

So if you say Rust syntax is fine then you also are okay with Perl/Java syntax?


 No.801174>>801176

>>801172

no im not okay with perl syntax. it is an abomination. but that is not the reason why i dont use it.


 No.801176>>801178

>>801174

>MUH SYNTAX

you are just as retarded as anti rust shills, cya


 No.801178


 No.801189>>801191

>>801149

>futures are bare state machines

That's pretty dumb even for /tech/.


 No.801191>>801195

>>801189

rust futures are zero cost/overhead abstractions around bare state machines. that is what makes it superior to everything else.

there is literally nothing dumb about this


 No.801195>>801198

>>801191

To help you stop being dumb, consider what would happen should you mix rust and C where rust uses futures and C uses state machines. How easy would it be to tie the two together.

>but it's zero cost!

Literally irrelevant and missing the point entirely.


 No.801196>>801198 >>801199

>rust thread

>no steve klabnik LARPer appeared yet

something is going wrong here…


 No.801197

>>801036

>NOT memory-safe. re-use after implicit destruction.

this is only an implementation bug which will be solved. the language is just fine.


 No.801198>>801200 >>801390

>>801195

>mixing rust and c

wtf????? rust completely replaces c. ther is literally no need.

>>801196

i stopped tripfagging


 No.801199>>801201 >>801202 >>801205

>>801196

I gave him such epic shit he said he would stop and did. I was surprised when it worked. If he starts back up, I'll start making his life hell again. I'm a NEET with plenty of time to kill and nothing better to do.


 No.801200

>>801198

>ther is literally no need

You're going to love the real world where integration is the vast majority of the work programmers do.


 No.801201

File (hide): d98ccc5400af32c⋯.jpg (27.91 KB, 544x388, 136:97, 1328345667245.jpg) (h) (u)

>>801199

Hail the dubs NEET


 No.801202>>801205 >>801206 >>801268

>>801199

i stopped because i became bored of tripfagging as an antifa cuck. i am still shitting up this board with rust threads though :^)

i cant leave, as i am the only rust shill on /tech/


 No.801205>>801206

>>801199

>>801202

Are both of you NEETs?

Are both of you the same person?


 No.801206

>>801205

We are definitely not the same person

>>801202

So you went back to being a regular cuck?


 No.801268>>801295

>>801202

The very moment even a half-working Z compiler becomes available, Rust will stop being relevant forever.


 No.801295>>801296

File (hide): c2b10be080f2513⋯.jpg (16.33 KB, 400x299, 400:299, 1459954785403.jpg) (h) (u)

>>801268

Z isn't memory safe. Rustniggers can't program in a language that isn't memory safe.


 No.801296>>801329


 No.801329>>801335

>>801296

That's a compiler bug tho, that should not compile since foo was already moved into bar.

It's like saying C is not reliable since you found an ICE in GCC.


 No.801335>>801373

>>801329

https://github.com/rust-lang/rust/issues/29723

>Nov 9, 2015

RUSTSHILLS ON SUICIDE WATCH


 No.801344>>801347

File (hide): f63272c940b03e3⋯.jpg (40.92 KB, 396x382, 198:191, f63.jpg) (h) (u)

>>801152

>wow. much insight. many amazing


 No.801347>>801349

>>801344

i was merely pretending to be reddit though :^)


 No.801349>>801361

File (hide): 5130a110aeaffc2⋯.jpg (261.69 KB, 651x1600, 651:1600, act.jpg) (h) (u)


 No.801361>>801375

>>801349

HAHAHA EPIC!!! LMAO M8

can you please post some more funny images?

please post funny cat images. you will get many upvotes good sir


 No.801373>>801376

>>801335

>Two years to solve a compiler error

Worrying yes, but does not refute my point.


 No.801375>>801376

>>801361

How about you leave and the meme stays?


 No.801376>>801900

>>801373

hi. i'm steve klabnik. by the rust core developers own admission, borrowck is a fatally flawed mess

>>801375

how about i continue shilling rust on this board and you choke to death on my tiny antifa cock???????


 No.801390>>801417

>>801198

rust doesn't replace c in use cases where performance primes over safety. C code is also faster to produce, so kinda you'll have to fight against the limits your language imposes you that might not always be the faster ones to produce "safe code" where safety isn't even a concern.

>Inb4 "But such scenario doesn't exist, durr durr"

It does.


 No.801417>>801570 >>801575

>>801390

>what is assembly


 No.801475

Did anyone know they have official yt channel?

https://www.youtube.com/channel/UCaYhcUwRBNscFNUKTjgPFiA/videos


 No.801570>>801615

>>801417

>what is assembly

<C code is also faster to produce

Which still applies in comparison to assembly.


 No.801575>>801615

>>801417

If you don't need safety, and write 90% of your code in a buttfuck language with ugly sintax because safety, then you have a mental problem.


 No.801615>>801617

>>801570

>implying c is faster than rust

where is your proof though?

>>801575

>muh syntax

opinion discarded


 No.801617>>801618


 No.801618

>>801617

>#include <emmintrin.h>

just wait until simd is added to rust's std

https://github.com/rust-lang-nursery/stdsimd


 No.801623>>801624 >>801628 >>801631 >>801696 >>801900 >>804575

File (hide): 4c1cf68603dd549⋯.jpg (248.48 KB, 1300x934, 650:467, rusty.jpg) (h) (u)

Why you name the language Rust? Rust is something that happens to a nice thing when it's neglected and given to irresponsible people.

I'm legitimately curious why you chose that name. You get rust on your car, it eats away at a perfectly good car until it no longer functions. Real world rust is actually like a cancer, eating away at something that's perfectly fine and in good shape until it's garbage.

Pic related was a perfectly fine, working car before rust.

How retarded do you have to be to choose a name like rust for a product? Why not just call it broken? Or even cancer? Or destruction? The fact you retards can't come up with a name that doesn't imply cancer destroying working things, and you have a gay ass CoC, makes me think you're all dumb as fuck.

Not to mention Rust is filled with SJWs. It's filled with SJWs who can't code, but "contribute" to the project by shilling for it and writing bullshit like CoC.

How pozzed with SJWs something is directly correlates to how much time people in the project spend on social media. If they spend a lot of time on media and not working, it's pozzed. And low and behold, this board is filled with rust shilling non stop.

Take your shitty, safe space cancer language and fuck off.


 No.801624

File (hide): 0ccf90d31431a05⋯.jpg (53.09 KB, 908x641, 908:641, 1466764974645-2.jpg) (h) (u)


 No.801628

>>801623

I fucking hate SJWs but the way I thought about the name was: it's between hardware and the outside world; rust on the surface of hardware.


 No.801631

>>801623

>reddit spacing


 No.801674>>801696 >>801900 >>802448

File (hide): e0bbe5c3b3df3af⋯.jpg (87.15 KB, 600x400, 3:2, rusty_tendie.jpg) (h) (u)

>>801169

I have the same problem.

The Rust CoC states that if someone takes exception to what something I say I must "stop doing what it was they complained about and apologize." Now I am fine with stopping behavior a community thinks is unacceptable, but I refuse to apologize if I don't think it's something I should apologize for. Their code requiring me to apologize either way is against my pwn personal code of conduct.

Except for the obviously extremely toxic community I'd take a closer look at Rust. It's ideas are interesting. But you can't really adopt a programming language for real without in some sense being part of their community. And their community have made it clear they don't want people like me there.


 No.801696>>801901

>>801674

>>801623

This is why C++ will stay the superior language. It is not governed by a bunch of whiny faggots.


 No.801900>>801915 >>801983 >>802049

>>801376

Steve, does your mom know that you're using her laptop again? You better go back to your basement before she beats you with the belt again.

>>801623

> being too retarded to do a simple search

https://en.wikipedia.org/wiki/Rust_(programming_language)#History

The fact is that the language is really go for all sorts of fields and being infested with SJWs doesn't mean much. You don't have to interact with the community to use the product. You can't argue against Rust when it comes to it's technical merits and your political argument is useless because you can just not contact with people you disagree with.

If I'd told you to hang yourself you'd probably do it.

>>801674

If you take a look online there's nothing but praise for the community. You can adopt the language and just not interact with them. The CoC does not bind you unless you contribute.


 No.801901>>801915 >>801952 >>801957 >>802049

File (hide): 7041faacb774ed4⋯.png (165.23 KB, 303x311, 303:311, shitdude you have 10 int.png) (h) (u)

>>801696

> uses a language designed by a committee

The reason a lot of people use c++ is because they're subpar programmers, enjoy your pajeet community

The only whiny faggots I've seen where C/C++ "programmers" that complain how long it took them to debug a race condition or a memory error and it took them 2-3 to realize their own retardation.


 No.801915


 No.801929>>801932 >>802890

>>801034

>Go has zero metaprogramming facilities at all

What about the AST package and `go generate`?


 No.801932>>801933

>>801929

>go generate


 No.801933>>801935

>>801932

What about it?


 No.801935>>801940

>>801933

>lol no generics


 No.801940>>801942

>>801935

I don't know what you're getting at.


 No.801942>>801948 >>801990 >>802049 >>802912

>>801940

>The key point here is our programmers are Googlers, they’re not researchers. They’re typically, fairly young, fresh out of school, probably learned Java, maybe learned C or C++, probably learned Python. They’re not capable of understanding a brilliant language but we want to use them to build good software. So, the language that we give them has to be easy for them to understand and easy to adopt.

>It must be familiar, roughly C-like. Programmers working at Google are early in their careers and are most familiar with procedural languages, particularly from the C family. The need to get programmers productive quickly in a new language means that the language cannot be too radical.


 No.801948>>802049

>>801942

Go doesn't need generics, and neither do you. Generics aren't a go-like solution, there's a reason interfaces are brilliant.


 No.801952>>801960

>>801901

What do smart programmers use then?

>inb4 java/rust


 No.801957


 No.801960>>802446

>>801952

Compiled: C, Ada, Fortran

Interpreted: Perl, Lisps


 No.801983

>>801900

>If you take a look online there's nothing but praise for the community.

Yeah, but that doesn't change the fact that it's community rules go against my personal beliefs and morality. I'm a stickler for rules and regulations and follow them to the letter. When the rules exclude me I keep away.

>You can adopt the language and just not interact with them.

That's not really how things work. Do you use a programming language where you're not involved at some level with it's community? I sure don't. I'm very active in all communities in the languages I use. That's a huge benefit both for yourself and for others.

>The CoC does not bind you unless you contribute.

I like contributing though. It's one of the things that give me joy when it comes to programming. Not all of us are cubicle dungeon pajeets who just wants nose to grindstone. And it doesn't say the rules apply only to contributions. It's defined as interaction with the community at all.


 No.801990>>801998

>>801942

What does that have to do with metaprogramming?


 No.801998

>>801990

metaprogramming is too hard. gophers cant understand it


 No.802049>>802520 >>802530

>>801900

>technical merits

Are you referring to the unscalable compile times, the shit syntax, the false promise of safety or the annoying effort-wasting borrow checker?

>>801901

>uses a language designed by hipsters and at the mercy of a bunch of social justice lunatics

>>801948

>there's a reason interfaces are brilliant

>>801942 already gave you the reason: "Googlers" (the audience for Go) are too dumb to understand generics, and therefore a half-baked type erasure solution ("interfaces") is the right thing to have.


 No.802446>>802453 >>805892

>>801960

COMPILED/INTERPRETED IS NOT A PROPERTY OF A LANGUAGE, DUMBASS


 No.802448

>>801674

That's not how it works. The software license allows you to use it even if you constantly send them your shitposting, even shit like death threats, etc., it doesn't matter at all.

Using a language doesn't mean being involved in its development.

Even if you sometimes want to send them your pull requests, is it too hard to simply not speak too much irrelevant shit? And if you don't like someone in particular, it's easy to ignore them. If you want, you can go as far as filtering their output with userscript in your browser or something.


 No.802453>>802457

>>802446

Yeah, and? That doesn't change anything.


 No.802457>>802459

>>802453

try to turn on your brain before posting, please


 No.802459

>>802457

Try to think of something relevant before posting.


 No.802520>>802524

>>802049

>muh compile times

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

just got merged

>muh syntax

that is an opinion not an argument

>false promise of safety

do you mean this? >>798797

it's just a bug bro. it will be fixed soon

>annoying effort-wasting borrow checker

lol. are you mad that rust rejected your buggy code? maybe you should program in python


 No.802524>>802552

>>802520

> it will be fixed soon

Wasn't that bug discovered about year ago?


 No.802530

>>802049

>interfaces

>half-baked

t. LARPer


 No.802552>>802553

>>802524

The first year they waited for MIR to land, then the second year they realized it's harder to fix than it looks.

They probably need this:

https://github.com/rust-lang/rfcs/blob/db66dd2039b10b759084079827d85aba1c26256c/active/0000-seme-regions.md

But seems like a neverever scenario


 No.802553


 No.802578>>802584

D btfos rust anyday in terms of productivity and is as good in performance


 No.802584>>802612 >>802623

>>802578

true but people hate gc


 No.802612>>802615 >>802623 >>802652

>>802584

No, autistic people hate gc. An experienced programmer knows when memory management needs to be done by hand, and when it's better to save development time by letting the gc handle it.


 No.802615

>>802612

You forgot about LARPers.


 No.802623

>>802584

GC is hated because awful languages like java use it.

>>802612

RAII is also good sometimes


 No.802652

>>802612

There is already shitload of languages with GC, without D. D doesn't cover any new use cases.

And having GC without memory safety is kinda odd, why would anyone pick D if there is Java (and Kotlin, Scala, etc.)?


 No.802890>>802912

>>801929

Still waiting for someone to address this.


 No.802912>>802917 >>802918

>>802890

see >>801942

metaprogramming is too hard. gophers cant understand it


 No.802917>>802924

>>802912

>Context-free snippet of text

>some sort of insight into the ability of Go programmers

All your snippet says is "we need people to be using something that's c-like enough for anyone to just dive right in", not a commentary on the language and it's features


 No.802918>>802924

>>802912

That's not a valid argument, Go supports the means for metaprogramming, even if your statement was true it wouldn't change this. People have written about it publicly and there are projects that use it, so obviously someone can understand it enough to utilize it.


 No.802919>>802922

Metaprogramming is pure cancer. Did you learn nothing from the hell C++ developers went through?


 No.802922

>>802919

I'm not sure who you're directing this at but I'm only proving the ability is there, not that it's a good concept.


 No.802924>>802925

>>802917

>>802918

>text substitution and reflection is proper metaprogramming

>this is what gophers actually believe

go was made for retards like you. leave my rust thread immediately


 No.802925>>802926

>>802924

I don't think you have any real arguments, I don't see the point in any of your recent posts or your language.


 No.802926>>802931

>>802925

>gopher doesnt want to admit that his language sucks

>n-n-n-no argument!!!!!!!

lol


 No.802927>>802931

>make language without generics

>add special function to make generic lists and maps

BRUTALLY PRACTICAL

gophers are actually THIS retarded


 No.802929>>802930

File (hide): 0b1df90eb319554⋯.jpg (9.03 KB, 250x241, 250:241, 51fYzbYoXFL._UX250_.jpg) (h) (u)

>google makes a language specifically to solve a set of niche inhouse problems

>retards adapt it thinking its gonna be the next big thing

Neither goland nor rustlang are a threat to the superior c++


 No.802930

>>802929

>google makes a language specifically for retards because you can pay them less

>retards go full gopher


 No.802931>>802933

>>802927

>>802926

Not sure what kind of response you're expecting but you're not doing a good job of selling me on Rust if that is your aim. This kind of behaviour seems typical amongst Rust advocates, it really does seem childish and/or fake, in either case it's negative, either the members are stunted mentally or they're trying to fit in with a certain demographic just to have more of a social appeal without having any merit on their own. This whole project seems like a mess at every level except concept. An actual shame.


 No.802932>>804130

File (hide): b3886fbf140c561⋯.png (18.38 KB, 600x441, 200:147, derplo_01ur892.png) (h) (u)

>>800842 (OP)

>Basically Rust Futures are zero cost and there is nothing that even comes close to it.

>discuss

Factologies:

1) C++ is the PC lingua franca because MS adopted it to write Windows

2) MS doesn't give a shit about Rust, so it isn't going anywhere

whatever next language MS puts completely into Visual Studio, is going to be the Next Big Thing

until then, keep grinding away on C/C++ and feel free to play with whatever silliness you want (pic related)


 No.802933>>802934

>>802931

>MAXIMUM DAMAGE CONTROL

found the triggered gopher


 No.802934>>802936

>>802933

Besides repeating the same nickname what point are you trying to convey? What is your goal? If you don't word it clearly I'll never know, you can;t just be purely aggressive or foolish and expect me to understand what you mean.

A good starting point would be forming some argument convincing me that metaprogramming is a good concept and how Rust facilitates good metaprogramming, then we can disuses it.

Focusing on a seperate language and expressing your opinins on it don't really have any bearing towards Rust, even if we both agreed that Go is a bad langage it does not make Rust a good one, more importantly, showing that Go has a specific feature doesn't make it inherently good either.

If you can't talk about this kind of thing properly I'm going to ignore you from now on, I have no problem discussion it with you if you're this invested in the project.


 No.802936>>802937 >>802940

>>802934

>moving the goalpost

>strawmanning

>hurr durr you stupid im going to ignore you. i won xdddddd

this isnt about rust, but about go. this isnt about whether metaprogramming is good or not. this is about go sucking at metaprogramming.

kys gopher

if err != nil {
return err;
}

LOL


 No.802937>>802938 >>802939

>>802936

What's the point in arguing that Go is bad? Why not make a thread devoted to Go, why post about it in the Rust thread?

You keep saying "gopher" as if it has any meaning, primarily I am a C++ user, people say Rust is competing with it, I'm here to hear their argument.


 No.802938

>>802937

>rust thread

please show me a single post in this thread that actually is about rust futures

protip: kys gopher


 No.802939>>802942

>>802937

Stop replying to him.


 No.802940>>802941

>>802936

Go does not suck at metaprogramming (which is demonstrably bad).


 No.802941

>>802940

>gopher cant handle that his favorite language sucks at everything

lol


 No.802942>>802943

>>802939

It's fun to make Rust advocates look like actual children. Have you been reading this garbage? most jej


 No.802943>>802944

>>802942

>i was merely pretending to be retarded

gophers are so pathetic tbh


 No.802944>>802945

>>802943

That's not what I'm implying, even if you're being insincere you should make your jokes work. At no point did I imply I wasne't being serious, just that your arguments are typical for Rust supporters, they all act like this, anonymous or otherwise. I know you think memes are the hip young thing but that kind of shit is only going to work on github and /g/, don't bring that shit here, faggot.


 No.802945

>>802944

>gopher gets dubs

fugg :DDDDDDDDDDDD


 No.802946>>802990

File (hide): db835c9c0f5542e⋯.png (46.13 KB, 220x220, 1:1, firefox - ball pit.png) (h) (u)

>Mozilla


 No.802981

I tried learning haskell once but dropped it because of the syntax.

Rust is worse


 No.802990

>>802946

>in a ball pit

ohmyfuck.jpg


 No.802996

File (hide): 1a573e51555dcc7⋯.jpg (81.64 KB, 800x596, 200:149, 1483294798121.jpg) (h) (u)

>gophers fight crustaceans

why tho? both of your languages are shit and will never be of any relevance


 No.803924

bump


 No.803938>>803974 >>803977 >>804140

File (hide): 3383c00c59fdcb4⋯.webm (7.83 MB, 480x270, 16:9, Gazing into eternity.webm) (h) (u) [play once] [loop]

>>800842 (OP)

>looking in to the future.

gazing into eternity


 No.803974

>>803938

the bear suit is kiwikig


 No.803977>>803986

>>803938

Does anyone know the origin of this meme? When I found it I was told it was some kind of elder meme.


 No.803986>>805710

>>803977

It's just a music video for Still Life by Oneohtrix Point Never, the video is done by someone named "betamax" I think.


 No.804130>>804139

>>802932

Using your logic Java should be less popular than C#, and it isn't by a wide margin.

Face it, MS doesn't have the influence it did 20 years ago.


 No.804139>>804227

>>804130

C# is way more popular than Java in new fields. Java's basically a legacy language now, like what COBOL was in the late '80s. All those Unity games for example are C#.


 No.804140>>804143

>>803938

It's distressing that I only recognize three hentai pics from the quickly flashing sequence.


 No.804142>>804155 >>804235

I don't see what the point of golang is. It can't do systems work because of the GC, the binaries are too bloated to replace python in embedded, it can't easily work as a replacement for scripting languages like lua due to the only JIT being a hack, and it's not got the wide support of Java. I can't think of a single niche where it's the best tech. Do you know of one? And no, "muh syntax" is irrelevant.


 No.804143>>804151

File (hide): cab150adb2fbaaf⋯.png (28.63 KB, 137x153, 137:153, 919189146.png) (h) (u)

>>804140

apply yourself


 No.804151>>804152

>>804143

Don't you think that whoever would have to deal with me would suffer psychological trauma? It's like you normalfags have no concept of compassion whatsoever.


 No.804152>>804153

>>804151

I think you misunderstood me.

I meant, go look at more hentai until you can identify it all.


 No.804153

>>804152

Ah, apologies. Yes, I'm sort of in process of catching up.


 No.804155>>804409

>>804142

>Do you know of one?

Yes, it's the perfect language for dumb subhuman "Googlers" (>>801942), just like how Rust exists to provide a safe-space for insecure Mozillafags who want to play systems programmer. Overall, and similarly to Java, these hipster languages exist to allow bad programmers to program without fucking everything up.


 No.804227

>>804139

Anon I'm all for /v/ but who the fuck cares about vidya usage seriously.

>Java is legacy language now

>Literally the only way to do anything in android

>There are more android phones than desktop/notebook computers

Yeah nah, Google pulls the strings now, Microsoft is just living of contracts and office to make money.


 No.804235>>804390 >>804409 >>804581

>>804142

Instead of shitposting about a langauge you've never tried - try writing some Go.

>It can't do systems work because of the GC

All operating systems have garbage collection, however they are more like services than subroutines or automatic like in golang. It could be done anyhow, Go's GC is not like the GC of old.

>the binaries are too bloated to replace python in embedded

You say that, but embedded python is dying anyway. It's already bloated and slow, and requires an interpreter installed on the system. A good Go program designed for an embedded context would perform better than an equivalent python program - I do not have an idea on how size would compare.

>it can't easily work as a replacement for scripting languages like lua due to the only JIT being a hack

Coming from an embedded Lua developer, it very much can (except for filesize) but it's not designed to do that. JIT is not a hack.

>it's not got the wide support of Java

Not a real argument.

The problem I think you have is you forget, "systems programming" is not normal development. C is great. Go is like C, except everything works the way you expect it to, and everything's a lot more evolved - multiple returns, interfaces, methods, the := operator... Go is an improvement to C in every way, unless you're writing some serious low-level kernel code (and you're aiming for pure performance and 100% godlike control).

“I like a lot of the design decisions they made in the [Go] language. Basically, I like all of them.” -- Martin Odersky, creator of Scala

“I think it goes back to the Unix C traditions back to basics and other compiled languages and it remedies other deficiencies in C, I don’t think C++ was an improvement but I do think Go is a definite improvement on C and we’ve got Kernighan and things in the background there and obviously they’ve got wonderful experience on building languages. It’s very nicely engineered and actually when it even came out impressive documentation, and all this stuff that you need. Even when it first came out it has a level of maturity that you would think would actually have been there for many years, so it is very impressive actually.” -- Joe Armstrong, co-inventor of Erlang

“[Go] just works. I don’t have any problems, which is the reason I am writing this post. I have used C++, C, and script languages for many years, but started to use Go at about a year ago. I am surprised how efficient and effective it is for me. When I design a new algorithm, it just works at the first attempt surprisingly often. Suddenly, programming is much more fun. I can’t say for sure why, but I think it is a combination of many factors.” -- Lars Pensjö creator of LPMud and the LPC programming language.

“Go is an awesome language and, as this talk illustrates, we aren’t competing with Go; Go and Rust have totally different goals and Rob Pike’s languages were quite the influence on Rust.” -- pcwalton of the Rust Mozilla team

“The complexity of C++ (even more complexity has been added in the new C++), and the resulting impact on productivity, is no longer justified. All the hoops that the C++ programmer had to jump through in order to use a C-compatible language make no sense anymore -- they’re just a waste of time and effort. Now, Go makes much more sense for the class of problems that C++ was originally intended to solve.” – Bruce Eckel, author and founding member of the ANSI/ISO C++ standard committee.


 No.804390>>804401 >>804418

>>804235

>make new languages to replace c++

>both of them have worse syntax than c++

BRAVO


 No.804401>>804409

>>804390

This is a real issue for me, and the main reason I reject Rust. It replaces a bad syntax with a worse one.


 No.804409>>804427 >>804489

>>804155

>muh bad programmers

t. LARPer

>>804235

>go

lol no generics. why would i use go over literally any other gc'ed language?

>>804401

>muh syntax

thanks for shitting up my rust thread. i will just have to make a new thread soon


 No.804418

>>804390

Go has the second nicest syntax out of any language I've used. C++ somehow made C's syntax worse, why would they change literally anything?


 No.804427

>>804409

>thanks for shitting up my rust thread. i will just have to make a new thread soon

I'll see you there bb.


 No.804446>>804450 >>804460

File (hide): 01c3f85dc065969⋯.png (14.01 KB, 325x262, 325:262, cloud.png) (h) (u)

>>801151

>Like that one time some guy removed his packet from npm and 99% of all projects stopped working!

That's not a fault of NPM, that's because fucking pajeets are retarded and rely on "the cloud" to be there all the time.

You can have Node work 100% offline and you should. Commit your damn dependencies yourself, no cloud bullshit to ruin your day.


 No.804450>>804452

>>804446

>That's not a fault of NPM

it was a fault of npm. "the cloud" has nothing to do with it.

>Commit your damn dependencies

are you saying that one should add the source of all dependencies to the git repo?

this will kill your repo: http://npm.anvaka.com/#/view/2d/browserify


 No.804452>>804454


 No.804454

File (hide): 26c260623083e2b⋯.png (878.62 KB, 1680x963, 560:321, Screenshot-2017-10-10 Visu….png) (h) (u)

>>804452

fucking WEW

this shit took 5 minutes


 No.804460


 No.804489>>804493

>>804409

>>muh bad programmers

>t. LARPer

What's the matter? Are you insecure about something?

>N..No one is a bad programmer!!! Everyone is equal, everyone gets a gold star sticker!

t. delusional rust shitcoder


 No.804493>>805167

>>804489

>>N..No one is a bad programmer!!! Everyone is equal, everyone gets a gold star sticker!

thats not even close to what i was saying. but there is no point in arguing with a LARPer


 No.804575

>>801623

>Not to mention Rust is filled with SJWs. It's filled with SJWs who can't code, but "contribute" to the project by shilling for it and writing bullshit like CoC.

Meanwhile they leave other projects alone. Genius!


 No.804581

>>804235

Arguing that Go is better than C is like arguing that grasshoppers taste better than tree bark.


 No.804821

File (hide): 0321ecfc4872d7e⋯.jpg (48.59 KB, 800x533, 800:533, thai-grasshopper.jpg) (h) (u)

I think grasshoppers taste better than treebark tbo, but that has nothing to do with your point.


 No.805117>>805118

I started reading through Rust's documentation.

>The Character Type

>So far we’ve only worked with numbers, but Rust supports letters too. Rust’s char type is the language’s most primitive alphabetic type, and the following code shows one way to use it:

>Filename: src/main.rs

fn main() {
let c = 'z';
let z = 'ℤ';
let heart_eyed_cat = '😻';
}

I am not convinced.


 No.805118>>805120

>>805117

>reddit spacing


 No.805120>>805121

>>805118

>his only retort is misapplied accusations of leddit spacing

I thought about squashing things a bit, but that's how it was laid out in the docs.


 No.805121>>805122

>>805120

>retort

to what??????

>I thought about squashing things a bit, but that's how it was laid out in the docs.

that's not an excuse. at least you didn't use reddit spacing this time.


 No.805122>>805123

>>805121

t.phone fag


 No.805123

>>805122

>no argument

???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????


 No.805151


 No.805167>>805198

>>804493

>successfully extract the essence of the delusional rust shitcoder

<n..no that's not what I was saying you big meanie!!!!! you're just a LARPer! LARPerLARPerLARPerLARPermuhsafetyLARPerLARPerLARPer


 No.805198

>>805167

tasty salt


 No.805471

bump XDDDDDD


 No.805709>>805898

File (hide): b1972253576bc28⋯.webm (8.46 MB, 1280x720, 16:9, Theo de Raadt vs Rust (Eu….webm) (h) (u) [play once] [loop]


 No.805710

>>803986

betamax is the title of the artwork


 No.805892

>>802446

Yes it is; don't pretend that every language is equally easy to interpret at run time.


 No.805895>>805898

Ummm.... C++ has had futures since 2011...


 No.805898>>805912 >>806103 >>806816


 No.805912

>>805898

of courshe, everything in c++ is zero cost


 No.806103>>806106

>>805898

>magic perfect compiler

>memesafety trumps safety-by-design

>netscape lusers vs theo


 No.806106

>>806103

i dont understand what you are trying to say.

try rewriting your comment in english.


 No.806816>>806822 >>806825

>>805898

how you are defining "zero cost"?

is rust(including futures) "zero cost"?


 No.806822>>806849

>>806816

Yes, any rust code takes up zero CPU cycles.

Anti-Rust shills BTFO


 No.806825>>807104

>>806816

how about you read the op of the thread that literally is about rust futures??????????


 No.806846

Rust CoC is a deal breaker for anybody with a functioning ethical system.


 No.806849>>806861

File (hide): c203648180027f0⋯.jpg (57.28 KB, 272x248, 34:31, 1454099692520.jpg) (h) (u)


 No.806861>>806873

>>806849

>>>/4gag/


 No.806873

>>806861

>>/rebbit/


 No.807104>>807118

>>806825

As we know rust is working differently than docs describe it, so I'm asking

Take "memory safety" as example


 No.807118>>807247

>>807104

>rustc having a bug means the docs are lying

lol. you anti-rust shills are really grasping at straws.


 No.807247>>807263

>>807118

>main target of this "programming language" is memory safety

>lack of memory safety for 2 years(probably more) and nobody cares

yes, docs are definitely lying


 No.807263>>807275

>>807247

>screeching autistically because of a bug

t. LARPer


 No.807275>>807279

>>807263

>no rational arguments

>random insults


 No.807279

>>807275

>no rational arguments


 No.807289

>>800901

But I like Perl.


 No.807324>>807327

>>800842 (OP)

how is this new?

lazy evaluation is old af


 No.807327

>>807324

nice strawman. i never said anything about it being new


 No.808862>>809011 >>809067 >>809076

>Starting from version 1.20.0+dfsg1-1 (i.e. the previous version) the Debian packages of rustc no longer fail their build if any tests fail. In other words, some tests might have failed when building this and future versions of the package. This due to lack of maintainer time to investigate failures.

>Many previous test failures were reported to upstream and did not receive a timely response, suggesting the failures were not important. I was then forced to patch out the test to make the build proceed, so several tests were being ignored in practise anyway.

>This brings the Debian package in line with the Fedora package which also ignores all test failures. (Many other distributions don't run tests at all.)


 No.809011

>>808862

>rust is literally Compiled Ruby


 No.809067>>809071 >>809075

>>808862

what tests is he talking about and why does he thinks ignoring failures is ok?


 No.809071>>809076

>>809067

Rust's automated tests often fail but Team Rust doesn't give a shit. SJW activism is more important to them than things like test failures in their 'safe' language, or memory corruption bugs going ignored in their bugtracker.

Debian is better engineered and runs package-provided automated tests as part of the deb build process by policy and failures prevent the packages from getting built. The maintainer does care and is obviously pretty pissed about it and is calling out the Rust devs and the sorry state of things where they're just leaving distros like Debian and Fedora to deal with their buggy software with no support. Since no one is helping but everyone is whining for the package, he's taken the same course as Fedora and just issued a 'buyer beware' and let it be built with failed tests


 No.809075>>809086

>>809067

>why does he thinks ignoring failures is ok?

He obviously doesn't think that, the rust devs think that, since they published a release version of their compiler that has failing tests.

It's not a package maintainers responsibility to fix broken code, that's what upstream is supposed to do. So he reported it to them and they obviously didn't care.

You can take a look at all the failing tests here:

https://buildd.debian.org/status/fetch.php?pkg=rustc&arch=amd64&ver=1.20.0%2Bdfsg1-2&stamp=1508596936&raw=0

They all end with "... ignored"


 No.809076>>809079

>>809071

>Team Rust doesn't give a shit

i dont believe you tbh. can you give me a link to where >>808862 is from?

https://brson.github.io/2017/07/10/how-rust-is-tested


 No.809079>>809086

>>809076

https://packages.debian.org/sid/main/rustc

It's in the README.Debian in the debian.tar.xz source package.


 No.809086>>809094 >>809095

>>809075

>>809079

well after looking around a bit i cant find any evidence for their claims. maybe if they included links to some of the bugreports i could verify their claims, but all i see is "hurr durr ignoring test failures is okay because we cant be bothered to do anything about it and fedora is doing the same LOL".

i looked at the rust packaging git repo and only found a few references to test failures due to outdated build dependencies.


 No.809094>>809099

>>809086

These are all the issues opened by the package maintainer:

https://github.com/rust-lang/rust/issues/created_by/infinity0

>14 open

>23 closed


 No.809095>>809099

>>809086

You type like a retarded child and have to be spoonfed the most basic info like where to find build logs (https://buildd.debian.org/status/fetch.php?pkg=rustc&arch=amd64&ver=1.20.0%2Bdfsg1-2&stamp=1508596936&raw=0 faggot) to see the tests that have to be ignored yet are sure Rust is perfect. You're a fine example of the cult of Rust.


 No.809099>>809104 >>809105

>>809094

>Many previous test failures were reported to upstream and did not receive a timely response

>only two dont have replies

thanks for proving me right. seems like the debian rust packaging team just doesnt care.

>>809095

i was no asking for the build log. i was asking for the bugreports that "did not receive a timely response".


 No.809104>>809106

>>809099

Devs generally contact each other's camps directly, not via filing bugs.


 No.809105>>809108

>>809099

>did not receive a timely response

>open for several months


 No.809106>>809109

>>809104

so what you are saying is that they didnt file bug reports and then got butthurt because nobody responded?


 No.809108>>809112

>>809105

yes????? they did receive responses.


 No.809109>>809110

>>809106

You're adorably naive about development.


 No.809110

>>809109

>not an argument

ok


 No.809112>>809113

>>809108

You know, a useless response might as well be no response at all.

Or do you consider "Works on my machine xD" a valid response when asking for help?


 No.809113

>>809112

>"Works on my machine xD"

source?


 No.811655

>requires you to use their dumb package manager (step aside emacs, now languages are operating systems) to be productive

>muh "safety" (restrictions)

>takes half a second to a whole second to compile a "hello world" program

>IO is retarded

>STD::LIB::IO::BBQ:::::: FUCK I LOVE COLONS

>pritnln!

>!

shit language, sticking with C




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
247 replies | 27 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / ask / asmr / cyoa / hikki / roze / strek / wai / zoo ][ watchlist ]