Re: Complete D grammar

2011-03-28 Thread Rainer Schuetze
Having written a D2 parser a few month ago in the hope it will be helpful to Visual D (just finds it way into the plugin right now), I've noticed quite some inaccuracies in the "official" grammar on the website. Some of these are probably already in bugzilla, some of them might be personal ta

Re: Is D rejected for the company it keeps?

2011-03-28 Thread Andrew Wiley
On Tue, Mar 29, 2011 at 12:01 AM, ToNyTeCh wrote: > It "feels kinda icky". D needs to deal with its characters. > It's a community. It has characters. The fact is that, for any programming language, the community isn't a bunch of people sitting around waiting to answer your questions, it's people

Re: Is D more complex than C++?

2011-03-28 Thread Don
ToNyTeCh wrote: Seriously, I wanna know. How many lines of compiler code does it take for each (Walt should have the best handle on this, surely)? The LOC is one parameter, but I don't want just that -- it just came to mind while typing the overall question. The intricacy of the compiler is muc

Re: GCC 4.6

2011-03-28 Thread Don
dsimcha wrote: On 3/28/2011 9:54 PM, jasonw wrote: Listen kid, you're some biology student, right? You're just coding for fun. And more importantly, you haven't participated in any long term real world systems programming projects. This kind of work experience doesn't give you the competence t

Re: GSoC-2011 project:: Containers

2011-03-28 Thread Ishan Thilina
Lutger Blijdestijn wrote: >Slightly, D ranges use the same basic principles as the STL so any >documentation on that can be used to understand the big picture. > >You'll see that no container implements all of std.algorithm, in fact >containers have a very small interface. Normally algorithms work

Re: a 'Shared libraries for Linux' question

2011-03-28 Thread Graham St Jack
On 29/03/11 15:35, Jonathan M Davis wrote: On 2011-03-28 21:38, Long Chang wrote: The shared lib support for Linux is very important for me . I ask people is there a schedule or plan once, but not get any responded . I hope the somebody can tell us some information about this . There's never

Re: Factually inaccurate review of TDPL on Amazon

2011-03-28 Thread Simen kjaeraas
On Fri, 25 Mar 2011 08:20:42 +0100, Caligo wrote: :) When is "Modern D Design" going to be released ? C++ first appeared as C With Classes in 1979, and Modern C++ Design was written 22 years later. D first appeared in 1999, so we should expect Modern D Design in 2021. -- Simen

Re: a 'Shared libraries for Linux' question

2011-03-28 Thread Jonathan M Davis
On 2011-03-28 21:38, Long Chang wrote: > The shared lib support for Linux is very important for me . I ask > people is there a schedule or plan once, but not get any responded . > > I hope the somebody can tell us some information about this . There's never really a schedule. Things get done whe

Is D rejected for the company it keeps?

2011-03-28 Thread ToNyTeCh
It "feels kinda icky". D needs to deal with its characters.

Re: a 'Shared libraries for Linux' question

2011-03-28 Thread Long Chang
The shared lib support for Linux is very important for me . I ask people is there a schedule or plan once, but not get any responded . I hope the somebody can tell us some information about this . On Tue, Mar 29, 2011 at 11:53 AM, David Wang wrote: > Dear, > > We would like to know that whats t

Re: [GSOC idea] enhance regular expressions?

2011-03-28 Thread Dmitry Olshansky
On 29.03.2011 2:40, bearophile wrote: Dmitry Olshansky: BTW which ones? Now is the time to propose them. Verbose regular expressions, that allow to put space and comments, to format REs more like code and less like a cryptic puzzle language. (?:...) A non-grouping version of regular parenthe

Re: Is D more complex than C++?

2011-03-28 Thread Ali Çehreli
On 03/28/2011 07:59 PM, ToNyTeCh wrote: > Seriously, I wanna know. You are asking one of those questions where the answer will be wasted on the seeker. You've made it clear numerous times on this forum that you have a very limited understanding of C++. > How many lines of compiler code does i

Re: Is D more complex than C++?

2011-03-28 Thread ToNyTeCh
Nick Sabalausky wrote: > "ToNyTeCh" wrote in message > news:imri5l$1ahi$1...@digitalmars.com... >> Seriously, I wanna know. How many lines of compiler code does it >> take for each (Walt should have the best handle on this, surely)? >> The LOC is one parameter, but I don't want just that -- it jus

"The D "Community""

