Python Interoperability
Hy seamlessly integrates with Python, allowing you to use the entire Python ecosystem while writing your code in a Lisp-like syntax. This interoperability makes it easier for developers familiar with Python to experiment with Lisp's syntax and ideas.
Lisp Syntax and Macros
Hy provides Lisp's powerful macro system and syntax, enabling more expressive and concise code. The ability to create macros can lead to highly customizable and domain-specific solutions.
Readability
For those familiar with Lisp, Hy offers increased readability due to its minimal syntax and symbolic expressions. This can lead to more straightforward reasoning about the code and reduced syntactic noise.
Compiles to Python
Hy code is compiled to Python bytecode, allowing it to run on any environment where Python is available. This ensures good performance and compatibility with existing Python tools and utilities.
We have collected here some useful links to help you find out if Hy is good.
Check the traffic stats of Hy on SimilarWeb. The key metrics to look for are: monthly visits, average visit duration, pages per visit, and traffic by country. Moreoever, check the traffic sources. For example "Direct" traffic is a good sign.
Check the "Domain Rating" of Hy on Ahrefs. The domain rating is a measure of the strength of a website's backlink profile on a scale from 0 to 100. It shows the strength of Hy's backlink profile compared to the other websites. In most cases a domain rating of 60+ is considered good and 70+ is considered very good.
Check the "Domain Authority" of Hy on MOZ. A website's domain authority (DA) is a search engine ranking score that predicts how well a website will rank on search engine result pages (SERPs). It is based on a 100-point logarithmic scale, with higher scores corresponding to a greater likelihood of ranking. This is another useful metric to check if a website is good.
The latest comments about Hy on Reddit. This can help you find out how popualr the product is and what people think about it.
Hy: https://docs.hylang.org/en/stable/ I tend to stick to vanilla python though, mainly because Hy is too much of an hassle for my use cases. - Source: Hacker News / over 3 years ago
Q: is there any game dev happening in Lisp? A: https://kandria.com/ and https://itch.io/jam/lisp-game-jam-2022 Q: how do I write a website with Lisp? A: https://lispcookbook.github.io/cl-cookbook/web.html#easy-routes-hunchentoot and https://www.gnu.org/software/guile/manual/html_node/Web-Examples.html Q: do I have to use emacs for developing Lisp? A: No, https://github.com/vlime/vlime and... - Source: Hacker News / over 3 years ago
I really like Hy because it's fully inter-operable with Python. But its documentation is insufficient for anything moderately complex, and its tooling support is pretty basic. If Hy were well documented and supported I'd use it for all my throwaway scripts and prototyping -- today I use Python for that. Source: over 3 years ago
You're looking for https://docs.hylang.org/en/stable. Source: almost 4 years ago
I've been using the Hy REPL[0] whenever I've wanted to drop into a python REPL. The lack of whitespace formatting with Hy is great, but it still has access to all of python's libraries. [0] - https://docs.hylang.org/en/stable/. - Source: Hacker News / almost 4 years ago
If you already know python, Iโd say hylang would be the best one to get started, and then move to some โtruerโ LISPs, like CL or Scheme. Source: almost 4 years ago
Does this not work? `pip3 install --user hy` as mentioned in the first page of the docs: https://docs.hylang.org/en/stable/. - Source: Hacker News / almost 4 years ago
Since experience with Python is more important to you, and you seem to want to reinvigorate your interest in Lisp, I would recommend perhaps writing some programs for fun -- not for profit, or work experience, just purely for your own curiosity and fun. Try using The Hy Programming Language, which is a Lisp-like language that compiles to Python. Source: about 4 years ago
I can't say much about Rust, but my impression is that they put some serious handcuffs on mutability. Javascript's OO baggage is well known, though they've been moving (excruciatingly slowly) toward encouraging functional style where practical. Python actively makes functional style painful, though efforts like Hy do help me feel better about it. Source: over 4 years ago
Do you know an article comparing Hy to other products?
Suggest a link to a post with product alternatives.
Is Hy good? This is an informative page that will help you find out. Moreover, you can review and discuss Hy here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.