[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]

>ITT Software red flags: I'll start >Written in C

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: 66
Thread images: 9

File: 1484950273793.jpg (34KB, 710x720px) Image search: [Google]
1484950273793.jpg
34KB, 710x720px
>ITT
Software red flags: I'll start

>Written in C
Inherently unsafe and vulnerable
>Written in C and closed source
Deliberately unsafe and vulnerable
>>
Thread red flags
>has an anime image
No relation to content of the thread
>starts a thread thats irrelevant and likely to cause a best language war
Congrats this thread fits the bill
>>
>>60704359
>Written in Rust
Unscalable and therefore super bloated code.
>>
>>60704359
OpenBSD, one of the most secure OSs there is out there, is written in C. Explain me that.
>>
>>60704396
No one except theo de reddit's "security team" examines OpenBSD code
>>
>>60704391
At least Rust has modules
>>
File: rust book.jpg (72KB, 381x499px) Image search: [Google]
rust book.jpg
72KB, 381x499px
>>60704359
Hi there!
You seem to be making multiple unsubstantiated arguments against the C programming language and it's contemporaries.

The reason Rust is being pushed so hard is because social justice warriors have found great difficulty penetrating the communities of open source system coders who use C and/or C++.

The "safety" features give advantages to lobotomised Feminist studies "coders" who are trying to "disrupt" these communities while breaking the knee caps of everyone else who knows what they are doing.

Literally nothing in Rust actually solves problems that haven't already been solved by RAII in C++ and even some GC/stack/heap techniques in the arguably superior but slower D compiler.

The advocates are all social justice warriors and this is their "long march through the development communities". They are employing critical theory against their main targets C and C++, by criticising everything it is and does and demonising its users. They've held back their "cis het white male" jargonism for now, but once they have established a foot hold "killer app", expect them to go wild with it. Just read through the big throbbing CoC they've erected on their main website.

Rust is kill. Don't touch it, spit on all its advocates.
>>
>>60704597
>/pol/ shit
really? is that your argument?
>>
>>60704597
>pointless /pol/tard argument to appeal edgy kids
C apologist spotted

C apologists are NSA shills plain and simple. Rust makes it harder to produce vulnerable programs as it actually implements safety precautions like Bounds checking, dangling pointer prevention, data race prevention, lifetimes etc. This is against the interest of the NSA and so they are shilling C so that people continue to produce exploit prone, unsafe and vulnerable programs.

Ignore the NSA/C shills. Programming in C should be banned and outlawed.
Say no to security exploits, say no to the NSA. Your data and your privacy is worth preserving.
>>
>>60704359
>violates human rights
>>
>>60704387
anime website
>>
>>60704396
OpenBSD is also one of the less used OSs out there.
Coincidence? I don't think so.
>>
File: 1480313620386.png (275KB, 465x450px) Image search: [Google]
1480313620386.png
275KB, 465x450px
>>60704387
>>has an anime image
>No relation to content of the thread
But it does, anon. She's clearly saying NO to software written in C.
>>
>>60704630
Your post does not contradict anything he said.
>>
>>60704359
>Closed source
>Made by Microsoft
>Made SJWs
>Subscription model
>"the cloud"
>>
>>60704630
A fine example of sjw brainlet, thanks buddy or whatever you want people to call you.
>>
File: 1465519075030.png (230KB, 548x642px) Image search: [Google]
1465519075030.png
230KB, 548x642px
>>60704359
>.io website
>made with love by
>author describes himself as a code artisan
>>
>CODE_OF_CONDUCT.md in the root directory
>>
>It's a userspace application written in C
Code bloat.
Reinvention of the wheel.
Breeding ground for bugs.
Bad design.
>>
>>60706642
Oh and forgot:
Linked lists where vectors should be
>>
>>60706660
So jealous on these sweet linked list you can't write in Rust.
>>
Patreon begging in the README
>>
>>60706677
It's easy to write a list in Rust though. In fact there's one in the standard library.
Lists are terribly inefficient at everything.
>>
C is only insecure if you suck at writing C.