2011-03-28 Thread ToNyTeCh
How many? Anyone have a nifty global pinpoint chart? Seriously, I really wanna know.

a 'Shared libraries for Linux' question

2011-03-28 Thread David Wang
Dear, We would like to know that whats the details of D2's next milstone ("Shared libraries for Linux") ? Will be shared with GTK+ 3.0 ? or other libraries ? As I know, GTK+ 3.0 has formally released (now its version is GTK+ 3.0.4), and it introduced a "GObject Introspection" which can widely en

Student registration for GSoC now open!

2011-03-28 Thread Andrei Alexandrescu
Good luck everyone! http://www.google-melange.com/gsoc/org/google/gsoc2011/dprogramminglanguage Andrei

Re: Is D more complex than C++?

2011-03-28 Thread Nick Sabalausky
"ToNyTeCh" wrote in message news:imri5l$1ahi$1...@digitalmars.com... > Seriously, I wanna know. How many lines of compiler code does it take for > each (Walt should have the best handle on this, surely)? The LOC is one > parameter, but I don't want just that -- it just came to mind while typing

Is D more complex than C++?

2011-03-28 Thread ToNyTeCh
Seriously, I wanna know. How many lines of compiler code does it take for each (Walt should have the best handle on this, surely)? The LOC is one parameter, but I don't want just that -- it just came to mind while typing the overall question. The intricacy of the compiler is much more important

Re: [GSOC idea] enhance regular expressions?

2011-03-28 Thread KennyTM~
On Mar 29, 11 06:21, Dmitry Olshansky wrote: Another thing to sort out is style: are we sticking with ECMA or switching to Perl / GNU? Shall we provide also different versions of syntax? One RE syntax in a language is more than enough :-) But there are some features of the Python REs that I'd li

Re: GCC 4.6

2011-03-28 Thread jasonw
dsimcha Wrote: > On 3/28/2011 9:54 PM, jasonw wrote: > > Listen kid, you're some biology student, right? You're just coding for fun. > > And more importantly, you haven't participated in any long term real world > > systems programming projects. This kind of work experience doesn't give you > >

Re: GCC 4.6

2011-03-28 Thread dsimcha
On 3/28/2011 9:54 PM, jasonw wrote: Listen kid, you're some biology student, right? You're just coding for fun. And more importantly, you haven't participated in any long term real world systems programming projects. This kind of work experience doesn't give you the competence to evaluate the

Re: GCC 4.6

2011-03-28 Thread jasonw
Andrei Alexandrescu Wrote: > On 3/28/11 5:47 PM, bearophile wrote: > > Andrei: > > > >> To be brutally honest, I'd say that this discussion (and a few > >> others) could be reduced to zero. > > > > I have suggested the Google Summer of Code for D even the past year, > > and I agree it's important

Re: i like cakes

2011-03-28 Thread Andrew Wiley
On Mon, Mar 28, 2011 at 5:46 PM, Adam D. Ruppe wrote: > I don't think discussions like this are productive. > > Let's just write some code and prove them wrong. > An excellent thought.

Re: [GSOC idea] enhance regular expressions?

2011-03-28 Thread spir
On 03/29/2011 12:40 AM, bearophile wrote: Dmitry Olshansky: BTW which ones? Now is the time to propose them. Verbose regular expressions, that allow to put space and comments, to format REs more like code and less like a cryptic puzzle language. (?:...) A non-grouping version of regular par

Re: GCC 4.6

2011-03-28 Thread Andrei Alexandrescu
On 3/28/11 5:47 PM, bearophile wrote: Andrei: To be brutally honest, I'd say that this discussion (and a few others) could be reduced to zero. I have suggested the Google Summer of Code for D even the past year, and I agree it's important for D future. But I think Walter has to know something

Re: [GSoC Proposal] Statically Checked Measurement Units

2011-03-28 Thread Andrei Alexandrescu
On 3/28/11 6:09 PM, spir wrote: On 03/28/2011 10:13 PM, Cristi Cobzarenco wrote: - The Categorical type sounds like a great idea. I think they could be passed on as a ValueType to a quantity: typedef Quantity!(City, BoundedInt!(0,100)) CityID; And BoundedInt is just a type implicitly-convertibl

Re: TempAlloc (Was: Library Development: What to finish/flesh out?)

