Live data from Hacker News

Carp, a compiled Lisp with type inference and a borrow checker

blog.veitheller.de

1–10 of 112 posts

Re: Carp, a compiled Lisp with type inference and a borrow checker

#4
From their github (https://github.com/carp-lang/Carp)

The key features of Carp are the following:

- Automatic and deterministic memory management (no garbage collector or VM)

- Inferred static types for great speed and reliability

- Ownership tracking enables a functional programming style while still using mutation of cache friendly data structures under the hood

- No hidden performance penalties – allocation and copying is explicit

- Straight-forward integration with existing C code

Re: Carp, a compiled Lisp with type inference and a borrow checker

#5

From their github ( https://github.com/carp-lang/Carp ) The key features of Carp are the following: - Automatic and deterministic memory management (no garbage collector or VM) - Inferred static types for great speed and reliability - Ownership tracking enables a functional programming style while still using mutation of cache friendly data structures under the hood - No hidden performance penalties – allocation and…

This actually sounds like exactly what I’ve been wanting! I use Clojure and it’s great, but I’ve been wanting to use something to interop with some C++ code but while I like C++ more than most, I’d rather write in Clojure (or something like it). Awesome!

Re: Carp, a compiled Lisp with type inference and a borrow checker

#9
I really want to like Carp but I somehow feel that the Rusty memory model does not fit the Lisp philosophy... all the borrowing story comes from a basis mutability.

I wish for something more Clojurish based on immutable data. Then one can exploit the power of inferred type linearity/affinity to transparently build safe "transients" and other cool stuff. Maybe some day I should write such Lisp myself on top of my C++ immutable data structures [1] :-)

[1] https://github.com/arximboldi/immer

Post reply on HN