←back to thread

153 points yar-kravtsov | 3 comments | | HN request time: 0.581s | source

I built a Vite plugin that lets you write Go code directly in .js files using a "use golang" directive. It compiles to WebAssembly automatically.
1. nsonha ◴[] No.45718394[source]
seems like an unintuitive idea that could have only come from someone infected by react/vercel. The natural way that most would think about this is just write go in a go file and have an import attribute or macro
replies(2): >>45718428 #>>45718562 #
2. yar-kravtsov ◴[] No.45718428[source]
Fair take! Though, this was literally built as a joke in response to @ibuildthecloud's tweet. Sometimes the dumbest ideas are the most fun to prototype.
3. iamsaitam ◴[] No.45718562[source]
Are there vaccines for these infected? I hope we can stop the spread /s