Hacker GitHub

← All repos

facebookarchive/warp

View on GitHub ↗ ★ 529 D archived

A fast preprocessor for C and C++

16 mentions on Hacker News by 10 people: 0 stories, 16 comments · first 2014-05-26 · latest 2021-05-10

Mentions per year 16 mentions · busiest year 2015 (4)
20082026
  1. …backward compatibility and a lot of projects just die because of it, for example the mentioned https://github.com/facebookarchive/warp : ==== make dmd -c -O -inline -release -ofwarp.o cmdline.d constexpr.d context.d directive.d expanded.d…
  2. …: - Writing a C preprocessor is a nightmare. Fortunately, I already did that https://github.com/facebookarchive/warp and we can use it if we choose. - The D code will be able to inline C code, and even CTFE it. - There are a lot of wac
  3. Here's the source code: https://github.com/facebookarchive/warp and the one for the C compiler I wrote long ago: https://github.com/DigitalMars/Compiler/blob/master/dm/src/d... which is integrated with the C lexer for speed reasons.
  4. …but it's the same algorithm and data structure. With D, when I developed the Warp preprocessor, https://github.com/facebookarchive/warp I continually tried different algorithms & data structures to see which was faster. One reason it's…
  5. …be much easier to maintain in D, and not much work to convert it to DasBetterC. Yes, it was Warp: https://github.com/facebookarchive/warp https://code.facebook.com/posts/476987592402291/under-the-ho... You're welcome! It's reactions like…
    comment by WalterBright · 2018-05-23 · in DigitalMars C/C++ Compiler
  6. …to the last drop C preprocessor, prepare to spend 6 months on that, minimum. Or just use Warp: https://github.com/facebookarchive/warp and then you can have fun just working on the compiler bit.
  7. …carefully manage memory for the release or the hot spots. (The Warp preprocessor I wrote did that. https://github.com/facebookarchive/warp ) There's a lot less time hammering square pegs into round holes. I've seen more than enough…
    comment by WalterBright · 2017-04-07 · in The reference D compiler is now open source
  8. They wrote a C/C++ preprocessor in D, but this now appears to be abandoned. https://github.com/facebookarchive/warp
    comment by gbrown_ · 2017-03-20 · in The D Garbage Collector
  9. …anymore. Not sure if it is being used at all. Will there be any D projects in Facebook? [0] https://github.com/facebookarchive/warp
    comment by arunc · 2016-10-19 · in Mercurial 4.0 Sprint Notes
  10. …humble, personal attacks are a common thing in the forum. The forum gives some hints [2], [3] [1] https://github.com/facebookarchive/warp [2] http://forum.dlang.org/post/vlosobeqnvfrfuriedpv@forum.dlang... [3]…
    comment by arunc · 2016-08-05 · in Running a D game in the browser
  11. Facebook does [1][2][3]. [1]: http://www.drdobbs.com/mobile/facebook-adopts-d-language/240... [2]: https://github.com/facebook/warp [3]: https://github.com/facebook/flint
  12. …enough and requires few updates, I don't know as zapcc uses the clang Preprocessor and not warp. https://github.com/facebook/warp/commits/master
    comment by yrnkrn · 2015-05-24 · in Zapcc: A faster C++ compiler
  13. …the need for speed, regardless of the memory allocate strategy used. For some very fast D code: https://github.com/facebook/warp Minimizing the amount of heap memory allocated is a core strategy.
    comment by WalterBright · 2015-04-27 · in How does D improve on C++17?
  14. Facebook uses Warp[1] as a fast replacement for the c/c++ preprocessor. [1] https://github.com/facebook/warp
    comment by edmccard · 2015-04-27 · in How does D improve on C++17?
  15. …of Facebook? You need a lot of good hacks to deal with large bulks of data. For example: https://github.com/facebook/warp I heard Goooogle developed Go partially because they were fed up with the time taken up compiling massive C programs.
    comment by NAFV_P · 2014-08-11 · in Compile like it's 1992
  16. …Here's one of the projects written for Facebook by Walter Bright: https://github.com/facebook/warp