[ / / / / / / / / / / / / / ] [ dir / asmr / aus / ensenada / had / namibia / sw / tijuana / wai ]

# /tech/ - Technology

Name Email Select/drop/paste files here * = required field [▶ Show post options & limits]Confused? See the FAQ.
Flag None2XOS9frontAbsolute LinuxAlpine LinuxALT LinuxAmigaAndroidAndroid-x86AntergosantiXApartheid LinuxAPODIOAppleApple (Classic)ArchBangArch LinuxArtistXAsteriskNOWAtariAzure Cloud SwitchBlackberry OSBodhi LinuxCentOSChakraChrome OSChromium OSClonezillaCommodoreCrunchBangCRUXDebianDOSDragonFly BSDDreamlinuxEdubuntuelementary OSEliveEmacsEvolve OSFedoraFirefox OSForesight LinuxFreeBSDFreeNASFrugalware LinuxFuduntuFuntooGeeXboXGentooGhostBSDgNewSenseGNUGNU/LinuxGNU HurdGuixGuixSDHaikuIBMIllumosKali LinuxKnoppixKororaKubuntuLinuxLinux MintLubuntuMageiaMandrivaManjaro LinuxMEPISMINIXMooOSMorphOSMythbuntuNetBSDNexentaStorNimbleXNuBSDOLPC OSOpenBSDopenSUSEParabola GNU/Linux-librePardus LinuxPC-BSDPCLinuxOSPinguy OSPlan 9 from Bell LabsPuppy LinuxReactOSRed HatSabayonSailfishSalix OSScientific LinuxSlackwareSlaxSliTaz GNU/LinuxSolarisSymbianTailsTempleOSTiny Core LinuxTizenToleranUXTrisquelUbuntuUbuntu GNOMEUbuntu MATEUbuntu StudioUltimate EditionUtutoVectorLinuxViperrVoid LinuxWindowsWindows (Classic)Windows 7Windows VistaWindows XPXubuntuZenwalkZorin OS Show oekaki applet (replaces files and can be used instead) Do not bump(you can also write sage in the email field)Spoiler images(this replaces the thumbnails of your images with question marks) (For file and post deletion.) Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdfMax filesize is 16 MB.Max image dimensions are 15000 x 15000. You may upload 3 per post.

File: c76db1c59ab13eb⋯.jpg (384.3 KB, 1400x933, 1400:933, steve klabnik2.jpg)

No.820030

These days, Rust is used for all kinds of things. But its founding application was Servo, an experimental browser engine.

Now, after years of effort, a major part of Servo is shipping in production: Mozilla is releasing Firefox Quantum!

Rust code began shipping in Firefox earlier this year, starting with relatively small pilot projects like an MP4 metadata parser to replace some uses of libstagefright. These components performed well and caused effectively no crashes, but browser development had yet to see large benefits from the full power Rust could offer. This changes today.

Stylo: a parallel CSS engine

Firefox Quantum includes Stylo, a pure-Rust CSS engine that makes full use of Rust’s “Fearless Concurrency” to speed up page styling. It’s the first major component of Servo to be integrated with Firefox, and is a major milestone for Servo, Firefox, and Rust. It replaces approximately 160,000 lines of C++ with 85,000 lines of Rust.

When a browser is loading a web page, it looks at the CSS and parses the rules. It then determines which rules apply to which elements and their precedence, and “cascades” these down the DOM tree, computing the final style for each element. Styling is a top-down process: you need to know the style of a parent to calculate the styles of its children, but the styles of its children can be calculated independently thereafter.

This top-down structure is ripe for parallelism; however, since styling is a complex process, it’s hard to get right. Mozilla made two previous attempts to parallelize its style system in C++, and both of them failed. But Rust’s fearless concurrency has made parallelism practical! We use rayon —one of the hundreds of crates Servo uses from Rust’s ecosystem — to drive a work-stealing cascade algorithm. You can read more about that in Lin Clark’s post. Parallelism leads to a lot of performance improvements, including a 30% page load speedup for Amazon’s homepage.

