/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Show HN: Write Go code in JavaScript files
(www.npmjs.com)
153 points
yar-kravtsov
| 4 comments |
27 Oct 25 05:36 UTC
|
HN request time: 0.001s
|
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.
h33t-l4x0r
◴[
27 Oct 25 09:19 UTC
]
No.
45718833
[source]
▶
>>45717724 (OP)
#
How big is it? Is it smaller than imagemagick wasm?
replies(1):
>>45719597
#
ID:
GO
2.
foofoo12
◴[
27 Oct 25 11:08 UTC
]
No.
45719597
[source]
▶
>>45718833 (TP)
#
How big is imagemagick wasm?
replies(2):
>>45719818
#
>>45730081
#
3.
◴[
27 Oct 25 11:39 UTC
]
No.
45719818
[source]
▶
>>45719597
#
4.
h33t-l4x0r
◴[
28 Oct 25 07:39 UTC
]
No.
45730081
[source]
▶
>>45719597
#
I think 5mb or so
↑