Red flag if electron based
Written in js for safety
Not version controlled
Commit messages are all stupid one liners that say "fixed thing" or "whoops"
>>
>>60706696
Linux developers suck at writing C?
>>
>>60706571
>>60706609

>MIT license
>javascript & npm
>package.json importing dozens of oneliner/onefunction "modules" made as single-use dependency by same author
>>
>>60706713
Yes. If world were social and just, kernel would be rewritten in rust, and the userspace GNU/* portion rewritten in Haskell long ago.
>>
>>60706747
>and the userspace GNU/* portion rewritten in Haskell long ago.
Is that just another way for saying the userspace would be incredibly slow, bloated, and useless?
>>
>>60706747
>got a legit counter-argument about C being inherently insecure even in the hands of an experienced developer
>s-sjw!!!
C-toddlers are desperate.
>>
>>60704359
>Inherently unsafe and vulnerable
Just like any 99% of the langs?
>>
>>60706747

I'm shitting RIIR all over HN for a year now, but it's getting stale. /g/omrades, give ideas for language of the future. Serious forced meme contenders:

* nimrod
* crystal
* kotlin (after it gets more useable llvm backend)
* maybe go? but i kinda like go.
>>
I avoid software written in python.
It's unbelievably slow and resource intensive.
Yet for some fucking reason people insist on making graphical tools with it.
>>
>>60706864
Idris, Agda, Coq, SPARK
Safe languages are the future
>>
>>60706887
I don't have a math degree so I can't put forth a qualified answer, how exactly would one go about putting a layer of irony around model checked/theorem proved systems?

Sure those are holy grail and impractical, but not sure how to word it exactly.
>>
>>60706694
>It's easy to write a list in Rust though. In fact there's one in the standard library.
Only with unsafe code.

>Lists are terribly inefficient at everything.
A meme spouted by Rustbabbies. At the same time they use BTrees for everything. Of course Linked Lists are inefficient if you use them where you could use a blob of elements, but any programmer worth their salt won't do that.
>>
>>60704387
still better than a frog/feelposter
>>
>>60706847
So Rust is the 1%?
>>
>>60707082
>Only with unsafe code.
You're just wrong: http://rustbyexample.com/custom_types/enum/testcase_linked_list.html
>>
>>60706571
who's semen demon?
>>
>>60704630
Why are you even comparing Rust to C? Rust is more comparable to C++ than to C, and C++ is a steaming pile of shit. Consider suicide Rustkike
>>
>>60707082
>Only with unsafe code.
Now that's where you're wrong.

>A meme spouted by Rustbabbies.
Lmao, I've had the same opinion since before I was using Rust, and even before I was using C++ when I was a C programming like you.
Lists are universally inefficient as fuck.
A C programmer like you should know that.

>Be C programmer
>Isn't even aware of the effects of cache usage and non-contiguous memory access.
Embarrassing.
>>
>>60707143
Usable as fuck! If you wouldn't have to pull your teeth to get that shit implemented in Rust, they wouldn't celebrate the monthly "Implementation of a Linked List" in /r/rust nigger.

You know what happens once Rust gets used in the wild and not by a few enthusiasts? People won't give a shit about this, they don't consider beating the borrow checker an achievment, they'll just clutter their code with unsafe parts.

>>60707161
Nice arguments you got there. Enjoy shifting thousands of elements for one deletion.
>>
>>60707286
>You can't write a Linked List in Rust!
>Yes, you can.
>But not without unsafe!
>Yes, without unsafe.
>...nigger!
I'm not even sure I'm not being memed.
>>
>>60707286
>If you wouldn't have to pull your teeth to get that shit implemented in Rust
It's not fucking hard, and there's no hoop jumping in the code he posted, it's pretty simple straight forward idiomatic Rust. I could write that in 5 minutes.

>Enjoy shifting thousands of elements for one deletion.
More efficient than walking a list pointer-through-pointer to reach the element you want to delete.

Also, you're forgetting that deletion is done no where near as often as access.
>>
>>60707328
You claim you can write a safe linked list by showing an absolute brain dead example of something that does nothing to avoid any friction with the borrow checker. Kys.

>>60707335
>It's not fucking hard, and there's no hoop jumping in the code he posted, it's pretty simple straight forward idiomatic Rust. I could write that in 5 minutes.
It's a complete useless piece of code that does nothing.

>More efficient than walking a list pointer-through-pointer to reach the element you want to delete.
Because that's how it's done.
>>
>>60707365
>It's a complete useless piece of code that does nothing.
It implements a linked list, but I do agree with you, linked lists are pretty useless.
Other than that, it's perfectly usable as a normal linked list, as you'd do in C.
But yes, as you said, lists are pretty useless, no matter the language.
std::vector/std::Vec is most efficient in most of cases.
>>
>>60707365
>Because that's how it's done.
Yeah, for linked lists.
Access is O(1) and very fast for vectors.
Traversal is also very fast for vectors since they're contiguous in memory and as a result very cache friendly.
>>
>>60707365
>that does nothing to avoid any friction with the borrow checker
What friction?
Do you even fucking understand Rust at all?
>>
>>60707404
>>60707418
>>60707445
I'll stop the discussion at this point because it's evident to see that Moz://a pays their shills by quantity and not quality.

Every container in the standard library is based on unsafe code but here we have the bright minds telling you that it's a breeze to implement all that stuff in safe code. Okay. Glad I helped you earn a few rupees my friends.
>>
>>60707465
>In other words, I'm admitting my loss.

>Every container in the standard library is based on unsafe code
Because you can optimize better with unsafe code, this is obvious.

>it's a breeze to implement all that stuff in safe code
It is, it's just less efficient depending on the data structure.

One of the points of Rust is that it allows you to localize the unsafe code and encapsulate it behind a safe interface.
Most of the low level std and core libraries are unsafe, because they are low level and therefore inherently unsafe, but the standard library builds higher level, safe, efficient, and convenient abstractions on top of these.

That only really applies if you're writing low level code though, when writing a normal userspace application you can very easily avoid having any unsafe blocks in your code since the standard library provides quite a lot for you.
>>
File: gno.png (847KB, 1000x669px) Image search: [Google]
gno.png
847KB, 1000x669px
>>60704359
>ITT
Shitty webdev red flags: I'll start

>Does not understand what he's talking about
Inherently unsafe and vulnerable
>Is a fucking weab and talking shit about things he does not even understand
Deliberately unsafe and vulnerable
>>
>>60707584
>Says the one posting stallman memes.
>>
File: stalin.png (264KB, 498x615px) Image search: [Google]
stalin.png
264KB, 498x615px
>>60707606
>anime memes
yey!
>rms memes
nay...

What the fuck is this thread?
>>
File: 1493544291673.jpg (637KB, 787x938px) Image search: [Google]
1493544291673.jpg
637KB, 787x938px
>>60704359
What if I'm writing deliberately unsafe C for tutorials? All the error checking makes the program less readable.
>>
>>60704359
>Powered by (Insert game engine here)
>>
>>60706554
Low energy damage control
>>
>>60708385
Because we, intelligent people, don't need damage control
>>
>>60708410
>Because we, intelligent people
Yeah you sure needed to mention that you are "intelligent"(!)
>>
>>60708515
also I use exherbo because I have superior tastes
>>
>>60707129
No
>>
>>60704359
and you are still using a browser written in C on a computer running an OS written in C to access a server which OS is written in C running a webserver written in C to post your retarded opinion ?
>>
>>60710051
>bumping the obvious mozilla shill thread
>>
>>60710051
No major browsers are written in C, and parts of Windows kernel is written in C++ too, same goes for IIS.
>>
File: anime_girl_sicp.jpg (174KB, 825x713px) Image search: [Google]
anime_girl_sicp.jpg
174KB, 825x713px
>>60710431
literally who uses iis when nginx is a thing? unless you're running asp.net or some shit.
>>
>>60704612
>Everything somebody says I don't like is from /pol/
Gaia seems a little more your speed, friendo.
>>
File: iis.png (77KB, 715x602px) Image search: [Google]
iis.png
77KB, 715x602px
>>60710559
Apparently 45% of all sites on the internet.
Thread posts: 66
Thread images: 9


[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.