7 ms·
Hylas-Lisp - A JIT-compiled Lisp targeting LLVM
- bakul 13y agoHow does this compare with extempore? More specifically xtlang which seems to have similar goals. http://extempore.moso.com.au http://extempore.moso.com.au
- reirob 13y agoWow, this blows my mind up, thanks for posting. Immediately had a look if it was already discussed on HN and to my surprise it went completely unnoticed! So here the links: https://news.ycombinator.com/item?id=5397123 https://news.ycombinator.com/item?id=5397123 https://news.ycombinator.com/item?id=5125339 https://news.ycombinator.com/item?id=5125339
- reirob 13y agoAfter having slept over it I re-posted it on HN, because I am convinced it needs more attention. So in case you stumble over this comment, the new post is: https://news.ycombinator.com/item?id=6640244 https://news.ycombinator.com/item?id=6640244
- agumonkey 13y agoas people said on reddit, the CL timing on the chart is "bogus" http://www.reddit.com/r/lisp/comments/1pgdyo/hylaslisp/ http://www.reddit.com/r/lisp/comments/1pgdyo/hylaslisp/
- phaer 13y agoYes, it's strange to benchmark a standard and not an implementation. Besides, timing in well-known implementation such as SBCL looks much better here than in the chart.
- eudox 13y agoIndeed (author here). Aside from Fibonacci being a worthless benchmark, the Common Lisp code was unoptimized and running on CLISP(!) on Windows(!!). Moreover, it was from an old version of the compiler. The benchmark just sat there for a while as I rewrote it from C++ in Common Lisp, and it was stupid of me to let it hang around for so long.
- agumonkey 13y agoside note: as long as your jitted-llvm time is correct, then it speaks for itself, people shouldn't really care how much faster hylas is compared to any lisp implementation (even though it's in the chart). ps: I really like the WSL side of things, as a lispos/lispmachine daydreamer, I'm impatient to see bare metal lisp systems running (fast).
- deleted 13y ago[deleted]
- wes-exp 13y agoeudox, do you have a use case for this Lisp or is it more of an intellectual exercise?
- eudox 13y agoI feel there is a spot between the performance and control of low-level languages and all the tremendously useful features of high-level languages. What I basically wanted was "C with Lisp macros". I think Rust is the closest language, ideologically, to Hylas. There is no specification or anything very formal laid out except for a couple .md files in the docs folder. The language has evolved and changed a lot over the past year (Everything from the comments to the type system has changed), and is nowhere near prod-ready, but I want to eventually put it to practical use.
- mkmkmmmmm 13y agoI want C (Objective-C) with Lisp macros too. Are you looking dor contributors?
- 286c8cb04bda 13y ago> I want C (Objective-C) with Lisp macros too. You might be interested in http://programming.nu/ http://programming.nu/
- BruceM 13y agoAny chance that you have seen Dylan, http://opendylan.org/ http://opendylan.org/ ?
- eudox 13y agoI've heard of it but never took a hard look at it. The one thing that's interesting about it to me is that it's a Lisp with "normal syntax", which is people's main complaint about Lisp, yet it hasn't exploded in popularity the way one might think it would. Just a thought.
- 13y ago
- hwh 13y agoAm I missing something with the "Hylas" name vs. the lambda & gamma initials within the project logo?
- j_m_b 13y agoHow hard is it to extend 'foreign' to other languages besides C/C++? If this is possible, a guide for doing so would be invaluable. It would be awesome if there was a lisp that could compile directly to LLVM using native objectiveC libraries on iOS. VERY cool work, thanks for sharing!
- wukix 13y agofor Lisp on iOS & Android see https://wukix.com/mocl https://wukix.com/mocl intro talk (at Bay Area Lisp Revival): https://wukix.com/mocl-balisp8 https://wukix.com/mocl-balisp8
- terhechte 13y agoI still remember when you guys initially posted this on HN a couple of months ago. I found it interesting though one dominant criticism was that your site does not deliver enough information about the product to form an informed decision. Especially not given the steep price. I've played with NU, I've played with Clozure, I've played (a bit) with ClojureC, but they all felt half-finished or I couldn't get into them. Mocl still sounds kinda good, but your site looks just like it looked a couple of months ago, no information on why exactly I should spend that much money, or how it performs in comparison to other solutions etc. I think it would be great if you could put way more code and docs there.
- eudox 13y agoThat was part of my original intention. The reason 'foreign' takes C as its first argument in the examples is so I could eventually add support for binding mangled C++ functions mangled through Clang/GCC (Which luckily use the same mangling scheme).
- jnbiche 13y agoI like this trend toward wide-spectrum languages. For other recent examples, see Terra and Nimrod (I realize Nimrod has been around for a while, but seems like it's recently gaining significant popularity). It's nice how closely languages like Python and Lua and integrated C through their various FFIs (particularly Luajit's FFI), but it's still a huge pain in the ass to continuously context switch between languages whenever you have to drop down and do something low-level, or to improve performance. I hope at least one of these languages catches on in the wider programming community so I'll have a chance to use it in "real world" programming.