Hacker Newsnew | past | comments | ask | show | jobs | submit | more syrusakbary's commentslogin

We'll improve this very soon, right now the experience is less than ideal.

Ideally we would download the compiled artifacts instead of compiling as Simon commented... it will be a much better experience for everyone!


Wasmer already support jobs (cron jobs, and jobs after certain triggers: deployment, app creation, ...), although is not fully documented yet.

We'll be improving our docs soon!


FastHTML requires apsw (SQLite wrapper) even if you don't use it. We already compiled apsw to WASIX but it also requires publishing a new version of Python to Wasmer (with sqlite dynamically linked instead of statically linked).

We will release a new Python version by the end of this week / beginning of next one, so by then FastHTML should be fully work in Wasmer! (both runtime and Edge)


Sounds awesome!


We are actually going on another direction.

Philosophically speaking I believe we should not require a special version of pip to install packages, nor a "lite" version of Jupyter to run in WebAssembly.

We should be able to run Jupyter fully within the Wasmer ecosystem without requiring any changes on the package (to run either in the browser or the server).


How close is this to working? Can this new stack run a Jupyter kernel within a browser and get the front end to talk to it in the same browser?


Yes, running Wasmer Python package on iOS or Android is 100% doable.

In fact, we want to even run it on browsers.

We are small team, so we have to pick our battles very carefully, but we would welcome any patch to make it work (if it doesn't work already!).


Thanks for the feedback.

Normally, if you want to run your apps serverlessly you'll need to adapt your source code to it (both AWS Lambda and Cloudflare Workders require creating a custom HTTP handler).

In our case, you can run your normal server (lets say uvicorn) without any code changes required from our side.

Of course, you can already do this in Docker-enabled workloads: Google Cloud or Fly.io, for example. But that means that your apps will have long cold-start times at a way higher cost (no serverless).

Hope this makes things clear!


Thank you for the explanation, now I can better see the differences between "serverless" platforms although I am still a little disappointed that so called "serverless" apps still require a (paid) server despite the name.


This bugs me all the time. Ethernet is serverless. Minesweeper is serverless. AWS Lambda is quite serverful, you're just not allowed to get a shell on that server.


Thanks!

Forgot to put it on the article, but the latest Python requires the Wasmer rc.5 to run! (the final release will be coming very soon)

    curl https://get.wasmer.io -sSfL | sh -s "v6.1.0-rc.5"
    wasmer run python/python


I tried to run these commands. It downloads python@3.13.1, but then hangs without producing any output. However, it seems to work for

  wasmer run python/python@=0.2.0


I wonder if they could use Wasmer to execute Javascript under the hood without limitations.


This is awseome, I didn't know this was possible and may replace the need of using Cranelift for having fast builds of Wasm bytecode into assembly in Wasmer.


If you want to run in a WebAssembly runtime, perhaps Wasmer can be a good choice for you.

Note: we don't support .NET or Java atm, but we support PHP and Python is about to be fully supported!

https://wasmer.io/products/edge


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: