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

Vs. hackett #27

Closed
sirinath opened this issue Jan 16, 2017 · 1 comment
Closed

Vs. hackett #27

sirinath opened this issue Jan 16, 2017 · 1 comment

Comments

@sirinath
Copy link

Would be interested to know how you stack against Hackett

@LuxLang
Copy link
Collaborator

LuxLang commented Jan 16, 2017

I think Hackett is still too immature to go around picking fights with it.

For all I know, it may not even be around anymore within a year.

I don't want to be dismissive, but in the time I've been working on Lux, I've already seen a few languages that were more mature than Hackett get abandoned by their creators, so I want to wait a bit longer until I treat Hackett as an actual rival.

However, if you're fine with a quick summary of differences, here I go:

  • Hackett's target platform is Racket. Lux's is "anything that could possibly run Lux" (i.e. JVM, JS runtimes, CLR, Python, Ruby, even native). I'm not sure if Hackett's author is thinking in a practical way about this choice...
  • Hackett tries to be Haskell with parentheses. Lux tries to expose the innards of the compiler and the type-system to the users so they can make anything they want out of it.
  • The Lux compiler is aware of Lux's type-system, but Hackett's type-system is based on meta-data and only works at the macro level. In some ways, this is a point in favor of Hackett, but I'm still not sure if Hackett's method can provide all the integration with the compiler that Lux demands.

With that said, I'm intrigued by Hackett's way of doing types, and I read the paper from which the author got the idea.

I'm currently thinking if there is some merit to switching to that system in the future, or if I'm better off sticking to what I have.

But currently, the only interesting thing Hackett has over Lux is that particular type-system design.

Note: Hackett's method implies that the language must actually be dynamically-typed and have its type-system bolted-on (which makes sense for Racket).

I'm not sure if I'm comfortable with that, as some Lux users will undoubtedly abuse that and then that will cause trouble to the rest (which is why I'm not a fan of gradual typing).

@LuxLang LuxLang closed this as completed Jan 16, 2017
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

1 participant