cl-cuda VS hy

Compare cl-cuda vs hy and see what are their differences.

cl-cuda

Cl-cuda is a library to use NVIDIA CUDA in Common Lisp programs. (by takagi)

hy

A dialect of Lisp that's embedded in Python (by hylang)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
cl-cuda hy
5 51
268 4,747
- 0.7%
0.0 9.0
over 2 years ago 7 days ago
Common Lisp Python
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cl-cuda

Posts with mentions or reviews of cl-cuda. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-26.
  • Why Lisp? (2015)
    21 projects | news.ycombinator.com | 26 Oct 2021
    > You can write a lot of macrology to get around it, but there's a point where you want actual compiler writers to be doing this

    this is not the job of compiler writers (although writing macros is akin to writing a compiler but i do not think that this is what you mean). in julia the numerical programming packages are not part of the standard library and a lot of it is wrappers around C++ code especially when the drivers to the underlining hardware are closed-source [0]. also here is the similar library in common lisp [1]

    [0] https://github.com/JuliaGPU/CUDA.jl

    [1] https://github.com/takagi/cl-cuda

  • Fast and Elegant Clojure: Idiomatic Clojure without sacrificing performance
    14 projects | news.ycombinator.com | 23 Oct 2021
  • Hacker News top posts: Aug 14, 2021
    3 projects | /r/hackerdigest | 14 Aug 2021
    A Common Lisp Library to Use Nvidia CUDA\ (0 comments)
  • Machine Learning in Lisp
    12 projects | /r/lisp | 4 Jun 2021
    Personally, I've been relying on the stream-based method using py4cl/2, mostly because I did not - and perhaps do not - have the knowledge and time to dig into the CFFI based method. The limitation is that this would get you less than 10000 python interactions per second. That is sufficient if you will be running a long running python task - and I have successfully run trivial ML programs using it, but any intensive array processing gets in the way. For this later task, there are a few emerging libraries like numcl and array-operations without SIMD (yet), and numericals using SIMD. For reasons mentioned on the readme, I recently cooked up dense-arrays. This has interchangeable backends and can also use cl-cuda. But barring that, the developer overhead of actually setting up native-CFFI ecosystem is still too high, and I'm back to py4cl/2 for tasks beyond array processing.

hy

Posts with mentions or reviews of hy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-11.
  • How to Write a (Lisp) Interpreter (In Python)
    18 projects | news.ycombinator.com | 11 Mar 2024
    Not exactly the same (doesn't embed into the source like this did), but I believe Hylang[0] is the best Lisp package available for modern Python.

    [0] https://github.com/hylang/hy

  • Sapling: A highly experimental vi-inspired editor where you edit code, not text
    4 projects | news.ycombinator.com | 4 Feb 2024
    Isn't that a bit what hy (https://hylang.org/) tries to do ? AIUI it is a lisp interacting directly with the AST of Python, allowing seamless interop: Python modules can be used from hy and vice versa, everything is transparent.
  • Hissp
    2 projects | news.ycombinator.com | 17 Dec 2023
    I’ve been keeping loose tabs on this and Hy[1] for a while, but I’ve had some trouble figuring out the major differences between them and the use-cases for either. Would love to see an in-depth comparison in the form of a blog post sometime (though maybe the answer here is to do the research and write one up myself).

    1: https://hylang.org

  • Ask HN: Is SICP/HtDP still worth reading in 2023? Any alternatives?
    2 projects | news.ycombinator.com | 20 Jul 2023
    “Python is for scientists. Lisp is for engineers.”

    Then what does that make Hy language?

    https://hylang.org/

    Re Languages with lots of example code and LLM’s

    With translators or things like Hy lang, one could get the LLM’s to solve your problem in Python before converting it to another form. Then, you just need a translator. If lacking one, it’s easy to translate by hand.

    The practicality of this concept will probably vary by use case. My experiments had GPT doing sketching, implementations, boilerplate, and even porting Python to Rust. A legally-clear LLM trained on multiple languages could probably be fine-tuned to do Python to LISP conversions. If not, Hy might be a stepping stone, too.

  • Sharing Saturday #469
    8 projects | /r/roguelikedev | 2 Jun 2023
    One of the funny things about Hy is that it's a Lisp for Python, and so one of its primary selling points is that it provides a macro system for Python, but Python is so dynamic that things that would require macros in many other languages can be done entirely at run-time. For example, I define all my monster, scenery, and item types with (defitem …), which could look like a macro call to the casual reader, but is actually just a function call with keyword arguments. One way Hy makes this kind of call more convenient than Python does is that it allows multi-statement anonymous functions, so you don't have to predefine all your callbacks. Here, for example, you can see the method definition for hook-player-walked-into for exits embedded right in the call to deftile.
    8 projects | /r/roguelikedev | 2 Jun 2023
    You could say so: I've been maintaining the compiler since 2016 ;). Infinitesimal Quest 2 + ε (SQ) exists more to advance Hy than for its own sake.
  • Best implementation of CL for learning purposes
    3 projects | /r/lisp | 28 Mar 2023
    If you are using Python - you might find Hylang (https://hylang.org) interesting.
  • I'm considering moving from Clojure to Common Lisp
    8 projects | /r/lisp | 27 Mar 2023
    Have you had a look at https://hylang.org/ ?
  • Ask HN: What's the best Lisp for a Python hobbyist looking to learn?
    2 projects | news.ycombinator.com | 9 Mar 2023
    A good starting point might be Hy [0]. Its claim to fame is being a LISP embedded in Python.

    [0]: https://github.com/hylang/hy

  • Elixir for Humans Who Know Python
    6 projects | news.ycombinator.com | 25 Feb 2023
    I don't think it's nonsensical to use less popular/exotic languages. I prefer to write code in languages that I like to write in, as long as it's a good enough tool for the job.

    The real problem with them is that while you and I might be interested in functional languages, our coworkers/managers aren't and we have to stick with the languages we might not find as immediately exciting, like python.

    Side node, python has Hy (https://hylang.org), which is essentially a lisp implementation that compiles to Python's AST. The entire python ecosystem and stdlib is available to Hy, so it's as batteries included as python is. It's a blast to use, but similarly I wouldn't expect my job to be excited about it.

What are some alternatives?

When comparing cl-cuda and hy you can also consider the following projects:

hissp - It's Python with a Lissp.

Fennel - Lua Lisp Language

numcl - Numpy clone in Common Lisp

babashka - Native, fast starting Clojure interpreter for scripting

eso-light-attack-weave - This is a macro for the game Elder Scrolls Online

Carp - A statically typed lisp, without a GC, for real-time applications.

criterium - Benchmarking library for clojure

hebigo - 蛇語(HEH-bee-go): An indentation-based skin for Hissp.

awesome-clojure-likes - Curated list of Clojure-like programming languages.

mal - mal - Make a Lisp

hy-language-server - Hy Language Server built using Jedhy. works only under Hy1.0a1. For the recent version of Hy, please use https://github.com/sakuraiyuta/hyuga instead.

numericals - CFFI enabled SIMD powered simple-math numerical operations on arrays for Common Lisp [still experimental]