Hacker News new | ask | show | jobs
by semi-extrinsic 4054 days ago
There's a lot of the "write X% in slowlang and (100-X)% in fastlang" thrown around, but I have to say, I've not seen too many such projects around.
3 comments

Actually, in the CHICKEN Scheme community, this is done quite often, though you don't see it nearly as much because of how transparent it ends up being. Mostly stuff is written in Scheme / R5RS when possible, and C bindings to a faster library or implementation are exported using the bind egg when speed is of critical importance.

This is obviously not the norm, as the bind egg is very good, but it's definitely out there. Makes me wish that there were other languages which offered something similar to bind, but alas CHICKEN is the only one I know of thus far.

Skylight.io is one of the first production applications using Rust, and is exactly this.
IMO most python works this way in reality. For example the yaml module is calling out to libyaml and most heavy lifting modules are the same.