frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

AI may soon change what it means to be a theoretical physicist

https://arstechnica.com/ai/2026/11/ai-can-do-the-calculations-physicists-are-figuring-out-what-co...
1•AliCollins•1m ago•0 comments

A Collision for 38-Step SHA-256

https://eprint.iacr.org/2026/2913
1•jonbaer•1m ago•0 comments

Tell HN: Happy Thanksgiving

1•jason_zig•1m ago•0 comments

Underrated reasons to be thankful VI

https://dynomight.substack.com/p/thanks-6
1•crescit_eundo•1m ago•0 comments

Meta Refused to Share Muse for Testing, UK Financial Watchdog Complains

https://www.wired.com/story/meta-refused-to-share-muse-for-testing-uk-financial-watchdog-complains/
1•Brajeshwar•1m ago•0 comments

Show HN: Nullify 68M, local PII detection trained on a MacBook Air

https://huggingface.co/rbsriram/nullify-68m
1•srb-85•2m ago•0 comments

AI Agencies Are Coming

https://podnews.app/clip/YqUf6mH_nAk/0
1•nsemikey•4m ago•0 comments

Sully – everyone gets their own assistant, the assistants deal with each other

https://sullysuite.com/demo
1•mdandml•6m ago•0 comments

Google's Gmail MCP Prompts Don't Stop Agents with Shell Access

https://www.suncly.com/research/gmail-mcp-prompts
1•roccoliiva•9m ago•0 comments

Show HN: Slate, a C to Rust Transpiler for multiple targets

https://github.com/takashiidobe/slate
2•idobe•9m ago•0 comments

The Hacker Who Hunts Predators [video]

https://www.youtube.com/watch?v=Uj81Qo15wBc
1•Bender•11m ago•0 comments

Evolving Dark Energy Is Vacuum Energy After All

https://iopscience.iop.org/article/10.3847/1538-4357/aeb9cc
1•Noaidi•12m ago•0 comments

Optimizing Rustc's next trait solver

https://donsz.nl/blog/optimizing-rustcs-next-trait-solver
2•birdculture•14m ago•0 comments

Exponential Quantum Advantage officially disappears

https://twitter.com/temporalparts/status/2125955036735775136
2•temporalparts•14m ago•0 comments

Celebrating AES 25 Years

https://www.assured.se/posts/aes-25-years
1•JoachimS•15m ago•0 comments

Anthropic Just Killed 1k Startups – Everything You Need to Know [video]

https://www.youtube.com/watch?v=0A3OMo4radM
1•mistersquid•16m ago•0 comments

Bao – A Desktop Pet for Claude

1•suhailparad•17m ago•0 comments

Semantic search for what people are building

https://startups.novumsignals.com/scout
1•walterschnitzel•19m ago•0 comments

A Closer Look at Claude's Mac "Apps"

https://www.macstories.net/stories/a-closer-look-at-claudes-mac-apps/
2•mistersquid•21m ago•0 comments

LLM Position Bias: Does Naming an Option First Change an AI's Answer?

https://techstackups.com/articles/llm-position-bias/
2•ritzaco•21m ago•0 comments

Let Me Give You Worms

https://untested.sonnet.io/notes/let-me-give-you-worms/
1•rpastuszak•23m ago•0 comments

Global Hiring Expert

1•ridhamstaffing•24m ago•0 comments

Andy Taylor, Duran Duran's 'Live-Wire' Guitarist, Dies at 65

https://www.nytimes.com/2026/11/25/arts/music/andy-taylor-duran-duran-dead.html
1•bookofjoe•24m ago•2 comments

Publishers investigate studies claiming to predict blood type from fingerprints

https://retractionwatch.com/2026/11/23/two-publishers-investigating-studies-claiming-to-predict-b...
1•ryankung•24m ago•1 comments

Signals

https://www.quarter--mile.com/Signals
2•surprisetalk•24m ago•0 comments

Meetings with Names

https://meetalias.com/
1•taubek•26m ago•0 comments

Bitcoin Hashrate Hijacking Detected on Stratum V1

https://braiins.com/blog/bitcoin-hashrate-hijacking-unencrypted-stratum-v1
1•torutofu•28m ago•0 comments

How do human and AI book translation differ, and what makes readers like both?

https://transept.ai/journal/how-human-and-ai-translation-differ
1•sithamet•28m ago•0 comments

Show HN: I spent 10 years traveling and built a travel blog out of the data

https://steve.ly/travels
2•stevelacey•29m ago•0 comments

MuditaOS K 2.0

https://mudita.com/community/blog/muditaos-k-2-0-is-here-minimalist-on-your-terms/
1•pentagrama•30m ago•0 comments
Open in hackernews

Show HN: Slate, a C to Rust Transpiler for multiple targets

https://github.com/takashiidobe/slate
2•idobe•9m ago
Hey HN, For the past half year I've been working on Slate, my C to Rust transpiler. Slate parses C code as gcc/clang/msvc would, and then translates code to rust. The best supported "flavor" as I call them is clang, with clang flavor I've been able to translate the Linux kernel (built for x86_64 defconfig) and booted the built vmlinux to a busybox shell. Code is here: https://github.com/takashiidobe/slate-linux. Same for projects like Cpython: https://github.com/takashiidobe/slate-python, and SQLite: https://github.com/takashiidobe/slate-sqlite. For an example of a multi-target build, I translated zlib to all targets slate supports with 9 features: https://github.com/takashiidobe/slate-zlib.

Since the entire stack is written in Rust, I compiled to wasm and have a fully client side compiler-explorer esque demo as well: https://slate.takashiidobe.com/.

I wanted slate to be easy to use, and also emit code that a dev would want to maintain. It's one binary (cargo +nightly install slate-c2rust --locked), and comes with a subcommand to set up sysroots (for cross-target builds). Instead of supporting only the clang ecosystem (as many existing transpilers do), I wrote my own C parser stack so I can emulate the three major C compilers for multiple targets, and do things like keep comments, do rewrites based on where functions/macros/definitions come from with header tracking, and also handle flags differently based on compiler. There are currently a couple dozen rewrites, like removing muts, lifting pointers to higher level types, solving gotos, improving inline asm, etc,

Slate aims to support all of modern C, including compiler extensions, like all builtins, intrinsics, inline asm for the three major compilers, and flags. Target support (for now) for x86_64, aarch64, i686, arm32, on linux, windows, mac. Of course this is a gargantuan task but I'm chipping away little by little.

Regressions and testing are a big deal for me trying to scale up the project. I have thousands of tests that run per commit, and do oracle and snapshot testing (with filecheck), so every rust binary translated has to have the same exit code as the oracle (C translated by clang, gcc, msvc w/ wine). That gives me confidence that I'm neither worsening codegen nor breaking any past code as I add new functionality. At this point I have over a million lines of tests, and I'm trying to catch more cases day by day.

Hope you try it out!