Re: [OT] Windows dying

2017-11-07 Thread Walter Bright via Digitalmars-d
On 11/1/2017 11:42 AM, Bo wrote: And frankly, Walter or whoever, there needed to have been put a stop to this anti Windows bullshit several days ago. As long as people use this level of disrespect towards community members because they are not using the "right" platform. Don't worry, Windows

Re: Project Elvis

2017-11-07 Thread aberba via Digitalmars-d
On Monday, 6 November 2017 at 10:12:11 UTC, Jonathan M Davis wrote: On Monday, November 06, 2017 09:26:24 Satoshi via Digitalmars-d wrote: [...] _Everything_ that is added to the language complicates it further. It's one more thing that everyone learning the language has to learn and know an

Re: [OT] Windows dying

2017-11-07 Thread Walter Bright via Digitalmars-d
On 11/1/2017 11:59 AM, Adam D. Ruppe wrote: Windows 32 bit is the special one - it is the ONLY platform where D works out of the box without additional downloads. That's one reason why I advocate it for just playing around - it just works. Yay Digital Mars C++ :-)

Re: [OT] Windows dying

2017-11-07 Thread Tony via Digitalmars-d
On Monday, 6 November 2017 at 08:33:16 UTC, Joakim wrote: The vast majority of users would be covered by 5-10 GBs of available storage, which is why the lowest tier of even the luxury iPhone was 16 GBs until last year. Every time I talk to normal people, ie non-techies unlike us, and ask th

Re: [OT] mobile rising

2017-11-07 Thread Patrick Schluter via Digitalmars-d
On Wednesday, 8 November 2017 at 01:13:00 UTC, codephantom wrote: On Wednesday, 8 November 2017 at 00:09:51 UTC, Ola Fosheim Grøstad wrote: [...] Redhat have demonstrated that it can be done. GPL is not the obstacle. The obstacle is the desire to control/dominate a market. There, GPL will do

Re: [OT] Windows dying

2017-11-07 Thread Patrick Schluter via Digitalmars-d
On Tuesday, 7 November 2017 at 20:44:57 UTC, Jerry wrote: It's amazing how many people are so lazy to download Visual Studio, and some of the stupidest reason for not wanting to download it to boot. It has nothing to do with lazyness. If you're behind a proxy that abomination of a installer o

Re: Possible change to symbol protection

2017-11-07 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, November 08, 2017 02:52:14 bauss via Digitalmars-d wrote: > I believe it would be nice if we were allowed to pass symbols we > don't have access to into templates, but of course we shouldn't > be allowed to use them. > > Ex. > > foo.d > > ``` > module foo; > > private int bar; > ``` >

Possible change to symbol protection