2011-03-28 Thread dsimcha
On 3/28/2011 7:38 PM, Masahiro Nakagawa wrote: > On Sun, 27 Mar 2011 12:09:03 +0900, dsimcha wrote: > >> On 3/18/2011 2:56 AM, Don wrote: 3. TempAlloc: A memory allocator based on a thread-local segmented stack, useful for allocating large temporary buffers in things like numerics

Re: TempAlloc (Was: Library Development: What to finish/flesh out?)

2011-03-28 Thread Masahiro Nakagawa
On Sun, 27 Mar 2011 12:09:03 +0900, dsimcha wrote: On 3/18/2011 2:56 AM, Don wrote: 3. TempAlloc: A memory allocator based on a thread-local segmented stack, useful for allocating large temporary buffers in things like numerics code. Also comes with a hash table, hash set and AVL tree optimi

Re: [GSOC Draft Proposal] ANTLR and Java based D parser for IDE usage

2011-03-28 Thread Luca Boasso
Thank you very much, I appreciate a lot your comments On 3/28/11, Bernard Helyer wrote: > You've hit on every point I thought important for the ANTLR project, and > it seems to me you understand the underlying influences of the need of > it. I'm not a mentor, but I wish you all the best in this p

Re: John Song has been accepted as a GSoC 2011 mentor for Digital Mars

2011-03-28 Thread David Nadlinger
On 3/28/11 11:51 PM, Andrei Alexandrescu wrote: My fellow engineer John Song has joined the ranks of our GSoC 2011 mentors. John works with me on the larger ads team at Facebook and we've used or seen each other's code on occasion. He kindly offered to help with a Thrift-related project, so in c

Re: [GSOC] Database API

2011-03-28 Thread Masahiro Nakagawa
On Sun, 27 Mar 2011 07:11:01 +0900, David Nadlinger wrote: On 3/26/11 12:44 AM, Masahiro Nakagawa wrote: Currently, many databases exist. * SQL based: MySQL, PostgresSQL, SQLite, etc.. * KVS: Cassandra, HBase, Kumofs, Redis, etc... * Document Oriented: MongoDB, CouchDB, etc... I think next

Re: John Song has been accepted as a GSoC 2011 mentor for Digital Mars

2011-03-28 Thread David Nadlinger
On 3/28/11 11:51 PM, Andrei Alexandrescu wrote: My fellow engineer John Song has joined the ranks of our GSoC 2011 mentors. John works with me on the larger ads team at Facebook and we've used or seen each other's code on occasion. He kindly offered to help with a Thrift-related project, so in c

Re: [GSoC Proposal] Statically Checked Measurement Units

2011-03-28 Thread spir
On 03/28/2011 10:13 PM, Cristi Cobzarenco wrote: - The Categorical type sounds like a great idea. I think they could be passed on as a ValueType to a quantity: typedef Quantity!(City, BoundedInt!(0,100)) CityID; And BoundedInt is just a type implicitly-convertible to and from int, that support

Re: [GSOC idea] enhance regular expressions?

2011-03-28 Thread spir
On 03/28/2011 11:47 PM, bearophile wrote: Dmitry Olshansky: http://dsource.org/projects/dmdscript-2. Note that I haven't touched it in couple of dmd releases, it may need cosmetic fixes. I will try it. http://swtch.com/~rsc/regexp/regexp1.html, it could be a starting point, Before fully

Re: [GSOC Draft Proposal] ANTLR and Java based D parser for IDE usage

2011-03-28 Thread Bernard Helyer
You've hit on every point I thought important for the ANTLR project, and it seems to me you understand the underlying influences of the need of it. I'm not a mentor, but I wish you all the best in this project -- a complete ANTLR grammar, with generated code in use, would be a great boon.

Re: i like cakes

2011-03-28 Thread Adam D. Ruppe
I don't think discussions like this are productive. Let's just write some code and prove them wrong.

Re: GCC 4.6

2011-03-28 Thread bearophile
Andrei: > To be brutally honest, I'd say that this discussion (and a few others) > could be reduced to zero. I have suggested the Google Summer of Code for D even the past year, and I agree it's important for D future. But I think Walter has to know something about modern JITs & dynamic langua

Re: [GSOC idea] enhance regular expressions?

2011-03-28 Thread bearophile
Dmitry Olshansky: > BTW which ones? Now is the time to propose them. Verbose regular expressions, that allow to put space and comments, to format REs more like code and less like a cryptic puzzle language. (?:...) A non-grouping version of regular parentheses. Matches whatever regular expressi

Re: i like cakes

2011-03-28 Thread jasonw
Bernard Helyer Wrote: > On Mon, 28 Mar 2011 14:29:42 -0500, Andrei Alexandrescu wrote: > > Anyway, just like in the case of 'retard', the main annoyance to me is > > wasted time on such a low signal/noise ratio. Reddit is difficult to > > browse as is. One of these days I'll spend 15 minutes findi

Re: Managing the review queue

2011-03-28 Thread spir
On 03/28/2011 10:32 PM, Jonas Drewsen wrote: On 28/03/11 21.19, Walter Bright wrote: On 3/28/2011 12:18 PM, dsimcha wrote: == Quote from Walter Bright (newshou...@digitalmars.com)'s article A further issue with the review process is that the bulk of people won't look at something until it is a

Re: Managing the review queue

2011-03-28 Thread spir
On 03/28/2011 09:32 PM, bearophile wrote: Walter: I have thought in the past about putting such modules into another package, call it "foo" for lack of a better name, and put it in the dmd distribution. If the package pans out in real life, then move it to std. So, yes, I think your idea is a g

Re: Managing the review queue

2011-03-28 Thread spir
On 03/28/2011 09:18 PM, dsimcha wrote: == Quote from Walter Bright (newshou...@digitalmars.com)'s article A further issue with the review process is that the bulk of people won't look at something until it is actually released. I think the only way to deal with this is to be willing to correct d

Re: [GSoC] RFC: Thrift project proposal (draft)

2011-03-28 Thread David Nadlinger
I just revised the proposal and submitted it via Google's official interface, so don't be confused if you can't find it on my website any longer. David

Re: [GSOC idea] enhance regular expressions?

2011-03-28 Thread Dmitry Olshansky
On 29.03.2011 1:47, bearophile wrote: Dmitry Olshansky: http://dsource.org/projects/dmdscript-2. Note that I haven't touched it in couple of dmd releases, it may need cosmetic fixes. I will try it. No problem, feel free to report any issues. There should be working bugtracker if I remember

Re: John Song has been accepted as a GSoC 2011 mentor for Digital Mars

2011-03-28 Thread Dmitry Olshansky
On 29.03.2011 1:51, Andrei Alexandrescu wrote: My fellow engineer John Song has joined the ranks of our GSoC 2011 mentors. Congratulations! Finally, the D crew is getting manpower at rapid pace :) -- Dmitry Olshansky

Re: John Song has been accepted as a GSoC 2011 mentor for Digital Mars

2011-03-28 Thread Walter Bright
On 3/28/2011 2:51 PM, Andrei Alexandrescu wrote: My fellow engineer John Song has joined the ranks of our GSoC 2011 mentors. Congratulations and welcome!

Re: i like cakes

2011-03-28 Thread Andrei Alexandrescu
On 3/28/11 5:03 PM, Bernard Helyer wrote: On Mon, 28 Mar 2011 14:29:42 -0500, Andrei Alexandrescu wrote: Anyway, just like in the case of 'retard', the main annoyance to me is wasted time on such a low signal/noise ratio. Reddit is difficult to browse as is. One of these days I'll spend 15 minut

Re: i like cakes

2011-03-28 Thread Bernard Helyer
On Mon, 28 Mar 2011 14:29:42 -0500, Andrei Alexandrescu wrote: > Anyway, just like in the case of 'retard', the main annoyance to me is > wasted time on such a low signal/noise ratio. Reddit is difficult to > browse as is. One of these days I'll spend 15 minutes finding and > installing a good kill

John Song has been accepted as a GSoC 2011 mentor for Digital Mars

2011-03-28 Thread Andrei Alexandrescu
My fellow engineer John Song has joined the ranks of our GSoC 2011 mentors. John works with me on the larger ads team at Facebook and we've used or seen each other's code on occasion. He kindly offered to help with a Thrift-related project, so in case David Nadlinger's application is accepted

Re: i like cakes

2011-03-28 Thread Bernard Helyer
wm4/iLiekCakes is a smart guy, and decent enough if you're not talking about D. However, he consistently makes shit up about D if he doesn't know it, and is a pretty constant troll.

Re: i like cakes

2011-03-28 Thread Max Samukha
On 03/28/2011 10:29 PM, Andrei Alexandrescu wrote: His recent longer rants reveal some quite interesting personality issues and give insights into his ulterior motives and their origins. Probably an interesting case for a social psychologist. Yeah, the next step is to label him a psycho and pu

