为什么我讨厌 WebKit,一封(非)情书

Do you recognise the following page?

你认出下面的页面吗?

Can I use screenshot

caniuse.com

caniuse.com

If you do, it means that at some point in your life, something did not work in a browser. There is an 80% chance, based on a quick Fermi estimate, that the browser was Safari (WebKit).

如果你有这样的经历,那就意味着在你生命中的某个时刻,浏览器中有些东西没有正常工作。根据快速的Fermi estimate,有 80% 的几率,那个浏览器是 Safari (WebKit)。

In this post, I will explain, based on my own experience, why I hate WebKit and the problems we keep hitting while building Hopp.

在本文中,我将基于自己的经验解释为什么我讨厌 WebKit,以及我们在构建 Hopp 时不断遇到的这些问题。

At the end, I will explain why we are committed to building the screensharing UI inside Hopp's app in Rust, without being Rust-pilled. 🦀

最后,我将解释为什么我们致力于在 Hopp 的应用中使用 Rust 构建屏幕共享 UI,而不被 Rust-pilled。 🦀

History#

历史#

A brief history of how we got here. Early in our journey, we had to decide how to build Hopp.

我们是如何走到这一步的简要历史。在我们的旅程早期,我们必须决定如何构建 Hopp。

Electron vs Tauri decision

How we felt choosing a framework

我们选择框架时的感受

We did some research, wrote an article comparing Electron vs Tauri, and decided to go with Tauri.

我们做了一些研究,写了一篇比较 Electron vs Tauri 的文章,并决定使用 Tauri。

The reason to use a framework in the first place was to support all major platforms faster: macOS first, then Windows, and then Linux.

最初使用框架的原因是为了更快地支持所有主要平台:macOS 优先,然后是 Windows,然后是 Linux。

Naive at that point, we saw that Tauri was lighter, and that's what we needed, not another Electron app (which at this point is more of a meme).

当时天真地,我们看到 Tauri 更轻量,这正是我们需要的,而不是另一个 Electron 应用(此时它更像是一个 meme)。

Electron meme

Source: https://www.reddit.com/r/ProgrammerHumor/comments/7ex7t9

来源: https://www.reddit.com/r/ProgrammerHumor/comments/7ex7t9

Little did we know the issues we were going to face as the product matured and we needed to support more features. Let's break down the WebKit issues we faced and still face.

我们当时并不知道,随着产品成熟并需要支持更多功能,我们将面临的问题。让我们分解一下我们曾经面临且仍在面临的 WebKit 问题。

Last point before I give you my list of pain-points, I want to provide context of what Hopp is.

在给出我的痛点列表之前,最后一点,我想提供一下 Hopp 是什么的背景。

Hopp is a remote pair programming app, built for super low-latency screenshar...

开通本站会员,查看完整译文。

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.148.4. UTC+08:00, 2026-01-24 19:36
浙ICP备14020137号-1 $お客様$