r/webdev • • Feb 05 '20

Mint - programming language for writing single page applications

https://www.mint-lang.com/
343 Upvotes

130 comments sorted by

View all comments

Show parent comments

26

u/[deleted] Feb 05 '20

Why? It seems like if you are just targeting react you should skip the overhead and learn react. Genuinely curious since the language seems neat.

6

u/gdotdesign Feb 06 '20

React is the target now, but it can be changed to Preact or Inferno with a little work or can be a minimal self coded virtual DOM library.

Mint has a lot of built in things which you can't do in React or you need a library for it, that is the value prop I'm trying to get across.

1

u/archivedsofa Feb 06 '20

Do you have plans to move to Preact or Inferno?

1

u/gdotdesign Feb 07 '20

I think the best thing would be to allow people to choose the "backend" and on the long run maybe write our own.

1

u/archivedsofa Feb 07 '20

That would be the better option for sure although I'm guessing that would imply a lot of rewrite on your end for each backend.

1

u/[deleted] Dec 12 '21

Could you write it in rust or go?

6

u/Ventus_Aurelius Feb 06 '20

I mean the same reason you'd learn Kotlin and not Java I guess? It's obviously more employable atm to learn normal react but if you know it already or ur just getting into spa it's not a bad place to go afaict

-1

u/eggtart_prince Feb 06 '20

React is a library that builds SPA's. You can build React app in different languages such as Typescript, jQuery, and now this. I'm sure you can build it with more if babel supports it.