Re: GCC 4.6

2011-03-28 Thread Andrei Alexandrescu
On 3/28/11 4:31 PM, bearophile wrote: Walter: There's a lot of money and manpower behind Python. If this were true, why hasn't this technology been done for Python?< It was done, more than one time. One good JIT was Psyco. And more recently PyPy is about to surpass Psyco in performance: htt

Re: [GSoC Proposal] Statically Checked Measurement Units

2011-03-28 Thread Jonathan M Davis
On 2011-03-28 12:53, Andrei Alexandrescu wrote: > * At best the proposal could define and project a relationship with > std.datetime, which defines a few units itself. Wonder whether it's > possible to simplify std.datetime by using the future units library. Well, I can't say what's possible befor

Re: GCC 4.6

2011-03-28 Thread KennyTM~
On Mar 29, 11 04:33, Walter Bright wrote: On 3/28/2011 1:12 PM, bearophile wrote: Walter: By fundamental technical issue, I mean things like Python's numeric types which require runtime testing for every operation, and are very resistant to known techniques of optimization. Life is a bit mor

Re: [GSOC idea] enhance regular expressions?

2011-03-28 Thread bearophile
Dmitry Olshansky: > http://dsource.org/projects/dmdscript-2. Note that I haven't touched it > in couple of dmd releases, it may need cosmetic fixes. I will try it. > http://swtch.com/~rsc/regexp/regexp1.html, it could be a starting point, Before fully embracing the contents of that page, loo

Re: i like cakes

2011-03-28 Thread FeepingCreature
On 28.03.2011 23:32, bearophile wrote: > Denis Koroskin: > >> I always thought FeepingCreature/ILiekCakes/downs are the same person. Am >> I wrong? > > Feep is a bit messy programmer, but he's a good programmer, I have seen many > things written by him. If they are the same person, then he has

Re: Determine the "type" of a delegate

2011-03-28 Thread Peter Alexander
On 28/03/11 8:47 PM, teo wrote: I tried to find a solution, but since I don't exactly know the anatomy of the class object it is not an easy task. Is there any info on how the class object is laid out in memory? Basically I casted the pointer to an Object and then dumped the first 64 bytes lookin

Re: Managing the review queue

2011-03-28 Thread KennyTM~
On Mar 29, 11 04:04, bearophile wrote: Graham Fawcett: I don't see the connection. '__future__' in Python isn't for experimental features, nor is it for introducing stdlib changes. It's a way to 'import' language features which become standard in later releases. But the end result is the same

Re: Managing the review queue

2011-03-28 Thread bearophile
KennyTM~: > Python's future statement provides features that will certainly be > enabled. It's a feature to provide smoother code compatibility with > earlier versions. Every decision is pretty much settled when it is > available in __future__, and the only step left is to enable it by default.

Re: i like cakes

2011-03-28 Thread bearophile
Denis Koroskin: > I always thought FeepingCreature/ILiekCakes/downs are the same person. Am > I wrong? Feep is a bit messy programmer, but he's a good programmer, I have seen many things written by him. If they are the same person, then he has a quite complex psychology ;-) Bye, bearophile

Re: i like cakes

2011-03-28 Thread FeepingCreature
On 28.03.2011 20:51, Walter Bright wrote: > On 3/28/2011 7:31 AM, FeepingCreature wrote: >> ILiekCakes actually has some good points once you get past the >> instinctive >> fanboy's revulsion for people who are not in awe of D. ;) > > Trying to give the impression that I'm responsible for Tango's

Re: GCC 4.6

2011-03-28 Thread bearophile
Walter: >There's a lot of money and manpower behind Python. If this were true, why >hasn't this technology been done for Python?< It was done, more than one time. One good JIT was Psyco. And more recently PyPy is about to surpass Psyco in performance: http://codespeak.net/pypy/dist/pypy/doc/ B

[GSOC idea] enhance regular expressions?

2011-03-28 Thread Dmitry Olshansky
Hello, (this is a long post, you may skip this introduction) I was sticking around D's NG for about a year and following it's advancements very closely. I was busy ruthlessly wasting my spare time for testing this or that of cool features, converting some personal C++ projects. Maybe it's time

Re: how to use a lib in d

2011-03-28 Thread Maarten
Yoohoo, i got eclipse working with it an compiled without errors. So if i understand it correctly a .h/.di file contains the info abou what's compiled in the lib so you can use it, sounds logical :) And about eclipse: when i let him autocomplete when i haven't typed anything it freezes for 2 m

Re: i like cakes

2011-03-28 Thread Denis Koroskin
On Mon, 28 Mar 2011 18:31:54 +0400, FeepingCreature wrote: On 28.03.2011 15:19, random lurker wrote: FeepingCreature Wrote: On 28.03.2011 03:45, Gary Whatmore wrote: Hello again I've stayed quiet for a long time because people started accusing me of trolling. But now, I REALLY HATE THI

Re: [GSoC Proposal] Statically Checked Measurement Units

2011-03-28 Thread Jens Mueller
Cristi Cobzarenco wrote: > Again I will have to think some more about the latter point. And I'll do > some more tests on the performance of doing linear searches. Is there way to > get the name of a type (as a string) at compile time (not the mangled name > you get at runtime)? I wasn't able to fin

Re: Complete D grammar

2011-03-28 Thread Nick Sabalausky
"David Nadlinger" wrote in message news:imq92m$1ru0$1...@digitalmars.com... > On 3/28/11 5:17 PM, Kagamin wrote: >> Trass3r Wrote: >> >>> Didn't someone here have a complete D grammar? I vaguely remember that >>> there is at least a D1 one buried somewhere. >> >> huh? >> http://www.digitalmars.c

Re: GCC 4.6

2011-03-28 Thread Walter Bright
On 3/28/2011 1:12 PM, bearophile wrote: Walter: By fundamental technical issue, I mean things like Python's numeric types which require runtime testing for every operation, and are very resistant to known techniques of optimization. Life is a bit more complex than that: - The Lua JIT has show

Re: Managing the review queue

2011-03-28 Thread Jonas Drewsen
On 28/03/11 21.19, Walter Bright wrote: On 3/28/2011 12:18 PM, dsimcha wrote: == Quote from Walter Bright (newshou...@digitalmars.com)'s article A further issue with the review process is that the bulk of people won't look at something until it is actually released. I think the only way to deal

Re: Complete D grammar

2011-03-28 Thread Luca Boasso
On 3/28/11, Walter Bright wrote: > On 3/28/2011 9:02 AM, Luca Boasso wrote: >> A complete D grammar is one of the objectives of my GSOC 2011 ANTLR >> proposal, if I got accepted you will have one :) > > The complete grammar should be part of the D spec. Please post any > errors/fixes > to the exis

Re: [GSoC Proposal] Statically Checked Measurement Units

2011-03-28 Thread Cristi Cobzarenco
Thanks for your answer! - I agree that using strings to represent units is not a particularly good idea. Since many people have noted related things, I seem not to have been particularly clear about the way I intend to use strings. Let me try to explain it in detail: There is a type that determin

Re: GCC 4.6

2011-03-28 Thread bearophile
Walter: > By fundamental technical issue, I mean things like Python's numeric types > which > require runtime testing for every operation, and are very resistant to known > techniques of optimization. Life is a bit more complex than that: - The Lua JIT has shown once and for all that dynamic t

Re: Managing the review queue

2011-03-28 Thread bearophile
Graham Fawcett: > I don't see the connection. '__future__' in Python isn't for experimental > features, nor is it for introducing stdlib changes. It's a way to 'import' > language features which become standard in later releases. But the end result is the same: if they find troubles in a featur

Re: i like cakes

2011-03-28 Thread Andrej Mitrovic
killfile-like? You mean with an option to ignore posts from certain users? This should do the trick: http://reddit.honestbleeps.com/ ```User Tagger - now with ignore! Allows you to set a tag and highlight color for any user on reddit that is applied whenever you see their name. New in v1.1 - also

Re: [GSoC Proposal] Statically Checked Measurement Units

2011-03-28 Thread Andrei Alexandrescu
On 3/28/11 10:43 AM, Cristi Cobzarenco wrote: First, let me apologize for this very late entry, it's the end of university and it's been a very busy period, I hope you will still consider it. Note this email is best read using a fixed font. PS: I'm really sorry if this is the wrong mailing list

Re: Managing the review queue

2011-03-28 Thread Graham Fawcett
On Mon, 28 Mar 2011 15:32:44 -0400, bearophile wrote: > Walter: > >> I have thought in the past about putting such modules into another >> package, call it "foo" for lack of a better name, and put it in the dmd >> distribution. If the package pans out in real life, then move it to >> std. So, yes

Re: Determine the "type" of a delegate

2011-03-28 Thread teo
On Mon, 28 Mar 2011 08:48:18 -0400, Steven Schveighoffer wrote: > On Sat, 26 Mar 2011 06:46:22 -0400, teo wrote: > >> Having a delegate d, I can use d.ptr to get a void* pointer to the >> environment used to construct the delegate. How can I determine from >> that pointer whether that is a class

Re: [GSoC Proposal] Statically Checked Measurement Units

2011-03-28 Thread Cristi Cobzarenco
- I too was playing around with a units project before GSoC, that is why I thought doing this project was a good idea. The way I was doing it without numerical IDs was simply by having more complicated algorithms for equality, multiplications etc. For example, equality would be implemented as: temp

Re: i like cakes

2011-03-28 Thread Andrei Alexandrescu
On 3/28/11 9:31 AM, FeepingCreature wrote: On 28.03.2011 15:19, random lurker wrote: FeepingCreature Wrote: On 28.03.2011 03:45, Gary Whatmore wrote: Hello again I've stayed quiet for a long time because people started accusing me of trolling. But now, I REALLY HATE THIS IDIOT IN REDDIT

Re: Managing the review queue

2011-03-28 Thread bearophile
Walter: > I have thought in the past about putting such modules into another package, > call > it "foo" for lack of a better name, and put it in the dmd distribution. If > the > package pans out in real life, then move it to std. So, yes, I think your > idea > is a good one. It's a nice ide

Re: Complete D grammar

2011-03-28 Thread Walter Bright
On 3/28/2011 9:02 AM, Luca Boasso wrote: A complete D grammar is one of the objectives of my GSOC 2011 ANTLR proposal, if I got accepted you will have one :) The complete grammar should be part of the D spec. Please post any errors/fixes to the existing one to bugzilla!

Re: GCC 4.6

2011-03-28 Thread Walter Bright
On 3/28/2011 11:49 AM, dsimcha wrote: Correct me if I'm wrong, but I think some important optimizations (like inlining) are performed in the front end. It's pretty obvious that DMD's inliner needs improvement, though I agree with Walter's decision to prioritize this below fixing major bugs, 64

Re: Managing the review queue

2011-03-28 Thread dsimcha
== Quote from Walter Bright (newshou...@digitalmars.com)'s article > A further issue with the review process is that the bulk of people won't look > at > something until it is actually released. I think the only way to deal with > this > is to be willing to correct deficiencies found after releas

Re: Managing the review queue

2011-03-28 Thread Walter Bright
On 3/28/2011 12:18 PM, dsimcha wrote: == Quote from Walter Bright (newshou...@digitalmars.com)'s article A further issue with the review process is that the bulk of people won't look at something until it is actually released. I think the only way to deal with this is to be willing to correct de

Re: Managing the review queue

2011-03-28 Thread Walter Bright
On 3/27/2011 8:53 PM, dsimcha wrote: From observing the review processes for std.parallelism and std.net.isemail, I think our review process needs some tweaking. There are two key issues: 1. The pace of reviews is glacial unless there's a vote date near. Only 4 people have reviewed std.net.isem

Re: [GSoC Proposal] Statically Checked Measurement Units

2011-03-28 Thread David Nadlinger
On 3/28/11 5:43 PM, Cristi Cobzarenco wrote: First, let me apologize for this very late entry, it's the end of university and it's been a very busy period, I hope you will still consider it. This is by no means a late proposal – the application period has not even formally opened yet. I was

Re: "body" keyword is unnecessary

2011-03-28 Thread Walter Bright
On 3/27/2011 10:35 PM, Jonathan M Davis wrote: I'll be _very_ excited to have both the destructor issues and the const issues sorted out. They are some of the more annoying quality of implementation issues at the moment. Yes, I agree those are the top priority at the moment, now that we have th

Re: i like cakes

2011-03-28 Thread Walter Bright
On 3/28/2011 7:31 AM, FeepingCreature wrote: ILiekCakes actually has some good points once you get past the instinctive fanboy's revulsion for people who are not in awe of D. ;) Trying to give the impression that I'm responsible for Tango's choice of license isn't one of them. To reiterate:

Re: [GSoC Proposal] Statically Checked Measurement Units

