HNHacker News
TopNewBestAskShowJobs

syrusakbary

6,223 karma · joined January 8, 2014

Mathematician. Creative. Entrepreneur. Wasmer Founder & CEO. GraphQL/Graphene-Python creator.

https://wasmer.io/

https://x.com/syrusakbary

submissionscomments
syrusakbary··on LLRT: A low-latency JavaScript runtime from AWS
Oops, will add the license right away!

Edit: MIT license added! We had it on the Cargo.toml and wasmer.toml, but forgot to add the LICENSE file to the repo https://github.com/wasmerio/winterjs/blob/main/LICENSE

syrusakbary··on LLRT: A low-latency JavaScript runtime from AWS
This is awesome, I'm incredibly happy to see more alternatives on the Javascript Runtime Space!

In a nutshell: LLRT aims to have incredibly fast startup times compared to Node, Bun or Deno (which is critical in Lambda environments).

LLRT is built using Rust, Tokio and QuickJS under the hood. Here's their compatibility with Node.js APIs [1]

We (at Wasmer), have been working on a very similar approach: WinterJS, which is using SpiderMonkey instead (but also built on top of Rust and Tokio) [2]. HN announcement was just three months ago [3]

Really excited to see how the ecosystem is evolving!

[1] https://github.com/awslabs/llrt?tab=readme-ov-file#compatibi...

[2] https://github.com/wasmerio/winterjs

[3] https://news.ycombinator.com/item?id=38047872

syrusakbary··on RustPython
Happy to see RustPython making awesome progress!

Note: I just realized that they mention wapm in their homepage. We phased out the WAPM CLI in favor of Wasmer (https://wasmer.io), so you can simply run in your shell:

  wasmer run rustpython
Or, if you want to try it using the Wasmer JS SDK:

  import { Wasmer } from "@wasmer/sdk";

  let rustpython = Wasmer.fromRegistry("rustpython");
  let instance = await rustpython.entrypoint.run({
    args: "-c \"print(1)\""
  });
  let output = await instance.wait();

Will send a PR soon it can be updated!
syrusakbary··on TCC RISC-V Compiler Runs in the Web Browser (Thanks to Zig Compiler)
A few months ago Wasmer tried add WASIX support to Zig so anything on Zig ecosystem could target the browser easily, which is quite relatable of what the TCC compiler is trying to achieve. I'm sure at some moment the community will pick it up.

I'll drop a link to WASIX in case is useful for the reader!

https://wasix.org

syrusakbary··on Juice – Oberon JIT browser plugin (1996)
So Juice was the WebAssembly from the Netscape era?
syrusakbary··on Show HN: Auto Wiki – Turn your codebase into a Wiki
Just suggested as well Wasmer on Twitter! https://github.com/wasmerio/wasmer

Looking forward to seeing the results :)

syrusakbary··on Beeper Mini is now open-source
Beeper open sourced the iMessage bridge about 2 days ago: https://blog.beeper.com/p/imessage-and-phone-registration-ar... (although I realized one hour ago, that's why I posted it!)
syrusakbary··on Wasmer JavaScript SDK
Thanks!

I sometimes assume people have the same context as I do, and your comment made me realize that it was not the case. Here's some context: https://wasmer.io/posts/wasmer-and-trademarks

