[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Rust

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 48
Thread images: 5

File: Actual rust cod.png (61KB, 1200x575px) Image search: [Google]
Actual rust cod.png
61KB, 1200x575px
Why is this allowed?
>>
Jesus Christ. Who would do this?
>>
File: SHRUG..png (104KB, 1208x806px) Image search: [Google]
SHRUG..png
104KB, 1208x806px
??????
?? ??
? ??? ???
>>
>>59210294

tok
>>
>>59210294
what editor you use for Rust?

Been using the Atom packages but are buggy as fuck.
>>
Oh god its worse than Java
>>
>>59210294
I'm seeing a lot Rust threads lately, what does it mean?
>>
>>59210433
don't use rust dummy
>>
>>59210457
I'm currently on chapter 9 of rustbyexample. And I'm really liking it.

Also the sjws seem to me like a minor nuance. They don't even code
>>
>>59210294
why have i seen 5 rust threads already, all you need is C for embedded and OS shit and Rust for mobile and snything serious including security shit and Go for web
>>
>>59210530
They run the language. Be very careful to never cross them if you care about your online reputation.
>>
>>59210294
>>59210361
>using the only actually readable rust code

I don't like it, but this is essentialy just pattern matching. What's wrong with it?
>>
>>59210777
What is all the punctuation supposed to mean? It's impossible to understand.
>>
>>59210602
what a pity. I hope they get bored and leave like they usually do.
>>
>>59210294
Where's the problem here?
>>
>>59210433
Vim of course.
>>
>>59210794
Maybe if you've literally never programmed in your life, because otherwise only the ! shouldn't be instantly trivially obvious, and the ! has legitimate reason for being and only retards would consider removing it.
>>
>>59210884
>r***rds
Check your ableist privilege, normal scum.
>>
>>59211017
>s**m
PREEEEEVILEGES
>>
>>59210794
Aside from the inconsistent -> and => it's just like many functional programming languages (like Elixir, which has a very similar syntax). There's also a few range operators, but I don't see "all that punctuation".

You didn't post any code with the lifetimes bullshit and the unclean macros. Those are cancerous.
>>
>>59210559
Baby Python developer's first compiled language.
>>
>>59211071
The macros are taken straight from opendylan, I think they're the best hygienic solution for a statically-typed infix language, really. They're ugly for sure, but how can you do better?
>>
>>59210559
Rust is almost good enough to take over C even in the embedded space. It's the only high-level language which is fast, has no GC, and has no runtime. It also has a reduced standard library to work in embedded environments.
>>
>>59210794
I hope you're trolling

>>59211266
redox when
>>
>>59211266
For IoT devices Rust could be a godsend, a lot of the stupid hacks that occur to them are because of buggy rushed C code.
>>
>>59211596
Well, firstly, a lot of the stupid hacks that occur to them are because they're internet-connected.
>>
>>59210294
What's wrong with that. I never learned Rust but I can read it.

>I'm a program
>I'll create a random token for you if you're admin.
>If you're not him/her, I won't do anything

>Hi, I'm a program too.
>Are you admin?
>Yes? Access granted here's your token.
>No? OMG You FREAK!!!
>>
>>59211738
Here here. Network facing software is vulnerable no matter what language its stirred in. Rust would be just as insecure as C if people actually used it.
>>
>>59211846
It would still be more secure, but since no program is perfect, the program would still have to be "eventually vulnerable". However I would still trust a claim that C software is, in probability, "permanently vulnerable".
>>
File: 1488491035624.png (96KB, 1920x1012px) Image search: [Google]
1488491035624.png
96KB, 1920x1012px
C(ancer): Why this is allowed?
>>
>>59210454
Desperate marketing campaign to keep an irrelevant language in the spotlight.
>>
>>59213225
>I don't understand the printf function therefore C is cancer
>>
>>59213269
Epic damage control.

C is Cancer
>>
>>59213320
"C is a good language. Holy C is even better. It's divine intellect."

.t TAD
>>
>>59213481
who?
>>
>>59213521
newfag please gtfo
>>
>>59213569
what are you on about?
>>
>>59211266
In the embedded world it's either C for the things you don't give a fuck about, or ADA for safety.

Rust is for neither.
>>
>>59211846
This is demonstrably false. There are multiple classes of attacks which are not possible against Rust code. This security mindset is terrible.
>>
File: tr.jpg (51KB, 600x400px) Image search: [Google]
tr.jpg
51KB, 600x400px
>>59213572
Yikes
>>
>>59211266
>even in the embedded space
Multiplatform support is a must. Hobbyprojects like llvm still don't give a shit about mips or armv11 even if they are still used widely.

>>59211596
Iot issues won't be redeemed by rust thanks to open ports and weak passwords. Buffer overflow is mostly solved with snake oil like aslr and hardware issues still can't be solved with rust tools (the toolchain still weak for it).
>>
>>59210294
ADTs and patter matching?

Fuck yes
>>
>>59213845
Nobody uses C over C++ in the embedded space and rust is literally a better ada.
>>
>>59216381
llvm supports x86_64, i386, arm, thumb, mips among others.
>>
>>59216816
>not tier 1 support
>literally mozilla needed to give some support for arm because android target

The toolchain is still next to no.
>>
>>59210433
>rust
>atom
how low can you go?
>>
>>59216787
Embedded has changed meaning a lot over the years.
To me, embedded development is by nature hardware specific.
To others, it means all development on embedded systems.
In those cases, python is more popular than C for embedded systems.

But I don't personally think of applications on a embedded platform is the same as developing an embedded system.
>>
>>59210294
i kind of get this, its just weak security isnt it
Thread posts: 48
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.