3 ms·
I chuckled at this passage: "flint is written in the D language, making it the first D codebase open-sourced by Facebook. In fact, our initial version of flint
by foobarian 13y ago
I chuckled at this passage: "flint is written in the D language, making it the first D codebase open-sourced by Facebook. In fact, our initial version of flint was written in C++; the D rewrite started as an experiment. From the measurements and anecdotes we gathered, the translation turned out to be a win on all fronts: the D version of the linter turned out smaller, dramatically faster to build, significantly faster to run, and easier to contribute to."
Seems like the argument is stronger to rewrite the code being linted, than to use the linter itself ;-)
- eru 13y agoD is actually a pretty nice language. (The caveats are around the libraries, especially the standard libraries to choose from.) I can see D being a better C++, in that it better solves that problems that C++ is supposed to be good for.
- MaxBarraclough 13y ago> The caveats are around the libraries, especially the standard libraries to choose from. The old Tango/Phobos situation? With the advent of D2, that's no longer a thing. Tango is now all but dead.
- eru 13y agoThanks for the update! I haven't toyed around with D in a while---but it was a mostly pleasant experience the last time I did.
- he_the_great 13y agoThis is likely what they are looking at. Start with a program everyone uses, but isn't critical production system, evaluate the language and get people familiar with the language. Follow it up with some more rewrites and eventually give up on the old C++.