Regarding standards, I assume the mention is referring to Wasmer push for WASIX [1]. Which is a specification & implementation that welcomes anyone to participate (even on it's governance model), so I don't think the stance of the previous comment is accurate.

[1] https://wasix.org/

syrusakbary··on Wasmer JavaScript SDK
In the browser not yet, but support for TCP is on the roadmap! Feel free to email me at syrus@wasmer.io so I can keep you in the loop for the first trials :)
syrusakbary··on Wasmer JavaScript SDK
Usually it adds an extra 10-25% of overhead when the WASIX program uses systemcalls that require unwind/rewind functionality (this is for fork and subprocesses mainly, the multithreaded ones doesn't require asyncify and as such should not experience a performance hit)
syrusakbary··on Wasmer JavaScript SDK
Thanks, I'm a big fan of your work in Trealla. Is true that there's still room to improve sizes, as right now the bundle size is not ideal.

Hopefully it will not take long for Wasmer to serve packages with a minimum bundle size, stay tuned for updates!

syrusakbary··on Wasmer JavaScript SDK
No intend of trashing (in marketing pages titles tend to be more flashy).

In any case I just updated it. Happy holidays!

syrusakbary··on Wasmer JavaScript SDK
That would be awesome! Although there are still a few edges to resolve to be able to run a full headless browser with Wasmer.

It should be possible though, see: http://trevorlinton.github.io/

syrusakbary··on Wasmer JavaScript SDK
I wish to live the day where we can incentivize one ecosystem without having to trash another.

This is not a zero-sum game.

If you find Wasmer useful, use it! If you don’t and you prefer others, feel free to use them. There are plenty of choices.

Happy holidays!

syrusakbary··on Python, C, Assembly – Faster Cosine Similarity
Agreed, the work that Ash and team are doing with Unum is excellent!
syrusakbary··on Fly Kubernetes
If the article was summarized with a TL;DR or phrase along the lines you mentioned "it's basically an adaptor from the Kubernetes world of YAML to the fly.io world of Machines" that would have made it way easier to understand.

In my opinion, the concept is not trivial to grasp by oneself (meaning: is not trivial to drive into that conclusion even after reading the article). So, being explicit first, and guide the reader through that concept along the article would have made a big difference.

syrusakbary··on Fly Kubernetes
It seems I misunderstood the article. I'm happy to read this in any case, thanks for the follow up!
syrusakbary··on Fly Kubernetes
This is one of the biggest footguns of a tech company I've seen in the last decade.

Time will tell if embracing the complexity of Kubernetes was a good play for them or not. But, in all honesty, I'm pretty sad to see this happening, although I'm sure they had their reasons.

syrusakbary··on Wasm3 entering a minimal maintenance phase
I'm sad to hear this to be honest. Wasm3 is (was?) an awesome Wasm interpreter that was ahead of the rest in terms of performance (about 3-5x slower than native, and about 3x faster than the typical Wasm interpreters).

I hope Volodymyr the best as he tries he keep things afloat with the Russia invasion in Ukraine. Hope the war will be soon behind us.

syrusakbary··on Stop Hiding the Sharp Knives: The WebAssembly Linux Interface
Sure thing: https://github.com/wasix-org/wasix-libc/blob/main/libc-top-h...
syrusakbary··on Stop Hiding the Sharp Knives: The WebAssembly Linux Interface
In WASIX we fully solved that, so is definitely doable to run fork on the browser.

Although I'm extremely curious the WALI fork strategy would work in the browser. Maybe the creators can chime in here?

syrusakbary··on Stop Hiding the Sharp Knives: The WebAssembly Linux Interface
I love seeing this.

The more work we do on top of WASI the more I realize their design flaws when trying to run already existing programs on top of it. WASIX aims to fix many of these flaws, but the underlying problems from WASI always arises (such as mandatory relative paths).

I welcome WALI with open hands and excitement. If anyone wants to add support for it in Wasmer I’d be more than happy to integrate it there!

For those interested, as is not trivial to find it, the source code of WALI is here: https://github.com/arjunr2/WALI

syrusakbary··on Onyx, a new programming language powered by WebAssembly
Thanks a lot for the info, I'll relay to the team to investigate further
syrusakbary··on Onyx, a new programming language powered by WebAssembly
Oh no! Do you mind providing the paths where the errors occurs or the requests ids returned by Wasmer, so we can investigate further?

Thanks!

syrusakbary··on Accelerating Generative AI with PyTorch II: GPT, Fast
Awesome, thanks!
syrusakbary··on Accelerating Generative AI with PyTorch II: GPT, Fast
I'd love to see how this compares against Llama.cpp on speed. Do anyone any benchmarks that compare PyTorch.compile vs Llama.cpp?
syrusakbary··on You do need a technical co-founder [video]
Interesting. If I put it in other words, the argumentation is that AI will just propel the already existing qualities of the people. And because people are different (and the distribution of intellectual qualities remains constant as we grow), the AI will not make any difference on that point.

I'd agree on that.

However, let's imagine the scenario of two people have the similar qualities, with one main difference between them: one have worked longer on those than the other (but their "base" is the same). Do you think AI will propel them at the same speed? (or said in other way: where will be the biggest delta on speed between their pre-AI and post-AI versions?)

syrusakbary··on You do need a technical co-founder [video]
How so? If you think I'm missing something important, I'd love to hear it!
syrusakbary··on You do need a technical co-founder [video]
AI usage is trending up. I don't see any signs of deceleration in our company. Right now is mostly trivial, but as AI is able to get more context on the space, it will go up.

I foresee AIs learning from the code of your repo, your language, your dependencies... and most importantly, your competitors (if they have open-source code of course). The more context, the better it will get, the faster you will iterate and the bigger you may get.

syrusakbary··on The Rise of the Monolith
Got it, thanks for the info!
← PreviousPage 6 of 20Next →