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.
OnlyFans owner Leonid Radvinsky has passed away at the age of 43 after a battle with cancer.
Amazon’s Prime Day sale may arrive earlier than usual this year, but there’s a deal event happening much sooner: Amazon’s annual Big Spring Sale, which is happening March 25th through the 31st. While it won’t be as big as Prime Day or Black Friday, it does offer you a chance to save money at a […]
Article URL: https://isitapint.com/
Comments URL: https://news.ycombinator.com/item?id=47491496
Points: 37
# Comments: 29
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: 12
# Comments: 2
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 is building an AI that reads your screen in real time to capture context, answer questions, and automate tasks, without relying on screenshots.
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 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.
Despite the fact that Apple released a new AirTag in January, the first-gen AirTag is still a top-notch tracker if you’re embedded in Apple’s ecosystem. And right now, it’s on sale for $59.99 ($40 off) at Amazon, Walmart, and Best Buy, which marks a new low price. If you’re an iPhone owner, the original AirTag […]
In-wheel motors have been around since the very beginning of electric motoring. Ferdinand Porsche developed one way back in 1900, and the US sent them to the moon in our Lunar Roving Vehicles in the early '70s. But, outside of e-bikes, they've never really gone mainstream. It looked like Lordstown Motors would be their time […]