You are not logged in.

#1 2021-02-18 18:11:45

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

New rusttls backend for curl

https://www.abetterinternet.org/post/memory-safe-curl/

Curl has got a new backend for TLS written in rust.  Apparently we can stick with the C-based backend with a configuration option, which we might need to do, if the upstream project doesn't take this route. Or perhqps rust isn't such problem any more, and we can make use of the newer backend.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#2 2021-02-18 18:44:20

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 985
Website

Re: New rusttls backend for curl

If we get whole Linux rewritten in Rust, we might end up mainly in a build slave problem, as Rust is much much more powrehungry than C or C++.
Otherwise we must bootstrap i486 Rust then, really, that's the only issue in the immanent future..

Offline

#3 2021-02-19 09:07:12

deep42thought
Administrator
From: Jena, Germany
Registered: 2017-06-17
Posts: 617

Re: New rusttls backend for curl

as nice, as it sounds to have memory-safe rustish backends in curl, as bad is it for all other backends, because they'll be less thoroughly tested ...

Offline

#4 2021-02-19 15:48:33

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: New rusttls backend for curl

It seems slightly surprising to me the the C backend reportedly had so many corner cases that end up in undefined behaviour.  I'm a fairly heavy user of curl directly, using it at least 100 times a week, and I've never seen it go weird on me.

But if we can get i486 rust bootstrapped, and that's all of the rusts up to date then we can use the perhaps mainstream backend (unless everyone sticks with the C backend).


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

Board footer

Powered by FluxBB