HN user

jhalstead

320 karma
Posts10
Comments67
View on HN
IrfanView 2 years ago

Do you have a link for Ditto? Searching for "Ditto app" and "Ditto software" returns several possible results for me (e.g. clipboard, music app, managing "copy", content sharing).

[0] for those interested in Highway.

It's also mentioned in [1], which starts off

Today we're sharing open source code that can sort arrays of numbers about ten times as fast as the C++ std::sort, and outperforms state of the art architecture-specific algorithms, while being portable across all modern CPU architectures. Below we discuss how we achieved this.

[0] https://github.com/google/highway

[1] https://opensource.googleblog.com/2022/06/Vectorized%20and%2..., which has an associated paper at https://arxiv.org/pdf/2205.05982.pdf.

FWIW, the Use Cases section presents data about the impact in mobile and laptop environments:

On Android, our most advanced simulation that generates memory pressure from realistic user behavior shows 18% fewer low-memory kills, which in turn reduces cold starts by 16%.

...

On Chrome OS, our field telemetry reports 96% fewer low-memory tab discards and 59% fewer OOM kills from fully-utilized devices and no UX regressions from underutilized devices.

About Musl 6 years ago

And for mobile readers ;)

# libc6-compat needed by outdated grpc-tools

# we get

# sh: node_modules/grpc-tools/bin/protoc: not found

# can be removed if we remove grpc-tools and assume an existing protoc for dev

# i.e. developers would independently intall protoc in order to generate

# grpc-web

# we install separate from the packages above to avoid a failure noticed on

# 2019-11-01

# apk update && apk add protobuf grpc gcompat libc6-compat

# ERROR: unsatisfiable constraints: # musl-1.1.20-r4:

# breaks: libc6-compat-1.1.24-r0[musl=1.1.24-r0]

# satisfies: musl-utils-1.1.20-r4[musl=1.1.20-r4]

#RUN apk add libc6-compat

Seems like Facebook uses it:

"Btrfs has played a role in increasing efficiency and resource utilization in Facebook’s data centers in a number of different applications. Recently, Btrfs helped eliminate priority inversions caused by the journaling behavior of the previous filesystem, when used for I/O control with cgroup2 (described below). Btrfs is the only filesystem implementation that currently works with resource isolation, and it’s now deployed on millions of servers, driving significant efficiency gains."

https://engineering.fb.com/open-source/linux/