March 28, 2014 Re: warp: a fast C and C++ preprocessor | ||||
---|---|---|---|---|
| ||||
Posted in reply to w0rp | On Friday, 28 March 2014 at 21:18:52 UTC, w0rp wrote:
> This is awesome news, congrats! I hadn't thought of the possibility of Walter doing some work for Facebook. Between this and the Oculus VR buyout, Facebook keeps doing interesting stuff. This should surely be good for D.
If John Carmack is a Facebook employee, and D gains greater traction within Facebook, there is a real possibility that John Carmack might end up working in D for some small project, which would be a huge endorsement. He's already aware of it, at the very least, citing D's approach to purity in an old blog post.
|
March 28, 2014 Re: warp: a fast C and C++ preprocessor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On 3/28/2014 2:27 PM, Andrei Alexandrescu wrote:
> Facebook is open-sourcing warp, a fast C and C++ preprocessor written by
> Walter Bright.
>
> http://www.reddit.com/r/programming/comments/21m0bz/warp_a_fast_c_and_c_preprocessor/
>
Y'know, I've never been much of a fan of social networking sites, centralized/walled internet services, or being bombarded with "Find/like/etc us on Fb/Tw!" from every company around...*However*, regardless of my interest level in their flagship service, things like this and other D-related things (and also their new alternative-to-PHP language) are genuinely improving my opinion of Facebook as a company. Kudos!
(Note: *Not* intended as a backhanded-complement. Just the regular kind of complement.)
|
March 28, 2014 Re: warp: a fast C and C++ preprocessor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | On 03/28/2014 02:40 PM, Nick Sabalausky wrote: > improving my opinion of Facebook as a company. > Kudos! Hearing that from you is proof enough that Facebook is playing it right. ;) Ali |
March 28, 2014 Re: warp: a fast C and C++ preprocessor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Meta | On 3/28/14, 12:19 PM, Meta wrote: > Is Warp written in D? I don't think it was made clear in the article. We wanted to be subdued about it and focus on the technical discussion instead of making it seem like an ad for D. Of course that still wasn't enough for someone on hackernews... https://news.ycombinator.com/item?id=7489160 Andrei |
March 29, 2014 Re: warp: a fast C and C++ preprocessor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On Friday, 28 March 2014 at 18:27:17 UTC, Andrei Alexandrescu wrote: > Facebook is open-sourcing warp, a fast C and C++ preprocessor written by Walter Bright. > > http://www.reddit.com/r/programming/comments/21m0bz/warp_a_fast_c_and_c_preprocessor/ > > https://news.ycombinator.com/newest > > https://twitter.com/fbOpenSource/status/449611378219679744 > > https://www.facebook.com/dlang.org/posts/10202207506322611?stream_ref=10 > > > Andrei All I can say is two things. One I'm annoyed because I've been working on a macro preprocessor the last week or so and just got it up to supporting #if's anding and oring with defines. Oh well. Second great work on collaborating with Facebook. Definitely a great thing going on here! |
March 30, 2014 Re: warp: a fast C and C++ preprocessor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | On Friday, 28 March 2014 at 21:16:29 UTC, Ali Çehreli wrote:
> It could be useful for me just this past week in a throw-away D program that I wrote (at work! :) ) to parse some C and C++ files very crudely.
As I understand, a preprocessor works on macros only, the rest is lexed minimally.
|
March 30, 2014 Re: warp: a fast C and C++ preprocessor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin | On 3/30/2014 10:08 AM, Kagamin wrote:
> On Friday, 28 March 2014 at 21:16:29 UTC, Ali Çehreli wrote:
>> It could be useful for me just this past week in a throw-away D program that I
>> wrote (at work! :) ) to parse some C and C++ files very crudely.
>
> As I understand, a preprocessor works on macros only, the rest is lexed minimally.
Yes, it won't help much with the rest.
|
March 30, 2014 Re: warp: a fast C and C++ preprocessor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Sunday, 30 March 2014 at 19:28:20 UTC, Walter Bright wrote:
> On 3/30/2014 10:08 AM, Kagamin wrote:
>> On Friday, 28 March 2014 at 21:16:29 UTC, Ali Çehreli wrote:
>>> It could be useful for me just this past week in a throw-away D program that I
>>> wrote (at work! :) ) to parse some C and C++ files very crudely.
>>
>> As I understand, a preprocessor works on macros only, the rest is lexed minimally.
>
> Yes, it won't help much with the rest.
Were those ycombinator performance figures putting warp someway behind clang valid? Perhaps we should unleash a community effort to match clang?
|
March 30, 2014 Re: warp: a fast C and C++ preprocessor | ||||
---|---|---|---|---|
| ||||
Posted in reply to ixid | On 3/30/14, ixid <nuaccount@gmail.com> wrote:
> Perhaps we should unleash a community effort to match clang?
Sounds like wasted effort, why improve tools for parsing C++ instead of improving tools for parsing D?
|
March 30, 2014 Re: warp: a fast C and C++ preprocessor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | On Sunday, 30 March 2014 at 20:43:52 UTC, Andrej Mitrovic wrote:
> On 3/30/14, ixid <nuaccount@gmail.com> wrote:
>> Perhaps we should unleash a community effort to match clang?
>
> Sounds like wasted effort, why improve tools for parsing C++ instead
> of improving tools for parsing D?
It's good advertising for D, in a few ways:
1. C++ devs looking for faster compiles will learn about warp, and learn about D.
2. It shows that D is being used successfully in real projects.
3. It shows that D lives up to its performance claims.
|
Copyright © 1999-2021 by the D Language Foundation