frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Garbage Collection Without Unsafe Code

https://fitzgen.com/2024/02/06/safe-gc.html
21•foota•3d ago

Comments

foota•1h ago
I found this while looking for a solution for more easily removing some unsafe code from a library that does a lot of C FFI. I didn't end up going with it though, for now I'm taking an approach of mapping valid pointers that I return to the caller and then validating that pointers passed to my library functions are in that valid mapping (and then also using that valid mapping to contain some additional information that doesn't fit in the ABI of the structs that the pointers are for that I use to safely do validation. So e.g., I can store the range of some other valid member pointers as a normal safe rust reference and then index into it with member pointers on the struct, completely avoiding unsafe code despite having this FFI boundary (obviously the FFI boundary itself is still unsafe, but I can take this ugly C struct with a bunch of raw pointers and handle it safely)).

Making RAM at Home [video]

https://www.youtube.com/watch?v=h6GWikWlAQA
236•kaipereira•1d ago•50 comments

XOR'ing a register with itself is the idiom for zeroing it out. Why not sub?

https://devblogs.microsoft.com/oldnewthing/20260421-00/?p=112247
20•ingve•1h ago•2 comments

ChatGPT Images 2.0

https://openai.com/index/introducing-chatgpt-images-2-0/
740•wahnfrieden•12h ago•562 comments

Acetaminophen vs. ibuprofen

https://asteriskmag.com/issues/14/the-mystery-in-the-medicine-cabinet
296•nkurz•1d ago•158 comments

Diverse organic molecules on Mars revealed by the first SAM TMAH experiment

https://www.courthousenews.com/preserved-for-billions-of-years-organic-compounds-found-on-mars/
61•geox•21h ago•2 comments

Laws of Software Engineering

https://lawsofsoftwareengineering.com
950•milanm081•20h ago•454 comments

SpaceX says it has agreement to acquire Cursor for $60B

https://twitter.com/spacex/status/2046713419978453374
535•dmarcos•9h ago•647 comments

Garbage Collection Without Unsafe Code

https://fitzgen.com/2024/02/06/safe-gc.html
21•foota•3d ago•1 comments

The Vercel breach: OAuth attack exposes risk in platform environment variables

https://www.trendmicro.com/en_us/research/26/d/vercel-breach-oauth-supply-chain.html
304•queenelvis•14h ago•109 comments

Windows Server 2025 Runs Better on ARM

https://jasoneckert.github.io/myblog/server-2025-arm64/
110•jasoneckert•3d ago•86 comments

Britannica11.org – a structured edition of the 1911 Encyclopædia Britannica

https://britannica11.org/
272•ahaspel•14h ago•98 comments

Contact Lens Uses Microfluidics to Monitor and Treat Glaucoma

https://spectrum.ieee.org/smart-contact-lens-glaucoma-microfluidics
7•pseudolus•2d ago•0 comments

Drunk post: Things I've learned as a senior engineer (2021)

https://luminousmen.substack.com/p/drunk-post-things-ive-learned-as
124•zdw•7h ago•80 comments

Stephen's Sausage Roll remains one of the most influential puzzle games

https://thinkygames.com/features/10-years-of-grilling-stephens-sausage-roll-remains-one-of-the-mo...
182•tobr•3d ago•89 comments

Meta to start capturing employee mouse movements, keystrokes for AI training

https://www.reuters.com/sustainability/boards-policy-regulation/meta-start-capturing-employee-mou...
494•dlx•13h ago•371 comments

Changes to GitHub Copilot individual plans

https://github.blog/news-insights/company-news/changes-to-github-copilot-individual-plans/
415•zorrn•1d ago•163 comments

Fusion Power Plant Simulator

https://www.fusionenergybase.com/fusion-power-plant-simulator
146•sam•17h ago•95 comments

Framework Laptop 13 Pro

https://frame.work/laptop13pro
1184•Trollmann•13h ago•598 comments

Cal.diy: open-source community edition of cal.com

https://github.com/calcom/cal.diy
188•petecooper•13h ago•51 comments

CrabTrap: An LLM-as-a-judge HTTP proxy to secure agents in production

https://www.brex.com/crabtrap
110•pedrofranceschi•16h ago•36 comments

A printing press for biological data

https://www.owlposting.com/p/the-printing-press-for-biological
23•crescit_eundo•1d ago•0 comments

Edit store price tags using Flipper Zero

https://github.com/i12bp8/TagTinker
329•trueduke•2d ago•302 comments

Kuri – Zig based agent-browser alternative

https://github.com/justrach/kuri
17•sorcercode•5h ago•2 comments

Hunting a 34 year old pointer bug in EtherSlip

https://www.brutman.com/Adventures_In_Code/EtherSlip_ARP/EtherSlip_ARP.html
26•mbbrutman•2d ago•4 comments

FBI looks into dead or missing scientists tied to NASA, Blue Origin, SpaceX

https://fortune.com/2026/04/21/scientists-disappear-die-nasa-space-blue-origin-spacex/
120•ineedasername•4h ago•49 comments

Some secret management belongs in your HTTP proxy

https://blog.exe.dev/http-proxy-secrets
18•tosh•2d ago•3 comments

Claude Code to be removed from Anthropic's Pro plan?

https://bsky.app/profile/edzitron.com/post/3mjzxwfx3qs2a
522•JamesMcMinn•10h ago•500 comments

Running a Minecraft Server and more on a 1960s UNIVAC Computer

https://farlow.dev/2026/04/17/running-a-minecraft-server-and-more-on-a-1960s-univac-computer
214•brilee•3d ago•36 comments

Show HN: VidStudio, a browser based video editor that doesn't upload your files

https://vidstudio.app/video-editor
269•kolx•19h ago•86 comments

20000 Gates and 20 MIPS [pdf]

https://bitsavers.org/pdf/amdahl/history/20000_Gates_and_20_MIPS_199011.pdf
8•ingve•3d ago•3 comments