News for hackers. Stuff that matters.
Re:Release Announcement for Racket 6.10 by peatmoss on Monday July 31, 2017 @07:29PM (#14896759)
Slow is relative. Slow compared to Java? In some cases yes, and in others not so bad: http://benchmarksgame.alioth.debian.org/u64q/compare.php?lan...

Slow compared to, say, Python3? Generally Racket wins out commandingly: http://benchmarksgame.alioth.debian.org/u64q/compare.php?lan...

EDIT: Normal disclaimers about lies, damned lies, and benchmarks apply :-)

Re:Release Announcement for Racket 6.10 by gus_massa on Monday July 31, 2017 @08:24PM (#14897000)
I agree. Moreover, like the examples in the benchmargame, usually for code that only crunch numbers Racket is 10x-20x times faster than Python. For code that use a lot of strings or hash-tables, Racket is usually slightly slower, 20%-50%. YMMV.

It's also important to compare the idiomatic version of the code in Racket versus the idiomatic version of the code in Python. If you make a line by line translation, you can get an awful performance.

Also, remember that by default the DrRacket IDE use the mode "debugging" and "preserve stacktrace". They are very handy for debugging but they make the code much slower. The recommendation is to run the benchmarks in the command line. But if you disable "debugging" and "preserve stacktrace" the results are quite good.

Re:Release Announcement for Racket 6.10 by igouy on Tuesday August 01, 2017 @03:04PM (#14904187)
“… After all, facts are facts, and although we may quote one to another with a chuckle the words of the Wise Statesman, ‘Lies—damned lies—and statistics,’ still there are some easy figures the simplest must understand, and the astutest cannot wriggle out of.”

Leonard Henry Courtney, 1895.