-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
What makes Mint unique? #70
Comments
Embedded features of libraries like React, Redux, Aphrodite, etc. |
Pretty much what @handicraftsman wrote. In Mint everything is built in so to speak. I'm writing a post about comparing it with a popular JavaScript stack (which I post here when ready), in it I compare are all the things Mint has built in to their counterpart in the JS stack:
On top of this there are 300+ nice error messages, easy JS interopability and probably some small features I am forgetting. Mint is still young there will be more features added in the future check them out on the roadmap. |
@gdotdesign So Mint integrates does libraries behind the scenes? Or just offers what those libraries offer? |
@DanielSokil It just offers what those libraries offer, except React which is integrated as the view layer. |
@gdotdesign One drawback of having react + redux, etc is the large bundle size, I was wondering if same applies to Mint? |
I think bundle size using Mint can be generally kept low, the "runtime" (https://github.com/mint-lang/mint-runtime) currently is ~150kb minified, 100kb of which is React. The bundle size of the Mint website (https://github.com/mint-lang/mint-website) is 69kb gzipped (~280kb extracted) which contains the styles as well. There are two things that could make this even smaller:
|
@gdotdesign For dead code elimination, would I need to use a tool like rollup, or that feature will be built into Mint? |
@DanielSokil It will be built into Mint. |
I've added this question to the FAQ in the readme pointing to this thread, so I'm closing this. |
@gdotdesign Thanks very much for your detailed responses. |
Preact would significantly lower the size |
Very interesting language! |
For example Elm offers no runtime exceptions, which is amazing.
What makes Mint amazing ?
The text was updated successfully, but these errors were encountered: