Hacker Newsnew | past | comments | ask | show | jobs | submit | sschwarzer's commentslogin

> Startup time is pretty comparable to Python in my experience.

In my experience a "Hello world" program with `#lang racket/base` (precompiled) takes around 150 ms on my computer whereas Python takes about 50 ms.

> Using the racket/base #lang instead of racket makes a big difference too.

My experience has been: As soon as I use `#lang racket/base` with `(require racket/match)` for pattern matching, the startup times are as when using `#lang racket`.


At least in some cases, you need the options --orig-exe (Posix) or --embed-dlls (Windows) to make the binary standalone. For me that worked for command line programs. The options are described at https://docs.racket-lang.org/raco/exe.html . You can use both options at the same time, regardless of running Posix or Windows.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: