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

Deno vs Zwitterion #325

Closed
jerrygreen opened this issue Feb 21, 2021 · 2 comments
Closed

Deno vs Zwitterion #325

jerrygreen opened this issue Feb 21, 2021 · 2 comments

Comments

@jerrygreen
Copy link

jerrygreen commented Feb 21, 2021

Pls someone write some detailed comparison of them both with why would one choose Zwitterion over Deno (which has kinda the same functionality, but is also maintained by author of NodeJS, Ryan Dahl, - so at least some hype comes out of the box 😂)

Which pros? Which cons?

@lastmjs
Copy link
Owner

lastmjs commented Feb 25, 2021

Hi!

Zwitterion and Deno are pretty different projects. Deno is a JavaScript/TypeScript runtime or platform, very similar to Node.js. It is designed to allow you to run JavaScript/TypeScript outside of the browser, giving you access to OS APIs and other APIs not found in a browser environment.

Zwitterion is very different from Node.js or Deno. It is not designed to allow you to run JavaScript/TypeScript outside of the browser, but inside of the browser. It is very similar to Webpack or Parcel, but is not a bundler. You can start up a Zwitterion server in your web project and then access it through localhost like any other static file server. It will automatically transpile your JavaScript, TypeScript, and some other languages as they are served to the browser. It's supposed to be much simpler than using something like Webpack or Parcel.

Let me know if you have anymore questions

@jerrygreen
Copy link
Author

jerrygreen commented Feb 26, 2021

I just saw an example and it actually looks cool, and now I understand that it builds static files and excludes the server part in production build, and everything you told suddenly makes sense actually! Thx for explaining

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