I guess another option MIGHT be to compile the C++ library to WASM with emscripten. Thatβs not a very easy solution and will have a performance hit but might be a reasonable tradeoff depending on the circumstance.
@ianwwagner.com
Explorer of π. Originally from the east coast πΊπΈ. πͺπͺ e-Resident. Living in π°π·. Serial entrepreneur. Current work: cofounder of @stadiamaps.com. Normally @ianthetechie@fosstodon.org but checking this out too ;)
I guess another option MIGHT be to compile the C++ library to WASM with emscripten. Thatβs not a very easy solution and will have a performance hit but might be a reasonable tradeoff depending on the circumstance.
Yeah unfortunately there isnβt an Amazingly ergonomic solution Beyond what others already suggested with caches, or porting the dependency to Rust. (This has to be one of the most under appreciated things about Rust: if the whole project is Rust you donβt have any issues.)
It's an inherent flaw in a centralized system. And yeah, it's not just the UK. I think Australia and many US states either currently have or are considering bans. Which, to be clear, I COMPLETELY support in principle. But it's just a data honeypot and ripe for abuse by governments.
It seems BlueSky is attempting to start collecting personal data for policing purposes now. Iβm Not very active here anyways, but will be less so in the future. Follow me on Mastodon or my blog if youβd like to stay up to date.
Bored of scrolling social media during the CloudFlare outage? Maybe you can suggest an even more ergonomic trackball for me ;)
ianwwagner.com/elecom-deft-...
(Blog ironically not down as it's hosted on GitHub Pages.)
TBH I don't feel safe returning anytime soon.
huh... anything "interesting" with your network like using a VPN? I tried it just now on my Korean home WiFi and on cell data without issue.
hmmβ¦ the server is GitHub Pages π Maybe they had an outage?
History repeats.
New on the blog: const assertions.
ianwwagner.com/const-assert...
New trackball arrived today. I wrote a bit about it here: ianwwagner.com/elecom-deft-...
Dude, Four Tet is SO GOOD!
πͺ Good AI tooling, especially for APIs, isn't automatic or intuitive. πͺ
In fact, our first attempts failed spectacularly. Read the first post in a new series we're writing about how to build great AI tools (including #MCP servers) for #API companies. π
stadiamaps.com/news/ai-tool...
(Or, a more cynical version: "portable" = "it can be ported"... see, we saved you the hand assembly work, so you CAN port it to this other computer :P)
Right?! I've ranted about this several times in the past (offline) and am pretty sure that when C programmers say "portable" they mean "does not require me to hand-write assembly." That's it.
Your C program is almost never *actually* portable for any natural usage of the word.
Super proud of this :) Itβs been quite a journey the past few months building this. Expect a few more deep dive blogs soon! (And in case you missed it, I wrote about the quirks of Unicode normalization here: ianwwagner.com/til/unicode-...)
Howdy all. I'm unfortunately not going to be with my employer for much longer due to team relocation. If anyone has any info on roles that would allow me to continue my Rust compiler work (in New York City), they'd be greatly appreciated.
The OG DDD π
In Seoul? You should come to our meetup next month ;)
Wednesday Jul 2 at 7pm. RSVP: www.meetup.com/rust-seoul-m...
#rust #rustlang
Weekend light blog: Ownership benefits beyond memory safety. Or, how the way you implement APIs in can prevent footguns. Inspired by an old friend's post in a Slack chat about hours wasted on this entirely preventable problem!
ianwwagner.com/blog/ownersh...
#rust #rustlang
A railroad diagram in the style of the original JSON spec showing valid tokens, sequence, and repetition rules.
Rust has some pretty baller tooling crates π Generated this railroad syntax diagram for a mustache derived template DSL using github.com/nu11ptr/pest... in just a few seconds π€―
#rustlang
Building a fitness app? Or planning a hill climb? We can help :)
A list of search results showing the same restaurant twice. The first result has a different appearance, being comprised of mathematical unicode symbols.
Today's fun with Unicode, OpenStreetMap, Foursquare OS Places, and giving users useful search results :)
ianwwagner.com/til/unicode-...
#unicode #programming #openstreetmap
I wrote a few posts in 2025, AND I have RSS ;) ianwwagner.com
What's your blog? Didn't see a link in the post / your bio ;)
heh... says the president of the country with one of the world's highest incarceration rates.
It's been 0 days since it was DNS π I learned a few things today, and you can too!
ianwwagner.com/til/edns-cli...
Thanks! Not really sure I have any grand plans for it at the moment... just felt like something that needed to exist since MapKit is currently a bit broken π If you're interested in other mappy things though, check out github.com/stadiamaps/f..., which occupies much of my free time these days!
Crate in question: docs.rs/tempfile/lat....
Seems like this is appropriate if your use case is served by temp files. Or does it need to be something in memory for performance reasons (more like a message queue or some other form of IPC)?
Interesting. I mean, it sounds like it's a pretty easy mistake to make, and both of these look like fairly small projects so they probably just work for the author's intended use.
Now I'm curious what you're building though which needs a virtual filesystem. Would something like tempfile work?