2011-03-28 Thread Cristi Cobzarenco
Thanks a lot for your quick response, I'm glad somebody actually read through the whole thing and that I got some feedback. I'll try and do my best to answer your questions. On 28 March 2011 19:15, spir wrote: > On 03/28/2011 05:43 PM, Cristi Cobzarenco wrote: > >> Thus, the requirements for the

Re: GCC 4.6

2011-03-28 Thread dsimcha
== Quote from Walter Bright (newshou...@digitalmars.com)'s article > On 3/28/2011 9:09 AM, Caligo wrote: > > I've been doing a lot of coding in D in the past few weeks, and one > > thing I've noticed is that performance is not great. Surprisingly, > > DMD generated binaries perform worse than GDC'

Re: GCC 4.6

2011-03-28 Thread Walter Bright
On 3/28/2011 9:09 AM, Caligo wrote: I've been doing a lot of coding in D in the past few weeks, and one thing I've noticed is that performance is not great. Surprisingly, DMD generated binaries perform worse than GDC's, but even GDC is lagging behind equivalent code written in C++ and compiled w

Re: how to use a lib in d

2011-03-28 Thread Adam D. Ruppe
Mafi wrote: > PS: Just a thought of mine: You should be theoretically be able > regenereate function signatures from mangled names. Maybe someone > could such a tool. import core.demangle; http://digitalmars.com/d/2.0/phobos/std_demangle.html If you did a mixin(demangle(fname)) you actually shoul

Re: Eitan Frachtenberg has been accepted as a GSoC 2011 mentor for Digital Mars

2011-03-28 Thread Walter Bright
On 3/28/2011 10:24 AM, Andrei Alexandrescu wrote: My coworker Eitan Frachtenberg has joined the ranks of our GSoC 2011 mentors. Welcome and congrats!

Re: how to use a lib in d

2011-03-28 Thread Mafi
Am 28.03.2011 19:48, schrieb Andrew Wiley: On Mon, Mar 28, 2011 at 12:34 PM, maarten van damme wrote: Thanks to everyone, I got it to compile :D Still don't get the point of a lib file. I'm used to program java and there you can compile to a jar-libary, a lib in d is obviously not the same.

Re: against enforce

2011-03-28 Thread Jonathan M Davis
On 2011-03-28 04:56, Kagamin wrote: > Jonathan M Davis Wrote: > > Whereas I _rarely_ use in contracts. In most cases, I favor exceptions, > > treating my functions as API functions pretty much as long as they're > > public. That's not always the best approach, but it's generally what I > > end up u

Re: how to use a lib in d

2011-03-28 Thread Andrew Wiley
On Mon, Mar 28, 2011 at 12:34 PM, maarten van damme wrote: > Thanks to everyone, I got it to compile :D > > Still don't get the point of a lib file. I'm used to program java and there > you can compile to a jar-libary, a lib in d is obviously not the same. > In a machine-compiled language, a libr

Re: Complete D grammar

2011-03-28 Thread Luca Boasso
You can find an ANTLR grammar for D v1 at http://www.dsource.org/projects/antlrd/browser/toys/v3d/parsed.g (by Ellery Newcomer) The syntax is similar to EBNF, check the ANTLR documentation for details. I hope this might help you. Luca Boasso On 3/28/11, Trass3r wrote: > David Nadlinger Wrote:

Re: how to use a lib in d

2011-03-28 Thread maarten van damme
Thanks to everyone, I got it to compile :D Still don't get the point of a lib file. I'm used to program java and there you can compile to a jar-libary, a lib in d is obviously not the same.

Re: Eitan Frachtenberg has been accepted as a GSoC 2011 mentor for Digital Mars

2011-03-28 Thread Luca Boasso
Congratulations Eitan Frachtenberg! On 3/28/11, Andrei Alexandrescu wrote: > My coworker Eitan Frachtenberg has joined the ranks of our GSoC 2011 > mentors. > > Eitan brings tremendous value to our ranks. He is a very strong, > creative scientist with broad interests and achievements, a prolific

Eitan Frachtenberg has been accepted as a GSoC 2011 mentor for Digital Mars

2011-03-28 Thread Andrei Alexandrescu
My coworker Eitan Frachtenberg has joined the ranks of our GSoC 2011 mentors. Eitan brings tremendous value to our ranks. He is a very strong, creative scientist with broad interests and achievements, a prolific author (see http://frachtenberg.com/eitan/pubs/index.php for his impressive publi

  1   2   >