Wrapping up

Overall, Firefox Quantum benefits significantly from Stylo, and thus from Rust. Not only does it speed up page load, but it also speeds up interaction times since styling information can be recalculated much faster, making the entire experience smoother.

But Stylo is only the beginning. There are two major Rust integrations getting close to the end of the pipeline. One is integrating Webrender into Firefox; Webrender heavily uses the GPU to speed up rendering. Another is Pathfinder, a project that offloads font rendering to the GPU. And beyond those, there remains Servo’s parallel layout and DOM work, which are continuing to grow and improve. Firefox has a very bright future ahead.

As a Rust team member, I’m really happy to see Rust being successfully used in production to such great effect! As a Servo and Stylo developer, I’m grateful to the tools Rust gave us to be able to pull this off, and I’m happy to see a large component of Servo finally make its way to users!

Experience the benefits of Rust yourself — try out Firefox Quantum!

https://blog.rust-lang.org/2017/11/14/Fearless-Concurrency-In-Firefox-Quantum.html

No.820044

Is parallelism really this hard in other languages, especially C++? Or are the pozzilla devs just shit?

No.820045

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

>>820044 (checked)

Long answer: You're a nodev LARPing as a dev so you wouldn't know what it is like working on a big codebase.

No.820048

>>820045

Watch out who're calling a nodev, i wrote hello world in C!

No.820080

Styllo doesn't work properly with standard stuff like bootstrap and materialise, so, fuck off

No.820094

>>820044

They're just shit. You can easily make a nightmarish mess out of concurrency if you don't know what you're doing but there are plenty of modern design patterns to stay safe. The only time it gets really sketchy is when doing kernel work where only relatively high-risk primitives are available and are used dangerously for performance and the extreme code churn of the kernel can lead to a successful merge that changes which primitive is covering your code. It's why companies are so reluctant to change kernel versions and instead pay for almost every major kernel release to be maintained 'stable' these days.

No.820096

File: ec57d14660d4449⋯.jpg (37.63 KB, 1280x720, 16:9, steve klabnik 7.jpg)

>>820080

wrong

>>820094

>design patterns

gtfo pajeet

No.820100

File: bb3fa52d9c6ee10⋯.jpg (88.01 KB, 1316x456, 329:114, ff.JPG)

File: b2dc7343954c194⋯.jpg (76.41 KB, 1319x433, 1319:433, cr.JPG)

File: c3b923e3582b5bf⋯.png (197.63 KB, 1666x651, 238:93, rust.png)

>>820096

FF 52, Chrome, and Quantum

No.820103

File: 4395757a7a0fd60⋯.jpg (61.78 KB, 1280x720, 16:9, steve klabnik 5.jpg)

>>820100 (checked)

well maybe firefox 52 and chrome are fucked up. can you provide the source please?

No.820104

<div class="container valign-wrapper" style="min-height: 60vh"><div class="section"><div class="row"><div class="col s12 m4 center"><img src="HTTPS_padlock.png" style="width: 20vw;" /></div><div class="col s12 m8"><p class="light">The technology behind the modern internet is fundamentally insecure. The backbone of <b>half a billion</b>websites, <b>SSL</b>, now known as <b>TLS</b>, is broken. TLS is the protocol behind <b>HTTPS</b>, whichkeeps your transactions with your bank, <i>BitPay</i>, and even your logins to <i>Google</i>secure - or at least, that's the idea. The current model, however, does not appear to be working.<br><br>A world where <b>200,000</b> of the top million sites have poorly implemented HTTPS is not acceptable. Theconsequences from having one's usernames and passwords stolen can be far-reaching, catastrophic, andhard to deal with. And if those details are financial, even one's <b>wealth</b> can become at risk.<br><br>The first rule of security is that of keeping the number ofparticipants as low as possible - TLS adds a third, always looming, <b>in total control</b>over proving you're talking to who you think you are. These are <b>Certificate Authorities</b> - Acentralised cartel of secretive bureaucratic corporations, issuing the documentation you need for safebrowsing, and they have shown time and time again they cannot be trusted.</p></div></div></div></div>

