3 ms·
Does Racket offer types or C interop? I love lisp but am missing those in Clojure.
by hellofunk 11y ago
Does Racket offer types or C interop? I love lisp but am missing those in Clojure.
- baldfat 11y agohttp://docs.racket-lang.org/inside/ http://docs.racket-lang.org/inside/ > This manual describes the C interface of Racket’s run-time system. The C interface is relevant primarily when interacting with foreign libraries as described in The Racket Foreign Interface; even though interactions with foreign code are constructed in pure Racket using the ffi/unsafe module, many details of representations, memory management, and concurrency are described here. This manual also describes embedding the Racket run-time system in larger programs and extending Racket directly with C-implemented libraries.
- mbrock 11y agoYep. https://docs.racket-lang.org/ts-guide/ https://docs.racket-lang.org/ts-guide/ http://docs.racket-lang.org/foreign/ http://docs.racket-lang.org/foreign/
- hellofunk 11y agoI'm curious how much Typed Racket is actually used in the wild. I wonder if it is as esoteric as, for example, Typed Clojure, which is falling a bit out of favor for lots of folks. Would I be likely to find a lot of people who use Racket in this way, or is it a niche part of the community?
- deleted 11y ago[deleted]
- Quasimoto3000 11y agoTypes for clojure are a thing and are helping to clojures adoption by industry. http://typedclojure.org/ http://typedclojure.org/
- hellofunk 11y agoIt is not really the thing you think it is. A lot of high-profile teams have given up on typedclojure in favor of run-time checks like the Prismatic tools.