Profile avatar
matt.godbolt.org
Sometime verb, real person, lover of 8-bit computers, husband & father, trying to be a kind person. #blacklivesmatter; trans rights are human rights. he/him
557 posts 3,173 followers 654 following
Getting Started
Active Commenter
comment in response to post
Thank you
comment in response to post
WASI (the environment part) is in a very nascent state. I hacked the heck out of it to get spectrum.xania.org to cross compile from C++ to wasm, and that only had a couple super minor touch points.
comment in response to post
I suppose the TLDR is, wasm is no picnic. You can cross compile to it but the "operating system" is the browser, not Linux. And you need a lot of support magic to "pretend" to have a file system and threads and whatnot...
comment in response to post
I'm sure a lot of that could be cut back, but that's even more work too :) And then we would have to deal with any issues we introduced in the "modifying the compiler to run in wasm" being different from the actual compilers people use from day-to-day...so... I haven't thought much more than that:)
comment in response to post
which isn't that easy and: $ du -sh /opt/compiler-explorer/gcc-15.1.0/ /opt/compiler-explorer/clang-20.1.0/ 1.6G /opt/compiler-explorer/gcc-15.1.0/ 6.2G /opt/compiler-explorer/clang-20.1.0/ even with a CDN, shipping 1 to 6GB for a single compiler isn't great
comment in response to post
It's not the scale of the code being compiler. WASM means we need to cross-compile and ship the entirety of the compiler and its dependents. Compilers are made up of lots of executables, and WASM doesn't work quite like that. So, we'd need to somehow bundle the whole compiler as a single unit...
comment in response to post
Be pretty grim... And honestly, the cost of the EC2 isn't the biggest problem. The infrastructure and web code is the problem :) and that wouldn't go away. (Of our 3.5k, servers are like 2k-ish; $500 of that is the GPU servers)
comment in response to post
Yes: It's not really feasible. Compilers do a /lot/ of file access and you need to ship those files too. We have 4TB of compiler binaries and libraries and header files and linkers and... So even assuming we could cross compile (which is no wall in the park...) I think the user experience would...
comment in response to post
T shirt from my podcast co-host @benrady.bsky.social - www.zazzle.com/vim_i_just_c...
comment in response to post
Anyway! Thank you for coming to my morning coffee TED talk. Time to go do the garden...
comment in response to post
And for that I'm incredibly grateful! Thanks Aquatic (great company; just I needed a change)
comment in response to post
I should note: I am /incredibly/ fortunate to have been able to take a break between jobs. Effectively the unusual restrictions fintech companies place on me gave me a - paid - enforced break. So, essentially my former employer is subsidising CE development (and the other stuff I'm doing)...
comment in response to post
Yes, CE has always been simple to run locally. Many companies run internal versions too. We encourage this :)
comment in response to post
So anyway, I guess I'm thinking out loud and wondering if anyone out there has advice. For what it's worth I'm not sure /I/ want to do CE forever, but I do want it to be safe for the community forever (I have some thoughts on that too). What do you think?
comment in response to post
Most OSS projects don't make /any/ money, so I'm thrilled we do. But it's a huge step change from "pays for AWS fees" to "employs people". And with increased cost and responsibility...I don't know if I'd be good at that.
comment in response to post
CE is very lucky with Patrons, GH sponsors and our corp sponsors. On average we bring in ~4k a month. On average we spend ~3.5k/month. I save the rest (note to self, get a business account), and have a comfortable margin to keep us going for a year if worst comes to worst.
comment in response to post
I don't think it could ever be a full time job: I don't see a way to raise enough revenue. I've always been super up front "CE will always be free for everyone, no 'freemium' features", and I stand by that. Though I do wonder sometimes if I'm being naive.
comment in response to post
It's far easier to add new features or fix simple bugs than it is to make bigger changes. I'm not sure where this stream of consciousness is going but I guess...I have 6mo left, and I've made little progress. Some folks ask me "why not do CE full time"...
comment in response to post
That is, try and deal with its enormous backlog and issue list, and make it far less painful to administer for me and the other admins. Also make it easier for others to contribute. So far I'm not convinced I'm hitting that goal, but also haven't tried that hard if I'm honest...
comment in response to post
Oh wow! TIL :( en.wikipedia.org/wiki/Ben_Dag...
comment in response to post
Yes I'm a big fan of his! Also 8 bit music theory and others :)
comment in response to post
Oh! I try to take a moderate view of the war :-) My first computer was a 48K, then a +3, before I got a BBC Master. I just spent a few months revising my Spectrum side, ending with spectrum.xania.org :)
comment in response to post
@philipbak.bsky.social Rich works at Epic! You should totally meet!
comment in response to post
(my son wrote all the note names in Sharpie on it a few years back, those are not original or contemporary haha)
comment in response to post
Here's what I sent him :-) not the best rendition. Also fun! The keyboard I'm playing it on is the one I had /when we were kids/ so was contemporary with the game haha!
comment in response to post
Even better, the pal (Rich) reminded me that he bought it for me for my birthday! Like, in 1988 or 89 (!). I knew he'd know it, but that was a nice surprise. Also oh to have that kind of memory :)
comment in response to post
Trying to be proportionate here. I'm actually pretty impressed with their approach h. But the whole area is very nuanced...and affects a lot of folks
comment in response to post
Feeling this
comment in response to post
Genuine laugh out loud to that :-)
comment in response to post
Games with yoyos?! @nickpelling.bsky.social bbc.xania.org?disc1=sth%3A... (and for the modern take also available on steam!)
comment in response to post
In fairness everything's in AWS (with backups) so I still rent most of the stack instead of own
comment in response to post
Then it's only my own fault....
comment in response to post
No, we don't have much in the way of logging (on purpose). I haven't looked very hard in fairness; our logs are incredibly basic (and deleted within 90d too). Not a bad idea, if our privacy policy allows it though (I'd have to check)
comment in response to post
It was my first experience of going "what a stupid bugs surely they're not serious" to "wait up, of course they are. It's easy to fix and if it makes anyone more comfortable then it's worth it"
comment in response to post
Oh no problem! It was kinda fun and I had help in writing the little tools needed.
comment in response to post
It certainly is! I just put out all the recycling and decided to keep it instead
comment in response to post
Haha yes. The previous owner had this nice built in TV thing here and I already had a TV from my last house so I just wedged it in
comment in response to post
Done! Lucky hound
comment in response to post
He's Monty! (In the alt text too)
comment in response to post
I marked it done in GitHub issues too ;)
comment in response to post
Excuse the squalor of my house too :-)