No.820105

File: 5c7f6daa15e716d⋯.jpg (45.67 KB, 1024x768, 4:3, steve klabnik d.jpg)

>>820104

Yeah. Quantum gets it right. Rust wins again.

No.820107

Seriously it's even the same fucking few pictures.

No.820108

File: 16f66b67e1954da⋯.png (65.6 KB, 1167x580, 1167:580, Screenshot-2017-11-14 Poly….png)

File: 2373e6f4c6b9721⋯.jpg (49.08 KB, 1280x720, 16:9, steve klabnik k.jpg)

>>820100

>>820104

btw this is how it looks on firefox developer edition 58.0b3

No.820110

File: b32bd5d68029516⋯.jpg (167.18 KB, 1030x714, 515:357, steve klabnik 4.jpg)

>>820108

btw: Keeping financial transactions and web browsing secure: Introducing Aguris, a game-changing cryptocurrency.

LOOOOOOOOOOOL. kill ypurself cryptokike

No.820111

>>820108

I take it they've updated since I last used it, so fair enough.

No.820116

>>820100

>The technology behind the modern internet is fundamentally insecure. The backbone of half a billion websites, SSL, now known as TLS, is broken.

>Polygora issues TLS certificates

So what they are saying is that their shit is broken by design?

No.820118

>>820110

Gotta make money somehow. Let's Encrypt is great and all, but centralised cancer. Crypto-Decentralism is the future.

(Until some sort of DNS level encryption is developed.)

>>820116

The plan is to use blockchain technology to implement a distributed certificate authority. That way, CAs can't kike you. Let's Encrypt is great but centralised, and will eventually run out of money.

No.820121

>>820118

So how is this better than self signed certificates?

No.820127

>>820121

Self-signed certs are only useful if you know you can trust the self-signed cert. They're not useful on the open web.

No.820133

>>820127

So how do I know that I can trust your decentralized cryptokike certificates?

No.820135

>>820133

The same way you can trust LE's, they'll be DV certs requiring proof you control the server. Look up ACME

No.820137

>>820135

But how do I know that I can trust the cryptokike cryptocurrency?

It really seems like a meme that is never going to take off tbh.

No.820139

>>820030

i use an older laptop it runs hot and firefox consistently crashes around 75c - 90c. often kernel panic occurs and i'm forced to restart. this happens reliably, as in guaranteed, when firefox is running and the computer reaches these temps.

running qupzilla, this never happens.

note that firefox uses rust, qupzilla is c++ :)

a lot of things are fucked with firefox but this is some real pajeet-tier bullshit firefox is pulling.

No.820140

>>820139

and i'll add qupzilla performs flawlessly even when temps reach 100c and the cpu throttles.

No.820141

>>820137

I don't know what you mean. It's cryptocurrency, there's no need for trust.If something is wrong it won't be cryptographically verifiable

No.820142

>>820141

LOL. You are just adding lots of shit which increases the attack surface but it is ok because crypto. Have you actually verified that their crypto isn't fucked? Have you verified that the implementation of their shit isn't fucked?

No.820181

File: e18b2e6c864e40a⋯.jpg (85.55 KB, 850x708, 425:354, e18b2e6c864e40a53a94716aec….jpg)

parallelism is one of the hardest things to do correctly. Specially since there are lots of ways to do fast code that breaks, and lots of ways to do slower (even single threaded) that don't.

That being said... Its not the hardest problem. Nor the most important one.

Even if rust did parallelism correctly and "fearlessly' (which I doubt, given the rust constricts and forces you to bend backwards to play it safe already) Its not worth the sintactic nightmare nor the ugly, narcisistic cult that tries to convince you its the best language ever.

