frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

RTK – query your Rust codebase and make bindings anywhere

https://github.com/reachingforthejack/rtk
1•reaching4jack•5h ago

Comments

reaching4jack•5h ago
Hello HN!

As a long-time professional Rust developer. I've always been frustrated by the difficulty and "hackiness" of producing bindings to other languages, whether a frontend, an FFI library, etc.

Not just in Rust but in any language.

After many years of trying existing solutions and trying to make my own, I've finally developed a solution I'm very happy with.

RTK (aka Rust Type Kit) allows you to write Lua scripts that perform queries on your code, such as method calls to Axum's `.route`, function definitions, and more, and then receive rich type information including all argument types, function paths, proc macro attributes, and more.

Your Lua script can then read this information and emit an output file in any language of your choosing. Or, you can emit compiler errors and use it as a linter of sorts. You can even directly re-emit Rust code itself and use this as a richer proc macro solution!

The code example is a bit verbose, so I encourage you to take a look at the repo's README. I look forward to hearing your thoughts, or any usecases you may come up with!

A Practical Mid-Side Decoder Circuit

https://paia.com/msdecwork/
1•brudgers•22s ago•0 comments

The Problem with Video Essays [video]

https://www.youtube.com/watch?v=IsiKUsrqFkc
1•Kye•38s ago•1 comments

Stop Killing Games

https://www.stopkillinggames.com/
1•bitbasher•1m ago•0 comments

These Funds Are Yield Magicians. How Do They Do It?

https://www.wsj.com/finance/investing/these-funds-are-yield-magicians-how-do-they-do-it-ea63151a
1•kamaraju•2m ago•0 comments

Australia's TGA interim report: move supplements high in B6 to secure shelves

https://www.abc.net.au/news/2025-06-28/tga-takes-action-over-b6-toxicity/105470210
1•ggm-at-algebras•4m ago•0 comments

Genesis Modular Electronics Platform

https://axiometa.ai/genesis/
1•sohkamyung•5m ago•0 comments

The heart of software engineering still beats

https://annievella.com/posts/the-heart-of-software-engineering-still-beats/
1•brunooliv•6m ago•0 comments

Chickoban: A Sokoban Clone

https://github.com/aabiji/chickoban
1•aabiji•7m ago•1 comments

Chat with your Google Analytics data for free

https://userpath.co/chat
1•stewones•10m ago•0 comments

The Ten Commandments for Using Hand Tools

https://roberthoward.com.au/the-ten-commandments-for-using-hand-tools/
2•s4074433•12m ago•1 comments

Is your gut microbiome a calorie 'super harvester'?

https://phys.org/news/2025-06-gut-microbiome-calorie-super-harvester.html
2•PaulHoule•16m ago•0 comments

Authorship for sale: Nature investigates how paper mills work

https://www.nature.com/articles/d41586-025-01824-3
1•hilux•17m ago•0 comments

Neuralink Update, Summer 2025

https://twitter.com/elonmusk/status/1938671214119285223
1•kodisha•18m ago•0 comments

Ask HN: Documenting the behavior of Microsoft of destroying true sleep

1•tryauuum•18m ago•0 comments

We Built a 20TB Multilingual Dataset Spanning the Internet

https://arxiv.org/abs/2506.20920
2•hynky•22m ago•0 comments

Cooling Chips with Lasers

https://www.tomshardware.com/tech-industry/cooling-chips-with-lasers-innovative-cooling-method-removes-heat-precisely-from-hot-spots-recycles-heat-into-energy
1•kristianp•23m ago•0 comments

Ask HN: How to grow and monetize a newsletter of 1K users?

1•CoreSet•25m ago•0 comments

The Invisible City of Tehran

https://www.theatlantic.com/international/archive/2025/06/tehran-invisible-city/683335/
3•bookofjoe•28m ago•1 comments

Alternate histories of computing (2018) [video]

https://archive.fosdem.org/2018/schedule/event/alternative_histories/
1•todsacerdoti•29m ago•0 comments

I Program C [video]

https://www.youtube.com/watch?v=443UNeGrFoM
2•ykonstant•29m ago•0 comments

C10k Problem

https://en.wikipedia.org/wiki/C10k_problem
1•vishnuharidas•30m ago•0 comments

Difficult to understand GNOME hamburger menu philosophy (2024)

https://old.reddit.com/r/linux/comments/1bbqvfk/difficult_to_understand_gnome_hamburger_menu/
2•kristianp•31m ago•0 comments

Apple's Swift coding language is working on Android support

https://9to5google.com/2025/06/26/swift-coding-language-android-support/
1•janandonly•33m ago•0 comments

Swift by Apple Is Coming to Android

https://www.indiatoday.in/technology/news/story/swift-by-apple-is-coming-to-android-for-the-first-time-2747077-2025-06-27
1•janandonly•35m ago•0 comments

China auto industry inflates sales by exporting new cars as 'used'

https://www.reuters.com/business/autos-transportation/local-chinese-governments-promote-zero-mileage-used-car-exports-inflating-sales-2025-06-23/
2•jocker12•36m ago•1 comments

Paul Graham as your personal AI Advisor

https://paulgraham.resurrect.space/
2•vednig•36m ago•1 comments

Ask HN: Why do LLMs call Trump "former president" despite current knowledge?

2•ahmedfromtunis•40m ago•2 comments

Show HN: LLMs playing poker against each other

https://llm-poker-theta.vercel.app/
1•iJohnPaul•41m ago•0 comments

Show HN: USB Connection Info – Mac Menu Bar App to Avoid Cable Confusion

https://apps.apple.com/us/app/usb-connection-information/id6747853674?mt=12
1•tTarnMhrkm•42m ago•0 comments

Show HN: Learn 100 Frequent Japanese Phrases

https://japanesecomplete.com/jpc-mini-phrases.html
1•jpcom•42m ago•0 comments