Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile to WASM #1225

Open
yonas opened this issue Aug 30, 2024 · 3 comments
Open

Compile to WASM #1225

yonas opened this issue Aug 30, 2024 · 3 comments

Comments

@yonas
Copy link

yonas commented Aug 30, 2024

Could you publish a WASM binary?

@mockdeep
Copy link
Collaborator

@yonas can you explain what you mean? I can't imagine how a WASM binary would make sense for a project like this. It is a full-stack application that requires a server and database behind it.

@yonas
Copy link
Author

yonas commented Aug 30, 2024

@mockdeep Thanks. If SQLite became an optional DB, and the web server was embedded via some sort of embedFS for Ruby - leaving load balancing to advanced users or pre-rolled Docker deployments - external dependencies would be removed, leaving you with a nice little portable executable that can run almost anywhere.

The UI is very slick. It would be a great addition for those looking for a small, easy to deploy RSS feed reader.

@mockdeep
Copy link
Collaborator

Can you tell me how you would deploy a WASM app? Right now it's already fairly easy to deploy via Docker or a 1-click Heroku deploy. Is there an embedFS that works with Ruby? I wonder what the file size would have to be for something like that, and the resources it would require on the client-side to emulate Ruby and the entire .

Stringer is pretty tightly tied to Postgres, so I don't think we can support SQLite.

I don't really understand how we would go about producing a WASM binary or what the benefits are, but if you want to put together a roadmap for how we get from here to there, I would at least consider it. You'd be on the hook for driving it, too, though. I doubt I'll ever have the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants