frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Linux kernel framework for PCIe device emulation, in userspace

https://github.com/cakehonolulu/pciem
63•71bw•4h ago

Comments

tiernano•2h ago
Hmmm.... Wondering if this could be eventually used to emulate a PCIe card using another device, like a RaspberryPi or something more powerful... Thinking the idea of a card you could stick in a machine, anything from a 1x to 16x slot, that emulates a network card (you could run VPN or other stuff on the card and offload it from the host) or storage (running something with enough power to run ZFS and a few disks, and show to the host as a single disk, allowing ZFS on devices that would not support it). but this is probably not something easy...
xerxes901•1h ago
Something like the stm32mp2 series of MCUs can run Linux and act as a PCIe endpoint you can control from a kernel module on the MCU. So you can program an arbitrary PCIe device that way (although it won’t be setting any speed records, and I think the PHY might be limited to PCIe 1x)
tiernano•1h ago
interesting... x1 would too slow for large amounts of storage, but as a test, a couple small SSDs could potentially be workable... sounds like im doing some digging...
hsbauauvhabzb•1h ago
… or pcie over ethernet ;)
pjc50•1h ago
> emulate a PCIe card using another device

The other existing solution to this is FPGA cards: https://www.fpgadeveloper.com/list-of-fpga-dev-boards-for-pc... - note the wide spread in price. You then also have to deal with FPGA tooling. The benefit is much better timing.

Surac•1h ago
that is a huge win if you are developing drivers or even real hardware. it allows to iterate on protokols just with the press of a button
throwaway132448•1h ago
Tangential question: PCIe is a pretty future-proof technology to learn/invest in, right? As in, it is very unlikely to become obsolete in the next 5-10 years (like USB)?
neocron•1h ago
Might as well be replaced by optical connectors next years, but who knows in advance. Currently there is no competition
tiernano•1h ago
even though it would be optical, it still is using PCIe protocols in the background...
embedding-shape•18m ago
How could you possibly know exactly what protocol they'd be using for the potential future optical PCIe connection? Your guess is as good as anyone's, no?
pjc50•1h ago
Neither of those is going to be obsolete in 5 years. Might get rebadged and a bunch of extensions, but there's such a huge install base that rapid change is unlikely. Neither Firewire nor Thunderbolt unseated USB.
formerly_proven•38m ago
USB4 is the ~third USB protocol stack though (USB1/2 being basically the same iirc, USB3 being a completely separate protocol that neither logically nor physically interacts with USB1/2 at all), heavily based on Thunderbolt to the point of backwards compatibility.
checker659•1h ago
Curious what you mean by learning? Learning about TLPs? Learning about FPGA DMA Engines like XDMA? Learning about PCIe switches / retimers? Learning about `lspci`?
zozbot234•17m ago
inb4 Linux kernel is getting every feature from plan9 and turning into a proper microkernel OS. It's finally no longer "obsolete"!

Linux kernel framework for PCIe device emulation, in userspace

https://github.com/cakehonolulu/pciem
63•71bw•4h ago•14 comments

Level S4 solar radiation event

https://www.swpc.noaa.gov/news/g4-severe-geomagnetic-storm-levels-reached-19-jan-2026
467•WorldPeas•15h ago•157 comments

Increasing the performance of WebAssembly Text Format parser by 350%

https://blog.gplane.win/posts/improve-wat-parser-perf.html
35•gplane•5d ago•18 comments

The Overcomplexity of the Shadcn Radio Button

https://paulmakeswebsites.com/writing/shadcn-radio-button/
313•dbushell•4h ago•151 comments

King – man + woman is queen; but why? (2017)

https://p.migdal.pl/blog/2017/01/king-man-woman-queen-why/
30•CGMthrowaway•4d ago•27 comments

String theory can now describe a universe that has dark energy?

https://www.quantamagazine.org/string-theory-can-now-describe-a-universe-that-has-dark-energy-202...
29•nsoonhui•1h ago•13 comments

Reticulum, a secure and anonymous mesh networking stack