2017-11-07 Thread bauss via Digitalmars-d
I believe it would be nice if we were allowed to pass symbols we don't have access to into templates, but of course we shouldn't be allowed to use them. Ex. foo.d ``` module foo; private int bar; ``` baz.d ``` template MyTemplate(alias Symbol) { ... } ... import foo; MyTemplate!bar;

Re: Project Elvis

2017-11-07 Thread Meta via Digitalmars-d
On Tuesday, 7 November 2017 at 13:43:20 UTC, user1234 wrote: On Monday, 6 November 2017 at 20:14:17 UTC, Meta wrote: [...] import std.stdio; writeln(safeDeref(tree).right.right.val.orElse(-1)); writeln(safeDeref(tree).left.right.left.right.orElse(null)); writeln(safeDeref(tree).left.right.left.r

Re: What are the unused but useful feature you know in D?

2017-11-07 Thread bauss via Digitalmars-d
On Wednesday, 8 November 2017 at 01:24:57 UTC, codephantom wrote: On Sunday, 25 June 2017 at 23:21:25 UTC, aberba wrote: Can you share feature(s) in D people are not talking about which you've found very useful? How about this feature: i.e. it actually compiles just fine ;-) //---

Re: What are the unused but useful feature you know in D?

2017-11-07 Thread codephantom via Digitalmars-d
On Sunday, 25 June 2017 at 23:21:25 UTC, aberba wrote: Can you share feature(s) in D people are not talking about which you've found very useful? How about this feature: i.e. it actually compiles just fine ;-) // module test; void m

Re: [OT] mobile rising

2017-11-07 Thread codephantom via Digitalmars-d
On Wednesday, 8 November 2017 at 00:09:51 UTC, Ola Fosheim Grøstad wrote: But frankly, I don't think many giants would start with a GPL code base like Linux. Redhat have demonstrated that it can be done. GPL is not the obstacle. The obstacle is the desire to control/dominate a market. There,

Re: [OT] Windows dying

2017-11-07 Thread Jerry via Digitalmars-d
On Tuesday, 7 November 2017 at 23:04:09 UTC, bauss wrote: On Tuesday, 7 November 2017 at 20:44:57 UTC, Jerry wrote: On Tuesday, 7 November 2017 at 19:10:50 UTC, bauss wrote: On Wednesday, 1 November 2017 at 18:59:21 UTC, Adam D. Ruppe wrote: On Wednesday, 1 November 2017 at 18:42:07 UTC, Bo wr

Re: [OT] mobile rising

2017-11-07 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 7 November 2017 at 19:46:04 UTC, Joakim wrote: Not at all, it makes things easier certainly, but there's a reason why mobile devs always test on the actual devices, because there are real differences. Mostly with low level stuff in my experience. Now, they're not going to dump 10-

Re: Proposal: Support for objects in switch statements

2017-11-07 Thread sarn via Digitalmars-d
On Monday, 6 November 2017 at 10:10:29 UTC, Atila Neves wrote: Checking for types at runtime is a code smell in OOP. Sometimes necessary, especially if doing multiple dispatch, but never done gladly. There's already a way to dispatch on type: virtual functions. Atila More on that: https://w

Re: [OT] Windows dying

2017-11-07 Thread bauss via Digitalmars-d
On Tuesday, 7 November 2017 at 20:44:57 UTC, Jerry wrote: On Tuesday, 7 November 2017 at 19:10:50 UTC, bauss wrote: On Wednesday, 1 November 2017 at 18:59:21 UTC, Adam D. Ruppe wrote: On Wednesday, 1 November 2017 at 18:42:07 UTC, Bo wrote: There is a issue with Windows. The whole attacking the

Re: [OT] Windows dying

2017-11-07 Thread Jerry via Digitalmars-d
On Tuesday, 7 November 2017 at 19:10:50 UTC, bauss wrote: On Wednesday, 1 November 2017 at 18:59:21 UTC, Adam D. Ruppe wrote: On Wednesday, 1 November 2017 at 18:42:07 UTC, Bo wrote: There is a issue with Windows. The whole attacking the messenger, the whole idiotic argumentation's that Windows

Re: What are the unused but useful feature you know in D?

2017-11-07 Thread Jon Degenhardt via Digitalmars-d
On Tuesday, 7 November 2017 at 17:15:02 UTC, Gary Willoughby wrote: On Sunday, 25 June 2017 at 23:21:25 UTC, aberba wrote: Can you share feature(s) in D people are not talking about which you've found very useful? Some of the best features are in the standard library. I've written about them

Re: [OT] mobile rising

2017-11-07 Thread Joakim via Digitalmars-d
On Tuesday, 7 November 2017 at 15:09:05 UTC, codephantom wrote: On Tuesday, 7 November 2017 at 14:33:28 UTC, Joakim wrote: Hopefully that means we'll see more competition in mobile than just android/iOS in the future. Watch out for the MINIX3/NetBSD combo...a microkernel coupled with a BSD-un

Re: [OT] Windows dying

2017-11-07 Thread bauss via Digitalmars-d
On Wednesday, 1 November 2017 at 18:59:21 UTC, Adam D. Ruppe wrote: On Wednesday, 1 November 2017 at 18:42:07 UTC, Bo wrote: There is a issue with Windows. The whole attacking the messenger, the whole idiotic argumentation's that Windows is dying, it is all pure useless trolling the people who

Re: Project Elvis

2017-11-07 Thread bauss via Digitalmars-d
On Tuesday, 7 November 2017 at 17:37:42 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 7 November 2017 at 17:27:30 UTC, bauss wrote: Which this operator has already proven to be in other successful languages. Not exactly this variation, but I get your point. On the other hand, so has hundreds of

Re: Project Elvis

2017-11-07 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 7 November 2017 at 17:27:30 UTC, bauss wrote: Which this operator has already proven to be in other successful languages. Not exactly this variation, but I get your point. On the other hand, so has hundreds of other operators from other languages... So which one should one not imp

Re: Project Elvis

2017-11-07 Thread bauss via Digitalmars-d
On Tuesday, 7 November 2017 at 16:32:50 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 7 November 2017 at 14:08:07 UTC, bauss wrote: I think we have a problem in this community to always bash down things with "It can be solved as a library.", "I don't see the value of this being added.", "I'm not

Re: What are the unused but useful feature you know in D?

2017-11-07 Thread Gary Willoughby via Digitalmars-d
On Sunday, 25 June 2017 at 23:21:25 UTC, aberba wrote: Can you share feature(s) in D people are not talking about which you've found very useful? Some of the best features are in the standard library. I've written about them here: http://nomad.so/2014/08/hidden-treasure-in-the-d-standard-lib

Re: Project Elvis

2017-11-07 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 7 November 2017 at 14:08:07 UTC, bauss wrote: I think we have a problem in this community to always bash down things with "It can be solved as a library.", "I don't see the value of this being added.", "I'm not going to use this feature, so nobody else will." It is considered good

Re: [OT] Windows dying

2017-11-07 Thread Arjan via Digitalmars-d
On Tuesday, 7 November 2017 at 13:59:26 UTC, codephantom wrote: But I think what really made it take off so fast and unexpectadly, was the convergence of mobile devices, mobile communication technology (i.e wifi, gps and stuff), and of course the internet... as well as the ability to find chea

Re: [OT] Windows dying

2017-11-07 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 7 November 2017 at 14:33:28 UTC, Joakim wrote: similarity of APIs between macOS and iOS, but obviously there are significant developer and IDE differences in targeting a mobile OS versus a desktop OS, even if iOS was initially forked from macOS. Not in my experience… There are som

Re: Project Elvis

2017-11-07 Thread jmh530 via Digitalmars-d
On Tuesday, 7 November 2017 at 14:08:07 UTC, bauss wrote: [snip] However there's another idiom to D, which is what I'll call the "high-level" idiom which is mostly people writing applications with libraries such as vibe.d, which heavily relies on classes and reference types passed around, rat

Re: [OT] Windows dying

2017-11-07 Thread codephantom via Digitalmars-d
On Tuesday, 7 November 2017 at 14:33:28 UTC, Joakim wrote: Hopefully that means we'll see more competition in mobile than just android/iOS in the future. Watch out for the MINIX3/NetBSD combo...a microkernel coupled with a BSD-unix that can run on pretty much anything. It may well be the fut

Re: [OT] Windows dying

2017-11-07 Thread jmh530 via Digitalmars-d
On Tuesday, 7 November 2017 at 14:43:14 UTC, Ola Fosheim Grøstad wrote: The CPU-architecture generations follow a tic-toc pattern where the tics mean you have a new architecture and the toc means you have an improved manufacturing process. I don't think that has something to do with Xeon.

Re: [OT] Windows dying

2017-11-07 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 7 November 2017 at 14:03:31 UTC, rikki cattermole wrote: The way I think of it is that Xeon's get all the newest and greatest features, with them slowly trickling down to the i-series. Invest in the Xeon production line one generation and in next use it for i7's ext. Basically R&D c

Re: [OT] Windows dying

2017-11-07 Thread Joakim via Digitalmars-d
On Tuesday, 7 November 2017 at 11:12:19 UTC, codephantom wrote: On Tuesday, 7 November 2017 at 08:53:46 UTC, Joakim wrote: No, the reason they don't improve is consumers don't need the performance. I don't agree. Consumers would welcome more performance - and many of us 'need' it too. The

Re: [OT] Windows dying

2017-11-07 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 7 November 2017 at 13:59:26 UTC, codephantom wrote: Microsoft had the vision though, and they had it earlier than perhaps anyone else. But the vision was too far ahead of its time, and, around the early 2000's they refused to lose any more money, put it on the back burner, and compe

Re: Project Elvis

2017-11-07 Thread bauss via Digitalmars-d
On Tuesday, 7 November 2017 at 13:36:19 UTC, Atila Neves wrote: On Monday, 6 November 2017 at 19:13:59 UTC, Adam Wilson wrote: On 10/28/17 04:38, Andrei Alexandrescu wrote: [...] C# has extensive experience with this operator and I think it would be wise to study the history of what they di

Re: [OT] Windows dying

2017-11-07 Thread rikki cattermole via Digitalmars-d
On 07/11/2017 1:48 PM, Ola Fosheim Grøstad wrote: On Tuesday, 7 November 2017 at 13:29:19 UTC, rikki cattermole wrote: On 07/11/2017 12:58 PM, Ola Fosheim Grøstad wrote: On Tuesday, 7 November 2017 at 11:31:03 UTC, rikki cattermole wrote: I am quite surprised that Intel even created i9 actually

Re: [OT] Windows dying

2017-11-07 Thread codephantom via Digitalmars-d
On Monday, 6 November 2017 at 08:33:16 UTC, Joakim wrote: Also, nobody saw mobile growing so gigantic, so fast, not even Jobs by all indications. Mobile has really been a tidal wave over the last decade. Funny how all you hear is bitching and whining from a bunch of devs on proggit/HN about h

Re: What are the unused but useful feature you know in D?

2017-11-07 Thread user1234 via Digitalmars-d
On Sunday, 25 June 2017 at 23:21:25 UTC, aberba wrote: Can you share feature(s) in D people are not talking about which you've found very useful? I see none. ¯\_(ツ)_/¯ Everything is more or less discussed and known. I was not surprised when i saw that the topic went OT since (almost) the be

Re: [OT] Windows dying

2017-11-07 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 7 November 2017 at 13:29:19 UTC, rikki cattermole wrote: On 07/11/2017 12:58 PM, Ola Fosheim Grøstad wrote: On Tuesday, 7 November 2017 at 11:31:03 UTC, rikki cattermole wrote: I am quite surprised that Intel even created i9 actually, it just wasn't required. AMD Ryzen Threadrippe

Re: Project Elvis

2017-11-07 Thread user1234 via Digitalmars-d
On Monday, 6 November 2017 at 20:14:17 UTC, Meta wrote: [...] import std.stdio; writeln(safeDeref(tree).right.right.val.orElse(-1)); writeln(safeDeref(tree).left.right.left.right.orElse(null)); writeln(safeDeref(tree).left.right.left.right.val.orElse(-1)); vs. writeln(tree?. right?.right?.val ?

Re: Project Elvis

2017-11-07 Thread Atila Neves via Digitalmars-d
On Monday, 6 November 2017 at 19:13:59 UTC, Adam Wilson wrote: On 10/28/17 04:38, Andrei Alexandrescu wrote: [...] C# has extensive experience with this operator and I think it would be wise to study the history of what they did and why the did it. NOTE: I understand that other languages ha

Re: [OT] Windows dying

2017-11-07 Thread rikki cattermole via Digitalmars-d
On 07/11/2017 12:58 PM, Ola Fosheim Grøstad wrote: On Tuesday, 7 November 2017 at 11:31:03 UTC, rikki cattermole wrote: I am quite surprised that Intel even created i9 actually, it just wasn't required. AMD Ryzen Threadripper: https://www.cpubenchmark.net/high_end_cpus.html I do not trust

Re: [OT] Windows dying

2017-11-07 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 7 November 2017 at 11:31:03 UTC, rikki cattermole wrote: I am quite surprised that Intel even created i9 actually, it just wasn't required. AMD Ryzen Threadripper: https://www.cpubenchmark.net/high_end_cpus.html

Re: Note from a donor

2017-11-07 Thread Maksim Fomin via Digitalmars-d
On Tuesday, 24 October 2017 at 13:20:10 UTC, Andrei Alexandrescu wrote: A person who donated to the Foundation made a small wish list known. Allow me to relay it: * better dll support for Windows. Andrei This should be better sent to Walter rather then here.

Re: Project Elvis

2017-11-07 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 7 November 2017 at 09:42:50 UTC, Satoshi wrote: I strongly agree with you. As I wrote earlier int this thread. Kotlin has the `?.` operator for the same reason. I honestly can't think of a more obvious operator for that purpose...

Re: [OT] Windows dying

2017-11-07 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 7 November 2017 at 08:53:46 UTC, Joakim wrote: One is a touch-first mobile OS that heavily restricts what you can do in the background and didn't even have a file manager until this year, while the other is a classic desktop OS, so there are significant differences. Yes, there are

Re: [OT] Windows dying

2017-11-07 Thread rikki cattermole via Digitalmars-d
On 07/11/2017 11:12 AM, codephantom wrote: On Tuesday, 7 November 2017 at 08:53:46 UTC, Joakim wrote: No, the reason they don't improve is consumers don't need the performance. I don't agree. Consumers would welcome more performance - and many of us 'need' it too. But cpu's have hit the h

Re: [OT] Windows dying

2017-11-07 Thread codephantom via Digitalmars-d
On Tuesday, 7 November 2017 at 08:53:46 UTC, Joakim wrote: No, the reason they don't improve is consumers don't need the performance. I don't agree. Consumers would welcome more performance - and many of us 'need' it too. But cpu's have hit the heat barrier, and so manufacturers tend to f

Re: Project Elvis

2017-11-07 Thread Satoshi via Digitalmars-d
On Monday, 6 November 2017 at 19:13:59 UTC, Adam Wilson wrote: On 10/28/17 04:38, Andrei Alexandrescu wrote: [...] C# has extensive experience with this operator and I think it would be wise to study the history of what they did and why the did it. NOTE: I understand that other languages ha

Re: What is the FreeBSD situation?

2017-11-07 Thread codephantom via Digitalmars-d
On Monday, 6 November 2017 at 22:25:48 UTC, Andrei Alexandrescu wrote: it seems binary compatibility is not provided across major versions. Correction: ABI changes 'may' occur between major releases, and your binary may or may not run correctly, depending on whether those ABI changes are rela

Re: [OT] Windows dying

2017-11-07 Thread Joakim via Digitalmars-d
On Tuesday, 7 November 2017 at 07:57:11 UTC, Ola Fosheim Grøstad wrote: On Monday, 6 November 2017 at 08:33:16 UTC, Joakim wrote: Sure, they took existing IDEs and refocused them towards mobile development. XCode better be focused on iOS, as that's pretty much all that devs are using it for th

Re: [OT] Windows dying

2017-11-07 Thread Ola Fosheim Grøstad via Digitalmars-d
On Monday, 6 November 2017 at 08:33:16 UTC, Joakim wrote: Sure, they took existing IDEs and refocused them towards mobile development. XCode better be focused on iOS, as that's pretty much all that devs are using it for these days. iOS has always been mostly a subset of OS-X. There are some