News for hackers. Stuff that matters.
Re:Ditching 200K of C++ for 30K of Scheme by TwoBit on Wednesday December 08, 2010 @01:33PM (#1983999)
"We've reimplemented the GUI layer, which meant throwing out about 200,000 lines of C++ code that built on Xt, Win32, and Carbon. We've replaced that C++ code with about 30,000 lines of Racket code that builds on Gtk, Win32, Cocoa, Cairo, and Pango."

That's not the same thing as saying 200K of C++ equals 30K of Scheme.

Re:Ditching 200K of C++ for 30K of Scheme by jmaygarden on Wednesday December 08, 2010 @01:35PM (#1984009)
Right, they could probably have gotten the same effect by staying with C++ and switching to Qt.
Re:Ditching 200K of C++ for 30K of Scheme by jfoutz on Wednesday December 08, 2010 @10:34PM (#1985903)
but then they'd have 80,000 lines of code of non-racket between the language and the OS's GUI. And they'd still have to build a compatibility layer between existing GUI stuff FFI out to QT.

Seems like this way they suffer through the platform specific pain themselves, but the bugs are all in a language they want to program in.

Re:Ditching 200K of C++ for 30K of Scheme by chc on Wednesday December 08, 2010 @02:33PM (#1984271)
Of course not. The languages are unrelated, so no precise number of lines in one is equal to any precise number of lines in the other. It is a pretty impressive space savings nonetheless.