The carcinization of Go programs

The carcinization of Go programs - Xe's Blog

Xe's Blog
oh god someone posted it to the orange site
I woke up to it on the front page lol

It's time for the Hacker News Bonus Round! It's that time of day where we all get the stand around and laugh at internets! Now with more characters because Mastodon!

> I know the point of this article is to demonstrate how to solve a problem but the premise is a bad one and must not be confused with sound software architecture at all. In fact it's slightly painful reading it and I really wish people would stop writing articles like this.

This means I'm doing it correctly. Like really. I'm presenting a bad idea. I'm explaining why I did it. If you walk into my blog expecting that everything be crystalline towers of absolute perfection, you are in error. Sometimes I have bad ideas and explain why they are bad. If you don't like that, not commenting is free.

> What we have here is a Rube Goldberg machine, not a cleanly solved engineering problem.

YES AND IT IS GLORIOUS! DONT YOU SEE? IT'S PERFECTLY STUPID! The best kinds of hacks are the ones that look ludicrous but are actually somewhat fine in practice.

> People have been using linked libraries to re-use code across languages since forever, it's fine.

People have been bloodletting since forever but that doesn't mean it's fine. Losing your blood juice tends to kill you unless you're careful.

> Give us a real use case not manufacture a problem for it.

Pay me then. My blog is an effort in giving people bad ideas and understanding they they work, down to the philosophy level.

> Is the definition of "how do I get promoted in a company where I don't care if it survives the next five years", not "a cleanly solved engineering problem".

I thought you people liked bad, unviable ideas. That's half of what you internets upvote. Why should you treat this any different? Is it because I have my website CSS as queer-coded and present myself as nonbinary? Subconscious bias much?

> What's more interesting is if you use same method for app plugins, now you can compile anything in WASM and as long as it have right hooks it can be used in your app as a plugin

This person gets it! This is the idea I'm trying to meme into people's subconsciouses! My evil witch powers work again! My mission of being a viral force of good continues to proceed! Trust the plan!

> I can only imagine what that person's house is like, everything plugged into a string of four-way extensions with adaptors and transformers and converters in some massive herniated tangle that would make any firefighter gasp and run for the biggest dry powder extinguisher ever manufactured.

Oh man wait until this internet sees my homelab. It's got like 7 tower computers in one room with a 15 amp breaker. I've had to balance the hardware choices with that in mind. I'd love to fill out each machine with a 5950x or something but oh god that would not work with my breaker. I made a hard rule against daisy-chaining power strips though. I've not managed to break that yet.

> This. I'd rather have to defend all my ideas than have the bad ones blindly promoted.

Tell me you're a white cis male without telling me you're a white cis male.

> I feel bad that I can't get over the fact that a Mastodon message is called a "toot".

It's because HBomberGuy nerd sniped Gargamel at the right time. They are since trying to backtrack on that, but mastodon posts will always be toots to me and you can't take that from me. I know enough about linguistics to know how language evolution works. By calling a thing a thing, I can subconsciously influence your perception of that word! I mean the alternative is calling it a "tweet" and making one of Elon Musk's trademarks less useful. Choose your pain I guess lol.

@cadey I now feel obliged to go back and refactor a project that used an embedded Go runtime for plugins to use WASM instead.
@arch an embedded what
@cadey yeah uh I used https://github.com/traefik/yaegi to create a plugin system for a project of mine. I'm not proud of it, but it did work, so... :p (s/runtime/interpreter)
GitHub - traefik/yaegi: Yaegi is Another Elegant Go Interpreter

Yaegi is Another Elegant Go Interpreter. Contribute to traefik/yaegi development by creating an account on GitHub.

GitHub