They are just silly people that wasted their time in something short lived.

They make me think on the " the king come down" creepy pasta. Theyre just helpless fools trapped in some shitty mind curse, trying to shit other people minds. They're unable to hold conversations and they will dismiss everything you say to them, appearing all shining and clean on the next thread as if they had not received a severe beatdown decomposing their beliefs.

No.820186

File: b4b2da190648c22⋯.jpg (270.11 KB, 1200x814, 600:407, steve klabnik l.jpg)

>>820181

bla

bla

bla

>muh rust

bla

bla

>i wrote hello world in c once and it didn't segfault XDDD

bla

epic post bro

No.820192

>>820186

>>820044

Youre still a fucking cult.

No.820247

They can capitalize the first Letters of random Nouns all they want, I'm not adopting it if I can't use my Add-ons.

No.820250

>>820110

Gotta admit, he found a great way to market his cryptobubble.

No.820304

OMG FIREFOX QUANTUM IS SO FAST IM USING IT RIGHT NOW ANDS ITS BLAZING FAST OMG OMG

RUST IS THE BESTEST!111!

No.820305

>>820048

let's see it.

No.820309

>>820247

Sticking with Chromium eh?

No.820320

>>820044

It isn't so much that C++ is harder, but that Rust is faster, uses less memory, needs less code and takes less time to develop.

No.820369

It's not that fast.

the rest depends of your internet access.

Also, Quantum is a buzzword that don't mean jack shit in anything but particle physics.

No.820373

File: e7f550dcf1585a2⋯.jpg (23.39 KB, 270x194, 135:97, canstock51289279.jpg)

They better not fuck this up, Firefox can't render more than a few dozen box shadows before it shits the bed.

No.820375

No.820381

>Firefox not slow as shit anymore

>gets rid of the one thing it had going for itself (add-ons) in the very same version

Fucking genius!

Not I can choose between a bloated, slow piece of shit with functionality or a bloated, slightly faster piece of shit without any functionality. What a time to be alive!

No.820419

No.820421

>>820381

retard

No.820423

>>820419

>inspiring

That's code for made up bullshit about one-armed quadriplegic non-binary muslim trans-lesbians of color finding a safe space to build clocks, I mean, to "program", right?

No.820424

>>820421

Many add-ons cannot or will not be updated to the new, shitty and restrictive system.

No.820426

>>820369

Also, moon is a buzzword that doesn't mean jack shit in anything but spaceflight

No.820442

>>820127

Long Answer: If your threat model includes pervasive mass surveillance from a passive attacker, unauthenticated encryption can provide confidentiality without integrity. (But provides no protection from an active MITM)

No.820485

I honestly don't have a problem with rust. It's not C, but not every language needs to be. I do, however, have issues with groups that adopt SJW codes of conduct. Granted, it's not like they can stop you from writing shit in rust even if you don't follow it, but it still worries me.

No.820784

>>820419

>Pictures in blue

Cancer

No.820821

>>820118

> (Until some sort of DNS level encryption is developed.)

Is DNScrypt not what you are looking for?

No.820858

>>820320

>Rust is faster

Bullshit.

>uses less memory

Bullshit.

>needs less code

Maybe the only valid point.

>and takes less time to develop.

Fucking bullshit. Nobody can write 1 line of Rust code without thinking for 3 minutes beforehand.

No.820865

>>820858

>Fucking bullshit. Nobody can write 1 line of Rust code without thinking for 3 minutes beforehand.

This is a good thing.

No.820869

>>820865

No it isn't, you mongoloid. In other programming languages, you think about how to solve the problem. In Rust, you think about how to get the arcane syntax for the statement you want correct.

No.820873

>>820869

So in rust you have think about:

a) how to solve the problem

b) how to express your solution in rust

whereas in other languages you think about:

a) how to solve the problem

b) how to express your solution in rust

Truly a world of differences

No.820874

>>820873

