Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

what's rust??

Name: Anonymous 2017-02-07 13:53

??
is it a c dialect or sth???

Name: Anonymous 2017-02-07 15:17

Rust is a relatively new programming language supported by Mozilla, intended as a replacement for systems programming languages like C/C++. It's not a dialect of C per se, but does unsurprisingly borrow some features from C. It has some features borrowed from the functional programming paradigm, and intends to be ``safer" than C through compile-time features, such that this ``safe" code is no slower than ``unsafe" C code. The Rust compiler currently produces excessively large binaries, though that is at least part due to currently requiring static linking, since most operating systems these days don't yet come with a Rust runtime installed.

Name: Anonymous 2017-02-07 15:52

I've never even heard of an sth language before.

Name: Anonymous 2017-02-08 7:36

>>3
it stands for Shittier Than Haskal

Name: Anonymous 2017-02-08 8:02

All of the Ruby on Rails latte-sipping webdev social-justice zombies moved to Rust. Combined with the fact that Mozilla is based in a heavily communist country proves that it is a Marxist conspiracy meant to destroy every other programming language, library and software project. I mean, it's in the name. Rust.

Their Rust to C transpiler is even named Corrode, because they want to corrode away everything that is C and C++. And they actively go around bullying people into rewriting software in their shitty language that is half broken just as Ruby was. The original creator of the language, Graydon Hoare, is a full on Marxist and part of a genocide cult known as The Voluntary Human Extinction Movement. He even links to it on his website.

Graydon Hoare's website:
http://venge.net/graydon/

Graydon Hoare's blog:
http://graydon2.dreamwidth.org/5785.html

"We can rust the whole world into the dust of the Universe." - Iron Man Tetsuo and what Graydon Hoare originally envisioned with his programming language
https://www.youtube.com/watch?v=r9P-t8VX6Pw

Name: Anonymous 2017-02-08 8:26

Smash the Imperative Patriarchy with Functional Marxism

Name: Anonymous 2017-02-08 21:15

>>5
Graydon Whore.

Name: Anonymous 2017-02-09 8:12

>>5
I always instinctively disliked Rust syntax but all this misanthropy and Japanese surrealist cinema sounds cool, almost makes me want to learn it.

Name: Anonymous 2017-02-09 14:33

>>5
C and C++ were originally created to ``corrode'' systems programming and CPU design.

C and C++ are the only languages that can't run on tagged architectures because of the pointer model and weak type system.

Name: Anonymous 2017-02-09 15:46

>>9
There is a pointer model in C?

Name: Steve 2017-02-09 15:47

I acquire dubs

Name: Anonymous 2017-02-09 17:26

>>11
steve!!!!!!!!!!!!!! you fuck!!!!!!!!!!!!!!!

Name: Steve 2017-02-09 17:33

>>12
wow rude

Name: Anonymous 2017-02-09 19:11

>>9
not true, you can convert C to languages that don't expose pointers.
https://github.com/vsedach/Vacietis

Name: Anonymous 2017-02-09 23:47

>>14
Vacietis uses the memory model of Common Lisp as is, so sizeof of the primitive data types (char, int, float etc.) is all 1. This shouldn't be a problem for most C code, but some C programs claim to be portable while making assumptions that things can be cast into an array of chars to be manipulated. These programs won't work under Vacietis.
That's not C. The ``things can be cast into an array of chars to be manipulated'' is why C is C.

Name: Anonymous 2017-02-09 23:51

>>10
There is a pointer model in C?
C has the most requirements for pointers out of any programming language. Even more than ones where pointers are integers which are indexes into a flat address space.

Name: Anonymous 2017-02-10 8:08

>>16
C has the most requirements
Show me where in the C standard these requirements are written.

Name: Anonymous 2017-02-10 20:29

>>15
You can have that attribute if you compiled to something other than common lisp though, it has nothing to do with exposing machine addresses

Name: Anonymous 2017-02-10 22:10

>>15
C lets you read a pointer as an array of chars. That isn't compatible with garbage collection or tagged memory.

Name: Anonymous 2017-02-10 22:36

>>19
Wrong, asshole.

Name: Anonymous 2017-02-10 22:38

>>15
Wrong, asshole.

Name: Steve 2017-02-10 22:44

Could someone please take a look at these dubs? thanks

Name: Anonymous 2017-02-11 10:39

>>22
Nice dubs, Steve! Very well done, good work.

Name: Steve 2017-02-11 12:54

>>23
Thanks =)

Name: Steve's Mom 2017-02-11 14:31

>>22
Dabs? Are you smoking the devil's lettuce again?

Name: Steve 2017-02-11 15:07

