Загрузка видео...

Не удалось загрузить видео

На главную

Working on putting Ladybird networking on top of curl (cc daniel:// stenberg://) 🐞🥌 Massive speed-up compared to our old HTTPS stack (that we built from scratch for SerenityOS). Uncached load of my For You page goes from 38 sec to 8 sec! 🤓🚀

33,235 просмотров • 1 год назад •via X (Twitter)

Комментарии: 10

Фото профиля Anders Skarby
Anders Skarby1 год назад

@ladybirdbrowser @bagder I don't know why, but I always thought that cURL was a CLI tool only, never to be used as an API?

Фото профиля Andreas Kling
Andreas Kling1 год назад

@ladybirdbrowser @bagder Then it's my pleasure to introduce you to libcurl!

Фото профиля Quentin
Quentin1 год назад

@ladybirdbrowser @bagder Where the main performance drawbacks of your homegrown stack come from ?

Фото профиля Andreas Kling
Andreas Kling1 год назад

@Quentindeve_ @ladybirdbrowser @bagder As I understand it: - Unoptimized crypto - Code isn't async or parallel enough to saturate the sockets - HTTP1 only There may be other contributing factors as well.

Фото профиля Charles Dong
Charles Dong1 год назад

@ladybirdbrowser @bagder Standing on the shoulders of giants 😀

Фото профиля underthreaded
underthreaded1 год назад

@bagder @ladybirdbrowser Love this. How many lines of code you no longer need to maintain or worry about?

Фото профиля Andreas Kling
Andreas Kling1 год назад

@bagder @ladybirdbrowser Haven't been able to delete all of it yet, since we still have other components (Web Sockets, Web Crypto, ...) that depend on various HTTP & crypto data structures. So far I've removed ~5'000 lines. There's maybe another ~20'000 to remove.

Фото профиля Fabian Dellwing
Fabian Dellwing1 год назад

@ladybirdbrowser @bagder This will solve a lot of our HTTPS related problems!

Фото профиля Maarten
Maarten1 год назад

@ladybirdbrowser @bagder Isn't the goal of ladybird to implement all net protocols/standards itself?

Фото профиля Thiago
Thiago1 год назад

@ladybirdbrowser @bagder That's awesome. Using something that has years of optimisation is a smart move

Похожие видео