Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
soegaard
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
301.
▲
by
soegaard
5y ago
Racket compiles the program to machine code before it is run.
302.
▲
by
soegaard
5y ago
https://en.wikipedia.org/wiki/COMAL
303.
▲
by
soegaard
5y ago
Beats me.
304.
▲
by
soegaard
5y ago
It's great to have support for tail recursion when implementing recursive solutions, but it is a tall order to add to more traditional languages. However tail recursion is not the only trick Racket has up its sleeve. In Racket you can&
305.
▲
by
soegaard
5y ago
It did. It's the standard file dispatcher that now supports keyword arguments for cache control. https://github.com/racket/web-server/commit/f82decd8bbaf8251...
306.
▲
by
soegaard
5y ago
Some games simply used extra ram to hold the contents of, say, disk 2. Reducing disk loading (and swapping!) was a big deal.
307.
▲
by
soegaard
5y ago
FWIW a user can add this syntax himself to a language if he needs to. A hypothetical `curly-infix` language could be used like this: #lang curly-infix racket (define (fact n) (if (= n 0) 1 {n * fact(n-1)})) The reader for `curl
308.
▲
by
soegaard
5y ago
It was an experiment - I think the general consensus is that it was a bad idea. The double dot notation is mostly used for inequalites: (x . < . 3) instead of (< x 3) and for function contracts: (any . ->
309.
▲
by
soegaard
5y ago
Presumably they can see how many times a player has been reported to abandon a game ahead of time. If it is the first report, I can understand they do nothing. If it is report number 10 ...
310.
▲
by
soegaard
5y ago
I have used Racket on the RP400. Check https://download.racket-lang.org/ and get "Unix Source + built packages". Most likey it is your distribution that are missing the latest Racket version.
311.
▲
by
soegaard
5y ago
Search for picbit scheme in Google.
312.
▲
by
soegaard
5y ago
Skip Lists: https://docs.racket-lang.org/data/skip-list.html These functional red/black-trees have `map` and `filter`: https://docs.racket-lang.org/functional-data-structures/Red-... AVL-tre
313.
▲
by
soegaard
5y ago
I believe it has one today.
314.
▲
by
soegaard
5y ago
Sorry about that! I copied the Abstract from the pdf. I believe everything looked correct in the input form where I submitted the text.
315.
▲
by
soegaard
5y ago
For the history buffs: Pre-Scheme: A Scheme Dialect for Systems Programming Richard A. Kelsey, 1997 Abstract Pre-Scheme is a statically typed dialect of Scheme that gives the programmer the eciency and low-level machine access
316.
▲
by
soegaard
5y ago
https://racket-mode.com/
317.
▲
by
soegaard
5y ago
In case you keep the S-expressions: http://www.ccs.neu.edu/home/shivers/papers/sre.txt https://docs.racket-lang.org/parser-tools/Lexers.html#%28for...
318.
▲
by
soegaard
5y ago
And the obvious one: Scheme(r). John knows already, but the Scheme were meant to be called Schemer, but the file system only had 6 characters in the filenames. Apropos, the suffix "bit" is popular too: rabbit, orbit, gambit, picbi
319.
▲
by
soegaard
5y ago
If I understand correctly, the main problem was that the Pyret project wanted Pyret to run directly in the browser, so they needed a JavaScript-backend. Since Racket doesn't have a JavaScript-backend, they wrote a compiler in Pyret tha
320.
▲
by
soegaard
5y ago
Note that Scheme made this choice in order to make it simpler for compilers to produce efficient code.
321.
▲
by
soegaard
5y ago
PDF Expert
322.
▲
by
soegaard
5y ago
Yes, several companies are using Racket. https://github.com/racket/racket/wiki/Organizations-using-Ra...
323.
▲
by
soegaard
5y ago
I got some more information from Flatt. The new incremental mode means the 16ms deadline is within reach. In fact if the screen is not involved, then 1-2ms is reachable. On macOS a screen-refresh can cause a 16ms pause.
324.
▲
by
soegaard
5y ago
The `portaudio` is a few years old, so I have a hunch that the comment refers to the old backend "Racket BC". The new backend "Racket CS" has a new garbage collection mode "incremental", which I understand is b
325.
▲
by
soegaard
5y ago
What are the changes from 2.0 to 2.1 ?
326.
▲
by
soegaard
5y ago
Look at the "History" and "Related Links" to see where the inspiration came from (mostly Skribe, but Scribble is also mentioned).
327.
▲
by
soegaard
5y ago
Here is a Racket (/Scheme) version of the JavaScript solution with a thorough explanation. http://pasterack.org/pastes/80529 Note that this solution is using a standard imperative style, with a loop over that narr
328.
▲
by
soegaard
5y ago
The beginning of this lecture (30 seconds in) by Harold Abelson (author of SICP - Structure and Interpretation of Computer Programs) explains why Computer Science is a terrible name here. https://www.youtube.com/watch?v=-J_x
329.
▲
by
soegaard
6y ago
The reader even has a parameter `read-decimal-as-inexact` that controls how to read decimal numbers.
330.
▲
by
soegaard
6y ago
https://github.com/racket/rhombus-brainstorming
More ›