Name: Anonymous 2017-02-12 20:56

Rust
Marxism

Smash it with neo-reactionary suckless software!

Name: Anonymous 2017-02-15 1:51

>>19
there are no "real" arrays in c, just pointers and memory offsets
signed, guy who spends all day, every day, working in c

Name: Anonymous 2017-02-15 4:54

>>28
That's why those buffer overflow exploiters love C.

Name: Anonymous 2017-02-15 5:51

>>28
What's your definition of real array?

Name: Anonymous 2017-02-15 6:35

>>30
Bounds and type protection, methods which don't require implicit assumptions about how your data is mapped to the stack or heap.
What passes for an array in C would be scoffed at in any other language, because they are nothing more than alternative formatting for a pointer offset.

Name: Anonymous 2017-02-15 6:40

>>31
Lol idiot. Arrays are supposed to be contigious by definition. That is an assumption everyone should be able to make.

Name: Anonymous 2017-02-15 7:13

>>32
I see you finished CSC 100 my sophomoric friend.
It is easy to say a C array is contiguous when you know it is. It is not so easy when you are dealing with unreliable data streams and potentially malformed strings. You end up having to fall back on the assumption that your data is of length X and type Y, which only works until it doesn't. Then you are on your own.

Name: Steve 2017-02-15 7:21

>>33
nice dubs my dude

Name: Anonymous 2017-02-15 7:30

>>34
Whoa dude, super fail. You have won a prize.... oh wait, no you didn't.

Name: Anonymous 2017-02-15 9:55

C pointers can be addressed as arrays. C arrays "decay" into pointers when passed to functions.
(there is also a "decay" operator unary +)
http://stackoverflow.com/questions/1461432/what-is-array-decaying http://stackoverflow.com/questions/33291624/why-do-arrays-in-c-decay-to-pointers

Name: Anonymous 2017-02-15 11:21

>>36
Does this mean that C arrays are pointers?

Name: Steve 2017-02-15 11:46

xD

Name: Anonymous 2017-02-15 13:13

>>32
Arrays are supposed to be contigious by definition.
No, nothing in a high-level language requires arrays to be stored in memory in a specific way. The array might actually be stored as some kind of tree, but you will never be able to find out from inside the language itself because the language semantics won't let you.

Name: Anonymous 2017-02-15 18:20

>>39
No, an array is not an abstract datatype like e.g. a stack or ahash table. It is specifically a contigious datastructure irrespective of language. Otherwise Haskell arrays wouldn't be implemented like C arrays. In fact, in all real languages arrays are contigious.

Name: Anonymous 2017-02-15 20:06

>>33
What does this have to do with arrays?

Name: Anonymous 2017-02-15 20:38

>>41
She's saying that you shouldn't assume arrays are contiguous in C, because any program written in a language that is not purely functional is susceptible to undefined behavior.

Name: Anonymous 2017-02-15 21:54

>>42
But arrays are contigious in C.

Name: Steve 2017-02-15 22:53

I claim these dubs in the name of the LORD

"For I know the plans I have for you, declares the LORD, plans for welfare and not for evil, to give you a future and a hope."

Jeremiah 4:20

Name: Anonymous 2017-02-15 22:53

>>43
Arrays are allowed to be non-contiguous if your program has undefined behavior.

Name: Anonymous 2017-02-16 0:16

>>42
because any program written in a language that is not purely functional is susceptible to undefined behavior.
``Undefined behavior'' means it's defined somewhere else. Only functional languages like Haskell have your domain theory ``bottom'' scam because they don't have behavior, just equations.

Name: Anonymous 2017-02-16 1:44

>>46
``Undefined behavior'' means it's defined somewhere else
Wrong, it means that it's undefined.

Name: Anonymous 2017-02-16 2:07

>>47
Only in the spec, any usable implementation will do something and can therefore be defined empirically, even if it's halt and catch fire.

Name: Anonymous 2017-02-16 2:14

>>46
>>47
In C, it probably means: either the compiler will define it for you at compile time, or the architecture will define it at runtime, or a mixture of both. It it sort of defined but may change any moment (even during the same program run).

Name: Anonymous 2017-02-16 2:20

>>48
That's technically correct but practically meaningless. Undefined behavior of the C language practically means that relying on any meaning for this behavior is complete non-sense.

Name: Anonymous 2017-02-16 3:34

>>50
That's the best kind of correct!

Name: Anonymous 2017-02-16 4:03

>>51
The best kind of correct is politically correct!

Name: Anonymous 2017-02-16 4:34

>>52
The best kind of car is a cdr!

Don't change these.
Name: Email:
Entire Thread Thread List