Re: Website message overhaul

2011-11-20 Thread Andrei Alexandrescu
On 11/15/11 12:57 PM, so wrote: Contrary to some (not surprisingly), i *really* like "golang.org". It is simply precise. No twitter or facebook bs in the front page. I am guessing this is because they are rivals but still. To me it looks like the connection dropped and the page hasn't loaded.

Re: Website message overhaul

2011-11-20 Thread Jude Young
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/20/2011 01:41 AM, Gour wrote: > On Sun, 20 Nov 2011 00:18:49 -0600 Jude Young <10equa...@gmail.com> > wrote: > >> It would help if you would give me a few libraries that you >> 'know' would be useful,and that people would like to have. > > For

Re: Website message overhaul

2011-11-20 Thread Paulo Pinto
Am 19.11.2011 21:49, schrieb Timon Gehr: The fact that Nicks example works has no implications for the GC implementation because the two types involved in his reinterpret-casting don't have any indirections. Furthermore: int* a =...; int b = cast(int)a; int* c = cast(int*)b; // assert(a == c

Website message overhaul, pass 2

2011-11-20 Thread Andrei Alexandrescu
Thanks to all who provided feedback! I read again the entire thread, then made one more pass: http://d-programming-language.org/new/ I didn't make technical/aesthetic changes (JS/noJS, placement of news, links to secondary pages etc) so when providing additional feedback please focus on the c

Re: Website message overhaul

2011-11-20 Thread Paulo Pinto
Am 19.11.2011 21:22, schrieb Nick Sabalausky: Well, the vast majority of the time I come across a slow, bloated app, it's from a VM or otherwise dymanic language. The vast majority of the time I come across a lean, zippy app, it's from something like C/C++/D/etc. Whatever the exact reasons, the

Re: Website message overhaul, pass 2

2011-11-20 Thread Jonathan M Davis
On Sunday, November 20, 2011 02:40:09 Andrei Alexandrescu wrote: > Thanks to all who provided feedback! I read again the entire thread, > then made one more pass: > > http://d-programming-language.org/new/ > > I didn't make technical/aesthetic changes (JS/noJS, placement of news, > links to secon

Re: Website message overhaul

2011-11-20 Thread Andrea Fontana
I see that http://www.digitalmars.com/d/ redirect to http://www.d-programming-language.org/ using a meta http-equiv=refresh. You should redirect using a http 301 headers to transfer google ranking to new domain.. Andrea Andrei Alexandrescu wrote: > Walter and I have been working on the website

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Johannes Pfau
dsimcha wrote: >Now that we've got a lot of contributors to Phobos and many projects >in the works, I decided to start a thread to help us make a rough plan >for Phobos's short-to-medium term development. There are three goals >here: > >1. Determine what's next in the review queue after std.csv (

Re: Website message overhaul, pass 2

2011-11-20 Thread Paulo Pinto
Looks great. While I am not native English speaker, would it not be better to exachange the position of *naturally* and *compiles* on the following sentence? From: "D naturally compiles to efficient native code." To: "D compiles naturally to efficient native code." -- Paulo Am 20.11.2011 09

Re: Website message overhaul

2011-11-20 Thread bearophile
Paulo Pinto: > Haskell is a good example. It can run as fast as C in most cases, but > you need to aproach your problem with a completely different mindset. My small experience tells me otherwise: with Haskell you are able to approach something vaguely like C performance only if you use complex

Re: Website message overhaul, pass 2

2011-11-20 Thread Jude Young
On Sun 20 Nov 2011 05:09:28 AM CST, Paulo Pinto wrote: > Looks great. > > While I am not native English speaker, would it not be better > to exachange the position of *naturally* and *compiles* on the following > sentence? > > From: > > "D naturally compiles to efficient native code." > > To: > > "

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Alex Rønne Petersen
On 20-11-2011 11:48, Johannes Pfau wrote: dsimcha wrote: Now that we've got a lot of contributors to Phobos and many projects in the works, I decided to start a thread to help us make a rough plan for Phobos's short-to-medium term development. There are three goals here: 1. Determine what's n

Re: reference documentation format

2011-11-20 Thread Nicolae Mihalache
If this module contains only functions, it looks fine. But I see it's manually written. I would think it is possible to generate an index with all the functions, classes, structs, etc and with a short description of each and with a link to the full description. Currently all the top level functio

Re: reference documentation format

2011-11-20 Thread Jonathan M Davis
On Sunday, November 20, 2011 13:20:00 Nicolae Mihalache wrote: > If this module contains only functions, it looks fine. But I see it's > manually written. > > I would think it is possible to generate an index with all the functions, > classes, structs, etc and with a short description of each and

Re: Website message overhaul, pass 2

2011-11-20 Thread Robert Clipsham
On 20/11/2011 08:40, Andrei Alexandrescu wrote: Thanks to all who provided feedback! I read again the entire thread, then made one more pass: http://d-programming-language.org/new/ I didn't make technical/aesthetic changes (JS/noJS, placement of news, links to secondary pages etc) so when provi

Re: Website message overhaul, pass 2

2011-11-20 Thread Peter Alexander
On 20/11/11 8:40 AM, Andrei Alexandrescu wrote: Thanks to all who provided feedback! I read again the entire thread, then made one more pass: http://d-programming-language.org/new/ Much better :-) A few comments: Can we please not use the term RAII? First, only C++ people know what it means

Re: Website message overhaul, pass 2

2011-11-20 Thread Jonathan M Davis
On Sunday, November 20, 2011 13:47:31 Peter Alexander wrote: > On 20/11/11 8:40 AM, Andrei Alexandrescu wrote: > > Thanks to all who provided feedback! I read again the entire thread, > > then made one more pass: > > > > http://d-programming-language.org/new/ > > Much better :-) > > A few commen

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Jacob Carlborg
On 2011-11-20 04:02, dsimcha wrote: Now that we've got a lot of contributors to Phobos and many projects in the works, I decided to start a thread to help us make a rough plan for Phobos's short-to-medium term development. There are three goals here: 1. Determine what's next in the review queue

Re: Website message overhaul

2011-11-20 Thread Paulo Pinto
Am 20.11.2011 12:30, schrieb bearophile: Paulo Pinto: Haskell is a good example. It can run as fast as C in most cases, but you need to aproach your problem with a completely different mindset. My small experience tells me otherwise: with Haskell you are able to approach something vaguely li

std.csv accepted into Phobos

2011-11-20 Thread dsimcha
I'm pleased to announce that, by a vote of 5-1, std.csv has been accepted into Phobos. Also, by a vote of 3-2 with one abstention, the community has decided on Version 2 of the library (the one where the Record struct, etc. is hidden in a style similar to std.algorithm rather than explicitly d

Re: Website message overhaul, pass 2

2011-11-20 Thread Peter Alexander
On 20/11/11 1:09 PM, Robert Clipsham wrote: - The code sample at the top is terrible, the equivalent C is only a couple of lines longer and it doesn't show off any of what makes D better! Admittedly you're limited in what you can do here as the code needs to be fairly understandable by non-D prog

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Mike Wey
On 11/20/2011 04:02 AM, dsimcha wrote: * Streams. (Another item where the bottleneck is mostly at the design level and people not really knowing what they want.) Steven Schveighoffer's new-stdio included a nice stream interface. I don't know what the current state of the module is. -- Mike Wey

Re: Website message overhaul, pass 2

2011-11-20 Thread Peter Alexander
On 20/11/11 1:46 PM, Jonathan M Davis wrote: On Sunday, November 20, 2011 13:47:31 Peter Alexander wrote: On 20/11/11 8:40 AM, Andrei Alexandrescu wrote: Thanks to all who provided feedback! I read again the entire thread, then made one more pass: http://d-programming-language.org/new/ Much

Re: Website message overhaul, pass 2