Stop putting words in my mouth, you know exactly what I meant. Rust syntax is so complex and the stdlib is so fucked up that writing a single line of code takes minutes. Plus they said they will never support shit like epoll so it's useless for sockets.

No.820876

>>820874

>>820869

>rust is too complicated for me :(

No.820879

No.820910

>These days, Rust is used for all kinds of things.

lies

No.820913

>>820910

Did you even look at the references under "rust friends"

No.820996

File: 86ddb47b6eb05f4⋯.jpg (41.19 KB, 1280x720, 16:9, steve klabnik 9.jpg)

>>820874

>Rust syntax is so complex

You are just too retarded to understand abrilliant language. Maybe you should take a look at Go?

>the stdlib is so fucked up that writing a single line of code takes minutes

What?????? How is the std fucked up? How is the std at fault when you can't grok Rust's syntax?

>Plus they said they will never support shit like epoll so it's useless for sockets.

Bullshit. We never said that we will never add async io into the std. take a look at those projects:

https://crates.io/crates/mio

>Mio is a lightweight I/O library for Rust with a focus on adding as little overhead as possible over the OS abstractions.

https://tokio.rs/

>A platform for writing fast networking code with Rust.

No.821002

>>820030

>firefox

sudo apt-get install etherape

Enjoy the botnet.

Install icecat.

>rust

Is the volunteer paid to let these threads a thing ?

>820044

>needing parallelism to render text and images

>820045

You need to get back to your cult.

>>820118

>Let's Encrypt is great and all, but centralised cancer.

Can't say it isn't.

>Crypto-Decentralism is the future.

https://en.wikipedia.org/wiki/Enigform

>(Until some sort of DNS level encryption is developed.)

https://gnunet.org/gns

No.821025

>>820030

Just switched to FF 57, and it seems slower than current Waterfox release.

On the other hand, everything is slow as fuck for me now, maybe it's related to running laptop with removed battery, which could maybe limit peak CPU speed or something. So maybe it's not FF at fault.

No.821029

>>821002

>Is the volunteer paid to let these threads a thing ?

yes, all volunteers on 8ch are corrupt and get bribes for deleting some stuff and not deleting other stuff. /tech/ is not any different

No.821031

>>820996

Without coroutine support on language level, this stuff is cumbersome.

This is why everybody sticks with Python unless high speed byte crunching at application level is also needed.

Until Rust Stable doesn't have coroutines, it pretty much loses to Python in this regard.

No.821058

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

No.828197

bump X^D

No.829796

>>820030

RustBridge, their diversity program to AIDS and rape up the project, should be petitioned to onboard Nazis. After all, they want diversity.

No.829911

>>820044

They're trying to re-invent an OS and call it a web browser. Notice how they're doing a shit job of it? ..and just have found out about concurrency. What do you think?

Javascript was a mistake. The internet is more than the WWW. Web is not a suitable place for 1 billion different shit javascript UIs, crap video players, and unmanaged, unsigned code-injection delivery systems.

No.830974

https://twitter. com/clementd Another faggot leftist openly inciting violence on Shitter. Let's tell """him""" what we think, and then start using their language but not contributing anything back. Technological appropriation begins today.

No.834868

>>830974

>Start using their language

>Im totes one of you guys

No.834918

>>820108

This guy kind of reminds me of John Oliver.

No.834998

These days Rust is ever more Gay Bathhouse: The Language. I imagine you smoke cock everyday right OP?

No.835020

>>829911

The reason why you see this is because you're confused about web browsers. There is no web browser that's trying to re-invent the OS.

No.835033

>>834868

>>830974

>>834918

>>834998

>>835020

No.835051

>>835033

Who are you quoting?

No.835074

>>835051

Who are you fooling?

No.835111

>>835074

Don't answer a question with a question!

No.836708

File: 33989269bec519b⋯.jpg (247.08 KB, 1024x1056, 32:33, 275286846288e05e6706e20de2….jpg)

No.836774

>>835051

>>835074

>(((quoting)))