https://github.com/markqvist/Reticulum
230•brogu•12h ago•47 comments

x86 prefixes and escape opcodes flowchart

https://soc.me/interfaces/x86-prefixes-and-escape-opcodes-flowchart.html
71•gaul•8h ago•20 comments

Apple testing new App Store design that blurs the line between ads and results

https://9to5mac.com/2026/01/16/iphone-apple-app-store-search-results-ads-new-design/
414•ksec•19h ago•328 comments

What came first: the CNAME or the A record?

https://blog.cloudflare.com/cname-a-record-order-dns-standards/
381•linolevan•18h ago•133 comments

Nanolang: A tiny experimental language designed to be targeted by coding LLMs

https://github.com/jordanhubbard/nanolang
167•Scramblejams•14h ago•125 comments

Scaling long-running autonomous coding

https://simonwillison.net/2026/Jan/19/scaling-long-running-autonomous-coding/
110•srameshc•11h ago•42 comments

The coming industrialisation of exploit generation with LLMs

https://sean.heelan.io/2026/01/18/on-the-coming-industrialisation-of-exploit-generation-with-llms/
161•long•1d ago•114 comments

Notes on Apple's Nano Texture (2025)

https://jon.bo/posts/nano-texture/
196•dsr12•17h ago•106 comments

Giving university exams in the age of chatbots

https://ploum.net/2026-01-19-exam-with-chatbots.html
112•ploum•4h ago•75 comments

3D printing my laptop ergonomic setup

https://www.ntietz.com/blog/3d-printing-my-laptop-ergonomic-setup/
80•kurinikku•12h ago•18 comments

Kahan on the 8087 and designing Intel's floating point (2016) [video]

https://www.youtube.com/watch?v=L-QVgbdt_qg
31•bananaboy•5d ago•0 comments

Nova Launcher added Facebook and Google Ads tracking

https://lemdro.id/post/lemdro.id/35049920
274•celsoazevedo•10h ago•117 comments

British redcoat's lost memoir reveals realities of life as a disabled veteran

https://phys.org/news/2026-01-british-redcoat-lost-memoir-reveals.html
91•wglb•4d ago•86 comments

Prediction markets are ushering in a world in which news becomes about gambling

https://www.theatlantic.com/technology/2026/01/america-polymarket-disaster/685662/
306•krustyburger•1d ago•316 comments

Porsche sold more electrified cars in Europe in 2025 than pure gas-powered cars

https://newsroom.porsche.com/en/2026/company/porsche-deliveries-2025-41516.html
337•m463•10h ago•415 comments

Understanding ZFS Scrubs and Data Integrity

https://klarasystems.com/articles/understanding-zfs-scrubs-and-data-integrity/
56•zdw•5d ago•27 comments

The assistant axis: situating and stabilizing the character of LLMs

https://www.anthropic.com/research/assistant-axis
100•mfiguiere•14h ago•14 comments

Show HN: Artificial Ivy in the Browser

https://da.nmcardle.com/grow
77•dnmc•8h ago•13 comments

The microstructure of wealth transfer in prediction markets

https://www.jbecker.dev/research/prediction-market-microstructure
165•jonbecker•19h ago•150 comments

Targeted Bets: An alternative approach to the job hunt

https://www.seanmuirhead.com/blog/targeted-bets
72•seany62•14h ago•70 comments

From Nevada to Kansas by Glider

https://www.weglide.org/flight/978820
151•sammelaugust•4d ago•48 comments

The Antarctic Snow Cruiser

https://www.amusingplanet.com/2026/01/the-antarctic-snow-cruiser.html
10•terryf•3d ago•1 comments

Face as a QR Code

https://bookofjoe2.blogspot.com/2025/12/your-face-as-qr-code.html
28•surprisetalk•3d ago•6 comments

I set all 376 Vim options and I'm still a fool

https://evanhahn.com/i-set-all-376-vim-options-and-im-still-a-fool/
140•todsacerdoti•3d ago•85 comments