5 ms·
Racket v8.2
- JasonFruit 5y agoI'm really surprised and impressed by some of the huge changes this language family has passed through. From mzscheme to Racket, then to Racket on Chez Scheme — that these changes didn't kill it is a testament to the care with which the implementation was done and the transitions were planned.
- gus_massa 5y agoIIRC in the mzscheme to Racket there was some renaming of function [like hash-table-get -> hash-ref] and other not back compatible stuff. The transition to Racket on Chez Scheme was easier for users because the new version is bug compatible with the old one. (There may be some difference in corner cases, but most of them are bug and get fixed. Anyway, I think there are still some details in the ffi and the heuristic of the garbage collector that are impossible to fix.)
- samth 5y agoIn the switch from "PLT Scheme"/mzscheme to Racket backwards compatibility was almost entirely maintained, you can still use `mzscheme` or `#lang scheme`. There were some substantial backwards-incompatible changes before that (~10-15 years ago). For example, revamping the exception hierarchy, moving to immutable pairs, and re-doing the class system.
- skytreader 5y agoAs someone who did my first CS course in HtDP, it's nice to see new versions like this. Looks like the community is active and lively too. Which makes me curious...outside of teaching and PL research, is anyone else using Racket? Has it been used in other CS research fields perhaps? Some of the items in this changeset makes me think it might be used in numeric computation/stats modelling. Is it seeing some use in the industry as well? It seems to have a pretty extensive ecosystem but are the libraries mature? Would love to hear what/how people have been using Racket.
- seisvelas 5y agoI use it for quick scripts. I do offensive security. It's a pleasant option when doing things other pentesters would do in Python or Go. >It seems to have a pretty extensive ecosystem but are the libraries mature? If you're just doing API calls, file IO, simple networking, then it's more than you'll ever need. If I'm doing something obscure enough to have to worry 'is there a mature library for this in Racket?' I'll just use Python at that point.
- kkylin 5y agoAFAIK HN itself runs on Arc (http://arclanguage.org/ http://arclanguage.org/), which is implemented in Racket (formerly in PLT). Does that count? Edit: in addition, I used PLT (Racket's predecessor) for my own scientific computing needs, e.g., plotting, providing a front end to simulators written in C, etc. I didn't make the switch to Racket because it broke a lot of code and I didn't have time to rewrite everything. Limped along until Julia became a thing, and now that's what I use. And yes, could have (and did) use Python, but I really prefer writing Scheme to Python when possible.
- smabie 5y agoI used Racket for bioinformatics research maybe 8 years ago a big hospital. Never seen it used outside of academia though really.
- spfzero 5y agoUsing it for maybe five years as my primary language for tools, simulators, testing embedded devices, games, etc. compared to common lisp, clojure, etc. it’s just less overhead for modules, packaging, compiling to executables... I would love to move more into common lisp but it seems like 20 steps to create a binary in the foss world, and expensive to do so in the Allegro/LispWorks world. Happy to pay for dev tools, but paying to distribute your program? No thanks.
- strawhatguy 5y agoI don't think you have to pay to distribute in LispWorks, beyond buying the full license, did that change?
- deleted 5y ago[deleted]
- cutler 5y agoCan anyone tell me why Racket requires 900Mb of disk space? It's just a Lisp when all's said and done.
- linspace 5y agoIt comes with lot of libraries and a compiler, not sure if it's the reason
- watersb 5y agoI am not at my main computer at the moment so I can't confirm yet, but IIRC Racket is available as a much smaller language core set of tools sufficient to run CLI scripts. I consider Racket to be a "batteries included", curated distribution of the Racket lang CLI tools, plus a lot of libraries, including libraries for GUI development. Lots of documentation and the IDE. The TeXLive distribution might be somewhat analogous; billions of bytes of fonts and GUI apps, a package manager... https://www.tug.org/texlive/ https://www.tug.org/texlive/
- samth 5y agoThe full installation includes an IDE, a documentation system, a web server, a bunch of graphical games, a slide presentation program, significant educational software, and more, plus thousands of pages of docs. If you want a smaller program to install, the Minimal Racket distribution will use much less space, and is still a full-featured Lisp.
- gus_massa 5y agoAdding more details: To download the minimal version: https://download.racket-lang.org/releases/8.2/ https://download.racket-lang.org/releases/8.2/ The installer is 1/5 of the full version. I'm too lazy to install both side by side to see the amount of disk after installation. Also, once the minimal version is installed, it's possible to add some of the packages to get a custom intermediate version, or even just add all the packages and get the full version.
- jambutters 5y agoit doesn't, https://archlinux.org/packages/community/x86_64/racket/ https://archlinux.org/packages/community/x86_64/racket/ according to arch its ~500MB. The installer is ~200 but unpacked is all the documentation and etc. The switch to Chez Scheme backend has upped the size because it no longer outputs bytecode but machinecode directly