Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
matei_radu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
1.
▲
by
matei_radu
3y ago
Hey, one of the SpinKube maintainers here! You are correct that there is nothing extra required if what you want is to run Wasm inside a container . However, that comes with a few disadvantages, primarily stemming from bundling your wasm
2.
▲
by
matei_radu
3y ago
Thanks for the question! For context, the shim is just an implementation detail of how containerd runs workloads; some come pre-built by default on some systems (like runc), and others you configure (like kata-containers, or in this case, t
3.
▲
by
matei_radu
3y ago
Hi, everyone! I'm one of the maintainers, I'd love to chat about the project and about how and why we built it.
4.
▲
by
matei_radu
3y ago
Thanks for the question! Spin could definitely run in more places than what we have pre-built binaries for. Specifically, we could run on all platforms Wasmtime supports today ( https://github.com/bytecodealliance/wasmti
5.
▲
by
matei_radu
3y ago
Joel from our team worked on the initial prototype for WASI support in TeaVM ( https://github.com/konsoletyper/teavm/pull/610 ), and we temporarily forked before the WASI support made it to the official repo. G
6.
▲
by
matei_radu
3y ago
Hey, thanks for the question! The short answer right now is no. The behavior of the default (and most popular) trigger in Spin (the HTTP trigger) is to create a new instance for handling each incoming request. We made that choice primarily
7.
▲
by
matei_radu
3y ago
Thank you! (disclaimer: I work at Fermyon, the company that created Spin.) All of Fermyon's websites are powered by Spin, and there are quite a few users who are deploying their Spin applications to Fermyon Cloud.
8.
▲
by
matei_radu
3y ago
Thank you for the kind words!
9.
▲
by
matei_radu
3y ago
Hey, jesdict1! Check out this community project that adds support for Zig — https://github.com/tensorush/zig-spin .
10.
▲
by
matei_radu
3y ago
Thank you! To your point, the primary consideration for choosing the languages is their support for WebAssembly, and WASI in particular. Due to Spin's heavy use of WASI and the component model, languages that have first party support i
11.
▲
by
matei_radu
3y ago
Hi, everyone, I'm one of the Spin maintainers. We're really excited about the new release, happy to answer questions about it!
12.
▲
Show HN: Spin 1.0
(fermyon.com)
3 points
by
matei_radu
4y ago
|
0 comments
13.
▲
by
matei_radu
4y ago
Hi, everyone! One of the platform maintainers here, happy to chat about WebAssembly, our platform, and Spin!
14.
▲
by
matei_radu
4y ago
(one of the Spin authors here.) This is not shifting the security responsibility from the firewall entirely — it's just an additional guard rail to ensure only allowed domains can be accessed. It does not mean setting proper firewall
15.
▲
by
matei_radu
4y ago
(one of the Spin authors here.) I'm not all that familiar with the Java ecosystem, but I seem to recall the CheerpJ people having examples for running Swing applications in the browser. (I don't know much about how their solution
16.
▲
by
matei_radu
4y ago
(one of the Spin authors here.) This is so cool! The Spin documentation website ( https://spin.fermyon.dev ) is also served by Spin itself, running on a Nomad cluster, with the same blogging engine mentioned here. We're reall
17.
▲
by
matei_radu
4y ago
(one of the authors of Spin here, and a WebAssembly enthusiast.) There are, of course, a lot of similarities between the Java or .NET runtimes and WebAssembly, and other comments made excellent points about the lower level nature of Wasm, o
18.
▲
by
matei_radu
4y ago
(one of the authors of Spin here.) Your intuition is mostly correct. Before anything, I strongly suggest you read this article on server-side WebAssembly — https://hacks.mozilla.org/2019/11/announcing-the-bytecode-
19.
▲
by
matei_radu
4y ago
(one of the authors of Spin here.) I think this is an excellent point — while we do try to give acknowledgement to the previous technology that paved the way for what we are doing (there are a few articles that treat microservices, containe
20.
▲
by
matei_radu
4y ago
Thanks for your comment! (one of the authors of Spin here, working at Fermyon.) You are correct, a lot of our team worked in the DeisLabs R&D team at Microsoft before joining Fermyon!
21.
▲
by
matei_radu
4y ago
(one of the authors of Spin here.) WIth the disclaimer that this is really early, and we don't have extensive benchmarks yet, there are a few things we are tracking for HTTP workloads (you can see the actual benchmark apps here — http
22.
▲
by
matei_radu
4y ago
Hi, and thanks for your comment! (one of the authors of Spin here.) First, both Spin and the component model are in their early stages, but there are a few things I'd mention here: - as you correctly pointed out, all "trigger"
23.
▲
by
matei_radu
4y ago
Hi! (one of the authors of Spin here) Interesting to hear your thoughts on this, why do you think that? We believe that the things that make WebAssembly attractive in the browser (compact binary, near-native speed, the sandbox isolation mod
24.
▲
by
matei_radu
4y ago
Hi! (one of the authors of Spin here.) As you can assume, we are just as excited about all the places where we can run WebAssembly! That's a pretty intriguing idea, looking forward to seeing it evolve!
25.
▲
Rethinking Microservices
(fermyon.com)
2 points
by
matei_radu
5y ago
|
1 comments
26.
▲
by
matei_radu
5y ago
> Microservices are serving us well in many ways. But in some ways, we can do better. Having learned a bit from Functions as a Service, containers, and now WebAssembly, we can rethink some of our assumptions and perhaps devise a better w
27.
▲
Building host implementations for WebAssembly interfaces
(radu-matei.com)
3 points
by
matei_radu
5y ago
|
0 comments
28.
▲
by
matei_radu
5y ago
By default, a WebAssembly module has no access to any host APIs — particularized for the web platform, a running module will have no way of accessing the DOM by default. When instantiating a module, it can use module imports [1], which can
29.
▲
by
matei_radu
5y ago
This is an excellent collection of SOM/COM resources, thanks a lot for that! Perhaps not surprising, but COM/DCOM has been a recurring reference when talking about the WebAssembly component model. Another useful resource from the
30.
▲
by
matei_radu
5y ago
I think that is a really valid observation, and I would like to point out a couple of things: - the WIT language decisions will end up impacting people writing WIT syntax by hand. I am not sure how large that audience is right now (and I am
More ›