TechBrief — بروزترین اخبار تکنولوژی

TechBrief — تازه‌ترین اخبار فناوری

مرجع روزانه خلاصهٔ اخبار و تحلیل‌های کوتاه از منابع معتبر.

آخرین خبرها

PDP’s wireless guitar controller has returned to its best price to date

The early 2020s were kind of a dark time if you were a fan of Rock Band. PlayStation 5 and Xbox Series X owners didn’t get an improved, more feature-packed guitar controller until early 2024 when PDP launched the Riffmaster. While it launched for $129.99 and later rose to $149.99, you can now grab it […]

ICE Invades Airports Across the US

Agents from ICE are being deployed to over a dozen airports around the country, including New York, Atlanta, and Chicago.

Polymarket’s Coming-Out Party in Washington Was a Disaster

At the Polymarket pop-up in DC, attendees were supposed to be able to bet on geopolitical crises in real time with their friends. That didn’t happen.

Leonid Radvinsky, the owner of OnlyFans, has passed away

OnlyFans owner Leonid Radvinsky has passed away at the age of 43 after a battle with cancer. 

Is it a pint?

Article URL: https://isitapint.com/

Comments URL: https://news.ycombinator.com/item?id=47491496

Points: 67

# Comments: 62

Show HN: Threadprocs – executables sharing one address space (0-copy pointers)

This project launches multiple independent programs into a single shared virtual address space, while still behaving like separate processes (independent binaries, globals, and lifetimes). When threadprocs share their address space, pointers are valid across them with no code changes for well-behaved Linux binaries.

Unlike threads, each threadproc is a standalone and semi-isolated process. Unlike dlopen-based plugin systems, threadprocs run traditional executables with a `main()` function. Unlike POSIX processes, pointers remain valid across threadprocs because they share the same address space.

This means that idiomatic pointer-based data structures like `std::string` or `std::unordered_map` can be passed between threadprocs and accessed directly (with the usual data race considerations).

This accomplishes a programming model somewhere between pthreads and multi-process shared memory IPC.

The implementation relies on directing ASLR and virtual address layout at load time and implementing a user-space analogue of `exec()`, as well as careful manipulation of threadproc file descriptors, signals, etc. It is implemented entirely in unprivileged user space code: <https://github.com/jer-irl/threadprocs/blob/main/docs/02-imp...>.

There is a simple demo demonstrating “cross-threadproc” memory dereferencing at <https://github.com/jer-irl/threadprocs/tree/main?tab=readme-...>, including a high-level diagram.

This is relevant to systems of multiple processes with shared memory (often ring buffers or flat tables). These designs often require serialization or copying, and tend away from idiomatic C++ or Rust data structures. Pointer-based data structures cannot be passed directly.

There are significant limitations and edge cases, and it’s not clear this is a practical model, but the project explores a way to relax traditional process memory boundaries while still structuring a system as independently launched components.


Comments URL: https://news.ycombinator.com/item?id=47491414

Points: 22

# Comments: 13

Startup Gimlet Labs is solving the AI inference bottleneck in a surprisingly elegant way

Gimlet Labs just raised an $80 million Series A for tech that lets AI run across NVIDIA, AMD, Intel, ARM, Cerebras and d-Matrix chips, simultaneously.

Littlebird raises $11M for its AI-assisted ‘recall’ tool that reads your computer screen

Littlebird is building an AI that reads your screen in real time to capture context, answer questions, and automate tasks, without relying on screenshots.

Some writing advice from Project Hail Mary’s Andy Weir

Andy Weir has done pretty well when it comes to adaptations. His first novel, The Martian, was turned into a movie in 2015, and the Ridley Scott-directed picture earned more than $600 million at the box office. And Project Hail Mary just had a huge opening weekend that puts it on track to be one […]

Grab to buy Foodpanda Taiwan from Delivery Hero for $600 million

Grab will acquire Delivery Hero’s Foodpanda business in Taiwan for $600 million, expanding beyond Southeast Asia and setting up a closer challenge to Uber Eats in a tightly contested market.

دسته‌بندی‌ها

معمولی: گجت‌ها، نرم‌افزار، امنیت، AI، استارتاپ