2011-11-20 Thread Jonathan M Davis
On Sunday, November 20, 2011 14:22:16 Peter Alexander wrote: > On 20/11/11 1:46 PM, Jonathan M Davis wrote: > > On Sunday, November 20, 2011 13:47:31 Peter Alexander wrote: > >> On 20/11/11 8:40 AM, Andrei Alexandrescu wrote: > >>> Thanks to all who provided feedback! I read again the entire thread

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Adam D. Ruppe
dsimcha Wrote: > * Compression/archiving. (Opening standard compressed/archived file > formats needs to just work. This includes at least zip, gzip, tar and > bzip2. Of course, zip already is available and gzip is supported by the > zlib module but with a crufty C API. I did a patch a coupl

Re: Website message overhaul, pass 2

2011-11-20 Thread Peter Alexander
On 20/11/11 2:20 PM, Jonathan M Davis wrote: On Sunday, November 20, 2011 14:22:16 Peter Alexander wrote: On 20/11/11 1:46 PM, Jonathan M Davis wrote: On Sunday, November 20, 2011 13:47:31 Peter Alexander wrote: On 20/11/11 8:40 AM, Andrei Alexandrescu wrote: Thanks to all who provided feedba

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Adam D. Ruppe
Johannes Pfau Wrote: > High performance IO: A reactor / proactor framework Oh that reminds me, I'd like a nice thing for networking too, where you can do something like register callback functions for events and it handles the rest for you. > A replacement for std.json Blah, that will break a lo

Re: Website message overhaul, pass 2

2011-11-20 Thread Adam D. Ruppe
RAII confused me at first because it doesn't really have anything to do with resource acquisition or initilaization! RAII is more about scoped destructors than anything else... the opposite of what the name implies. I know what it means now, but I see where Peter Alexander is coming from. It's

Re: Website message overhaul

2011-11-20 Thread Nick Sabalausky
"Andrei Alexandrescu" wrote in message news:jaac0l$1keu$1...@digitalmars.com... > On 11/15/11 12:57 PM, so wrote: >> Contrary to some (not surprisingly), i *really* like "golang.org". >> >> It is simply precise. >> >> No twitter or facebook bs in the front page. >> I am guessing this is because t

Re: Website message overhaul

2011-11-20 Thread Nick Sabalausky
"Paulo Pinto" wrote in message news:jaafb1$1u20$1...@digitalmars.com... > Am 19.11.2011 21:22, schrieb Nick Sabalausky: >> >> Well, the vast majority of the time I come across a slow, bloated app, >> it's >> from a VM or otherwise dymanic language. The vast majority of the time I >> come across

Re: Website message overhaul, pass 2

2011-11-20 Thread Peter Alexander
On 20/11/11 2:17 PM, Peter Alexander wrote: Demonstrates: - Syntax - Imports - Raw string literals - Foreach with type deduction - CTFE with regex - "Batteries included" library (std.byLine(), regex, match, writefln) - General succinctness of D code Ignore the CTFE with regex, it doesn't do any

Re: Website message overhaul

2011-11-20 Thread Jeff Nowakowski
On 11/19/2011 11:27 PM, Walter Bright wrote: I don't agree. You cannot have any data structures in Java that are not OOP. You've really got to stretch to call Java multiparadigm. You've got a very binary view on things. Object-oriented programming is about encapsulating data via methods and

Re: Website message overhaul

2011-11-20 Thread Jeff Nowakowski
On 11/20/2011 10:03 AM, Nick Sabalausky wrote: Looks fine in FF2... (Heh, yea, I know...) There's nothing funny about running a browser that stopped getting security updates 3 years ago.

Re: Website message overhaul, pass 2

2011-11-20 Thread Derek
On Sun, 20 Nov 2011 22:40:34 +1100, Jude Young <10equa...@gmail.com> wrote: On Sun 20 Nov 2011 05:09:28 AM CST, Paulo Pinto wrote: Looks great. While I am not native English speaker, would it not be better to exachange the position of *naturally* and *compiles* on the following sentence? From

Re: Early std.crypto

2011-11-20 Thread Piotr Szturmaj
bcs wrote: On 11/04/2011 04:27 AM, Piotr Szturmaj wrote: bcs wrote: Are you re-implementing the function kernels your self or are you using an existing implementation? Given what I've heard about things like side-channel attacks using processing times to recover keys, I'd rather not see Phobos

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Piotr Szturmaj
dsimcha wrote: * Encryption and hashing. (This is more an implementation problem than a design problem and AFAIK noone is working on it.) There were some attempts to do so. See "Early std.crypto" thread.

Concepts vs template constraints - the practical approach

2011-11-20 Thread Norbert Nemec
Hi there, back in the discussions about C++-"concepts" it was argued that D-template-parameter constraints allow you to achieve the same goal. Now, I find it fairly difficult to come up with a clean solution for this that actually scales up for complex libraries. My best attempt so far is as

Re: Website message overhaul

2011-11-20 Thread Timon Gehr
On 11/20/2011 07:20 AM, Derek wrote: On Sun, 20 Nov 2011 11:02:14 +1100, Walter Bright wrote: ... all variables being immutable ... LOL, nice oxymoron. http://en.wikipedia.org/wiki/Variable_%28mathematics%29

Re: Website message overhaul

2011-11-20 Thread Timon Gehr
On 11/20/2011 02:23 AM, Bane wrote: There is 'D' the language and 'DMD' the implementation. You confuse the two. The quirks you are talking about are DMD's, but the specification is that of D. DMD needs to be fixed, and that is what the 'core people' are working on. I am using dmd compilers j

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Jacob Carlborg
On 2011-11-20 15:28, Adam D. Ruppe wrote: Johannes Pfau Wrote: High performance IO: A reactor / proactor framework Oh that reminds me, I'd like a nice thing for networking too, where you can do something like register callback functions for events and it handles the rest for you. A replaceme

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Adam D. Ruppe
Jacob Carlborg Wrote: > If you know a module will break you can keep your own copy and decide if > you want to migrate to the new module or keep the old one. Encouraging countless forks probably isn't a good idea toward building a coordinated community.

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Jimmy Cao
2011/11/20 Johannes Pfau > > > A replacement for std.json > The biggest thing impairing std.json imo is this bug: http://d.puremagic.com/issues/show_bug.cgi?id=2962

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Adam D. Ruppe
Jimmy Cao Wrote: > The biggest thing impairing std.json imo is this bug: > http://d.puremagic.com/issues/show_bug.cgi?id=2962 Note you can work around that with this. Create a file called icehack.d: module icehack; import std.json; static if(__traits(compiles, parseJSON("hello"))) {} then on yo

Re: Website message overhaul

2011-11-20 Thread Paulo Pinto
Am 20.11.2011 16:22, schrieb Nick Sabalausky: This is how we code most applications in my line of work. I don't know what line of work you're in, but I do a lot of web stuff and it's the same thing here. That's one of the many things I dislike about web dev: Can't do anything without swapping

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Jonas Drewsen
Den 20-11-2011 04:02, dsimcha skrev: Now that we've got a lot of contributors to Phobos and many projects in the works, I decided to start a thread to help us make a rough plan for Phobos's short-to-medium term development. There are three goals here: 1. Determine what's next in the review queue

Re: Website message overhaul

2011-11-20 Thread Timon Gehr
On 11/20/2011 09:40 AM, Paulo Pinto wrote: Am 19.11.2011 21:49, schrieb Timon Gehr: The fact that Nicks example works has no implications for the GC implementation because the two types involved in his reinterpret-casting don't have any indirections. Furthermore: int* a =...; I meant int

Re: Concepts vs template constraints - the practical approach

2011-11-20 Thread Denis Shelomovskij
void myfunction(A)(A arr) if(__traits(compiles, verifyMyConcept!(A))) { } It should be --- void myfunction(A)(A arr) { verifyMyConcept!A; } --- to see the error messages.

Re: Website message overhaul, pass 2

2011-11-20 Thread Andrej Mitrovic
Clicking Example doesn't do anything. And yes I have javascript on. :)

Re: Concepts vs template constraints - the practical approach

2011-11-20 Thread Denis Shelomovskij
Your example, a bit improved: --- // In std.concept, e.g. template verify(alias concept, T) { //static assert(isConcept!concept, concept.stringof ~ " is not a concept"); //the test for particular concept's concepts can be added mixin concept!T; } template verify(alias concept) { mix

Re: Concepts vs template constraints - the practical approach

2011-11-20 Thread Ali Çehreli
On 11/20/2011 08:41 AM, Norbert Nemec wrote: > Hi there, > > back in the discussions about C++-"concepts" it was argued that > D-template-parameter constraints allow you to achieve the same goal. Have a look at std.range.hasLength, std.range.isInputRange, and friends. > Now, I find it fairly di

Re: Website message overhaul

2011-11-20 Thread Nick Sabalausky
"Jeff Nowakowski" wrote in message news:jab7i5$o4t$1...@digitalmars.com... > On 11/20/2011 10:03 AM, Nick Sabalausky wrote: >> >> Looks fine in FF2... (Heh, yea, I know...) > > There's nothing funny about running a browser that stopped getting > security updates 3 years ago. All Mozilla has to

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Tobias Pankrath
> > If you know a module will break you can keep your own copy and decide if > you want to migrate to the new module or keep the old one. > Instead of introducing big and breaking changes to a module, we cood keep std.json and introduce std.json2.

Re: Website message overhaul

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 4:43 AM, Andrea Fontana wrote: I see that http://www.digitalmars.com/d/ redirect to http://www.d-programming-language.org/ using a meta http-equiv=refresh. You should redirect using a http 301 headers to transfer google ranking to new domain.. Andrea Request forwarded. Andrei

Re: Concepts vs template constraints - the practical approach

2011-11-20 Thread Norbert Nemec
On 20.11.2011 19:58, Denis Shelomovskij wrote: void myfunction(A)(A arr) if(__traits(compiles, verifyMyConcept!(A))) { } It should be --- void myfunction(A)(A arr) { verifyMyConcept!A; } --- to see the error messages. Indeed - that way you win a meaningful error message but you loose the pos

Re: Concepts vs template constraints - the practical approach

2011-11-20 Thread Norbert Nemec
Hi Ali, indeed, defining individual named sub-concepts makes the thing somewhat more readable. However, my approach with individual static assertions was very intentional: Collecting individual requirements as an AND expression of booleans does not allow any helpful error message. If just

Re: Concepts vs template constraints - the practical approach

2011-11-20 Thread Norbert Nemec
Nice! That really improves things! Looking forward to playing with it a little more... On 20.11.2011 20:31, Denis Shelomovskij wrote: Your example, a bit improved: --- // In std.concept, e.g. template verify(alias concept, T) { //static assert(isConcept!concept, concept.stringof ~ " is not a

The future of std.compiler

2011-11-20 Thread Alex Rønne Petersen
Hi, I recently sent some pull requests to move std.compiler into core.compiler. Sean Kelly raised the issue that druntime is very compiler-specific (i.e. GDC and LDC both have their own druntime forks). Given this, having it in druntime probably doesn't make a whole lot of sense. So, the qu

Re: Website message overhaul, pass 2

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 7:09 AM, Robert Clipsham wrote: - The code sample at the top is terrible, the equivalent C is only a couple of lines longer and it doesn't show off any of what makes D better! Admittedly you're limited in what you can do here as the code needs to be fairly understandable by non-D prog

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Jacob Carlborg
On 2011-11-20 18:14, Adam D. Ruppe wrote: Jacob Carlborg Wrote: If you know a module will break you can keep your own copy and decide if you want to migrate to the new module or keep the old one. Encouraging countless forks probably isn't a good idea toward building a coordinated community.

Re: Concepts vs template constraints - the practical approach

2011-11-20 Thread Ali Çehreli
On 11/20/2011 11:36 AM, Norbert Nemec wrote: Hi Ali, indeed, defining individual named sub-concepts makes the thing somewhat more readable. However, my approach with individual static assertions was very intentional: Collecting individual requirements as an AND expression of booleans does not

Re: Concepts vs template constraints - the practical approach

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 10:41 AM, Norbert Nemec wrote: [snip] Why not follow the patter of isXxx in the standard library? Andrei

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread dsimcha
On 11/20/2011 12:30 PM, Jonas Drewsen wrote: * Containers. (AFAIK noone is working on this. It's tough to get started because, despite lots of discussion at various times on this forum, noone seems to really know what they want. Since the containers in question are well-known, it's much more a de

Re: Website message overhaul, pass 2

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 3:10 AM, Jonathan M Davis wrote: Overall. It looks good. It's also more compact, which is probably a good thing. One thing that bothered me right off the bat though is "modeling power" in that my first reaction is "what kind of modeling power?" It feels to me like it needs an adjectiv

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread dsimcha
On 11/20/2011 12:30 PM, Jonas Drewsen wrote: * Some higher level networking support, such as HTTP, FTP, etc. (Jonas Drewsen's CURL wrapper handles a lot of this and may be ready for a second round of review.) As I've mentioned in another thread it is ready for a second round of review. We just

Re: Website message overhaul, pass 2

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 5:09 AM, Paulo Pinto wrote: Looks great. While I am not native English speaker, would it not be better to exachange the position of *naturally* and *compiles* on the following sentence? From: "D naturally compiles to efficient native code." To: "D compiles naturally to efficient

Re: Website message overhaul, pass 2

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 7:09 AM, Robert Clipsham wrote: - The code sample at the top is terrible, the equivalent C is only a couple of lines longer and it doesn't show off any of what makes D better! Admittedly you're limited in what you can do here as the code needs to be fairly understandable by non-D prog

Re: Website message overhaul, pass 2

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 8:36 AM, Adam D. Ruppe wrote: RAII confused me at first because it doesn't really have anything to do with resource acquisition or initilaization! RAII is more about scoped destructors than anything else... the opposite of what the name implies. I know what it means now, but I see

Re: Website message overhaul, pass 2

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 8:17 AM, Peter Alexander wrote: How about this one: // Match email addresses on each line of standard input // using a compile-time generated regular expression engine. import std.stdio, std.regex; void main() { string email = r"\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b"; foreach

Re: Website message overhaul, pass 2

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 7:47 AM, Peter Alexander wrote: A few comments: Can we please not use the term RAII? First, only C++ people know what it means, and second, its expansion doesn't tell you what it does or what it is used for. Just say something like "scoped deterministic memory management" or somethin

Re: Website message overhaul

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 9:03 AM, Nick Sabalausky wrote: "Andrei Alexandrescu" wrote in message news:jaac0l$1keu$1...@digitalmars.com... On 11/15/11 12:57 PM, so wrote: Contrary to some (not surprisingly), i *really* like "golang.org". It is simply precise. No twitter or facebook bs in the front page. I

Re: Website message overhaul, pass 2

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 9:50 AM, Derek wrote: On Sun, 20 Nov 2011 22:40:34 +1100, Jude Young <10equa...@gmail.com> wrote: On Sun 20 Nov 2011 05:09:28 AM CST, Paulo Pinto wrote: Looks great. While I am not native English speaker, would it not be better to exachange the position of *naturally* and *compile

Re: Website message overhaul, pass 2

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 12:26 PM, Andrej Mitrovic wrote: Clicking Example doesn't do anything. And yes I have javascript on. :) I only noticed that now... will look into it. Andrei

Re: Website message overhaul

2011-11-20 Thread Walter Bright
On 11/20/2011 7:28 AM, Jeff Nowakowski wrote: Yet the outside world sees that it does, so any marketing along the lines of D being "multi-paradigm" isn't going to be unique. I am not arguing that D being multi-paradigm is unique. I would argue that it arguably supports more paradigms than any

Deimos: Consistent structure?

2011-11-20 Thread David Nadlinger
Hey all, currently, the 0mq and ncurses Deimos bindings place their modules in the root (both package- and directory-wise), while the liblzma ones use deimos.lzma and deimos.lzma_.*. The actual choice probably doesn't matter at all, but could we maybe pick one and then stick to it (including

Re: Website message overhaul, pass 2

2011-11-20 Thread Derek
On Mon, 21 Nov 2011 07:06:00 +1100, Andrei Alexandrescu wrote: I think "naturally" can be removed altogether. "D compiles to efficient machine code." "Naturally" emphasizes that we're not talking about the "reasonably advanced compiler" myth. Ok, I see where you are going with that no

Re: std.csv accepted into Phobos

2011-11-20 Thread Jesse Phillips
On Sun, 20 Nov 2011 09:07:17 -0500, dsimcha wrote: > I'm pleased to announce that, by a vote of 5-1, std.csv has been > accepted into Phobos. Also, by a vote of 3-2 with one abstention, the > community has decided on Version 2 of the library (the one where the > Record struct, etc. is hidden in a

Re: Website message overhaul

2011-11-20 Thread Jeff Nowakowski
On 11/20/2011 01:49 PM, Nick Sabalausky wrote: All Mozilla has to do is Mozilla doesn't have to do anything. Why should they care that *you* are running with a browser 3 years out of security updates? According to Wikipedia [1], not even 1% of Firefox users out there still run version 2. [

Re: Website message overhaul

2011-11-20 Thread Nick Sabalausky
"Jeff Nowakowski" wrote in message news:jaboq8$269f$1...@digitalmars.com... > On 11/20/2011 01:49 PM, Nick Sabalausky wrote: >> >> All Mozilla has to do is > > Mozilla doesn't have to do anything. Why should they care that *you* are > running with a browser 3 years out of security updates? Accor

Re: Website message overhaul

2011-11-20 Thread Nick Sabalausky
"Andrei Alexandrescu" wrote in message news:jabkq4$1nu6$1...@digitalmars.com... > On 11/20/11 4:43 AM, Andrea Fontana wrote: >> I see that http://www.digitalmars.com/d/ redirect to >> http://www.d-programming-language.org/ using a meta http-equiv=refresh. >> >> You should redirect using a http 30

Re: Website message overhaul, pass 2

2011-11-20 Thread Jesse Phillips
On Sun, 20 Nov 2011 13:58:14 -0600, Andrei Alexandrescu wrote: > On 11/20/11 7:47 AM, Peter Alexander wrote: >> I think the point about the shebang line is unnecessary. It's a >> certainly a nice feature, but doesn't feel important enough to me to >> warrant being on the front-page trying to sell

Re: Website message overhaul

2011-11-20 Thread Xinok
On 11/18/2011 11:01 AM, Andrei Alexandrescu wrote: On 11/18/11 7:22 AM, Nick Sabalausky wrote: "Andrei Alexandrescu" wrote in message news:ja4fhd$2amk$1...@digitalmars.com... On 11/17/11 11:48 AM, Xinok wrote: What are its benefits? Higher productivity, fewer bugs, native speed, fast compilati

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Jesse Phillips
On Sun, 20 Nov 2011 15:12:27 -0500, dsimcha wrote: > On 11/20/2011 12:30 PM, Jonas Drewsen wrote: > If noone else wants to volunteer, I will again. Is there something I'm > missing? I find that being review manage takes very little effort: Post > an initial review announcement, post a reminder,

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Alex Rønne Petersen
On 20-11-2011 22:19, Jesse Phillips wrote: On Sun, 20 Nov 2011 15:12:27 -0500, dsimcha wrote: On 11/20/2011 12:30 PM, Jonas Drewsen wrote: If noone else wants to volunteer, I will again. Is there something I'm missing? I find that being review manage takes very little effort: Post an initial

Re: Website message overhaul, pass 2

2011-11-20 Thread Vladimir Panteleev
On Sun, 20 Nov 2011 10:40:09 +0200, Andrei Alexandrescu wrote: Thanks to all who provided feedback! I read again the entire thread, then made one more pass: http://d-programming-language.org/new/ I would like to humbly suggest a change in the punctuation of the top heading. From this:

Re: Deimos: Consistent structure?

2011-11-20 Thread Jude Young
On Sun 20 Nov 2011 02:20:18 PM CST, David Nadlinger wrote: > Hey all, > > currently, the 0mq and ncurses Deimos bindings place their modules in > the root (both package- and directory-wise), while the liblzma ones > use deimos.lzma and deimos.lzma_.*. > > The actual choice probably doesn't matter a

Re: Website message overhaul, pass 2

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 3:01 PM, Jesse Phillips wrote: On Sun, 20 Nov 2011 13:58:14 -0600, Andrei Alexandrescu wrote: On 11/20/11 7:47 AM, Peter Alexander wrote: I think the point about the shebang line is unnecessary. It's a certainly a nice feature, but doesn't feel important enough to me to warrant bei

Re: Website message overhaul

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 2:55 PM, Nick Sabalausky wrote: "Andrei Alexandrescu" wrote in message news:jabkq4$1nu6$1...@digitalmars.com... On 11/20/11 4:43 AM, Andrea Fontana wrote: I see that http://www.digitalmars.com/d/ redirect to http://www.d-programming-language.org/ using a meta http-equiv=refresh. Y

Re: Website message overhaul

2011-11-20 Thread Peter Alexander
On 20/11/11 8:15 PM, Walter Bright wrote: My view of what is multi-paradigm isn't binary, I know there's a continuum. But I think that saying Java supports imperative programming is quite a stretch. Saying Scala supports functional is also a stretch, because it supports only one of the three defi

Re: Website message overhaul

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 3:07 PM, Xinok wrote: On 11/18/2011 11:01 AM, Andrei Alexandrescu wrote: On 11/18/11 7:22 AM, Nick Sabalausky wrote: "Andrei Alexandrescu" wrote in message news:ja4fhd$2amk$1...@digitalmars.com... On 11/17/11 11:48 AM, Xinok wrote: What are its benefits? Higher productivity, fewer

Re: Website message overhaul, pass 2

2011-11-20 Thread Peter Alexander
On 20/11/11 7:58 PM, Andrei Alexandrescu wrote: "Without preventing virtual machine approaches, D naturally compiles to efficient native code." I would add onto the end of that "rivaling and often bettering the runtime performance of raw C and C++ code." That's what people really want to hear, an

Re: Website message overhaul

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 4:03 PM, Andrei Alexandrescu wrote: On 11/20/11 2:55 PM, Nick Sabalausky wrote: "Andrei Alexandrescu" wrote in message news:jabkq4$1nu6$1...@digitalmars.com... On 11/20/11 4:43 AM, Andrea Fontana wrote: I see that http://www.digitalmars.com/d/ redirect to http://www.d-programming-l

Re: Website message overhaul, pass 2

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 2:40 AM, Andrei Alexandrescu wrote: Thanks to all who provided feedback! I read again the entire thread, then made one more pass: http://d-programming-language.org/new/ I didn't make technical/aesthetic changes (JS/noJS, placement of news, links to secondary pages etc) so when provi

Re: Website message overhaul

2011-11-20 Thread Andrej Mitrovic
Btw, DMD still ships web files from digitalmars.com instead of the new one.

Common Issue in Shared Code

2011-11-20 Thread Andrew Wiley
About a month or so ago, I started trying to convert a codebase I've been working on into a multithreaded system, and I've been hitting this sort of thing over and over: // used as a field and as a local variable all over the codebase struct Data { int a,b,c; int total() { return a + b +

Re: Website message overhaul, pass 2

2011-11-20 Thread bearophile
Andrei Alexandrescu: > Thanks to all who provided feedback! I read again the entire thread, > then made one more pass: > > http://d-programming-language.org/new/ On Wikipedia they are asking for some changes: http://en.wikipedia.org/wiki/D_language (We don't want to use this on the front page

Re: Common Issue in Shared Code

2011-11-20 Thread Andrew Wiley
Gah, looks like I accidentally sent this as an HTML message, and the web newsreader stripped out part of the sample code ( http://digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=149624 ) Here's the message again in plain text: About a month or so ago, I started trying to

Re: The future of std.compiler

2011-11-20 Thread torhu
On 20.11.2011 20:44, Alex Rønne Petersen wrote: Hi, I recently sent some pull requests to move std.compiler into core.compiler. Sean Kelly raised the issue that druntime is very compiler-specific (i.e. GDC and LDC both have their own druntime forks). Given this, having it in druntime probably do

Re: Website message overhaul

2011-11-20 Thread bearophile
Walter: > Saying Scala supports functional is also a stretch, because it supports only > one > of the three defining characteristics of functional programming. It doesn't > even > support the other two in a half-assed manner, it doesn't support them at all. > > I didn't invent my own definiti

Re: std.csv accepted into Phobos

2011-11-20 Thread Jonathan M Davis
On Sunday, November 20, 2011 20:38:13 Jesse Phillips wrote: > On Sun, 20 Nov 2011 09:07:17 -0500, dsimcha wrote: > > I'm pleased to announce that, by a vote of 5-1, std.csv has been > > accepted into Phobos. Also, by a vote of 3-2 with one abstention, the > > community has decided on Version 2 of

Re: Website message overhaul, pass 2

2011-11-20 Thread Andrei Alexandrescu
On 11/20/11 4:45 PM, bearophile wrote: [snip] Thanks for your feedback! Operated a few changes. I think the example introduces too many concepts. Thanks again, Andrei

  1   2   >