Re: D Binding to GUI libraries

2018-10-21 Thread Paolo Invernizzi via Digitalmars-d
On Sunday, 21 October 2018 at 07:33:45 UTC, Russel Winder wrote: The GTK/Qt battle on Linux was won by GTK+2 hence GNOME over KDE as the default for Debian and Fedora. Whether this was right or wrong is left as a choice for the reader! Linux is not only the desktop, and Qt simply dominates in

Re: Truly @nogc Exceptions?

2018-10-20 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 20 October 2018 at 14:56:37 UTC, Mike Parker wrote: On Saturday, 20 October 2018 at 13:48:32 UTC, Paolo Invernizzi wrote: If `@nogc` could be relaxed for `new Error` exactly for that reason, pieces of Phobos could be turned `@nogc`... But I admit that that change would be

Re: D Binding to GUI libraries

2018-10-20 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 20 October 2018 at 14:24:56 UTC, Russel Winder wrote: On Sat, 2018-10-20 at 12:43 +, tide via Digitalmars-d wrote: […] I mean it *may* work, but that isn't the problem if the developers completely lack support for the platform. I can download Qt with prebuilt libraries and i

Re: Truly @nogc Exceptions?

2018-10-20 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 20 September 2018 at 17:14:12 UTC, Steven Schveighoffer wrote: On 9/20/18 12:24 PM, Adam D. Ruppe wrote: On Thursday, 20 September 2018 at 15:52:03 UTC, Steven Schveighoffer wrote: I needed to know what the slice parameters that were failing were. Aye. Note that RangeError is cal

Re: Shared - Another Thread

2018-10-18 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 18 October 2018 at 21:14:54 UTC, Stanislav Blinov wrote: On Thursday, 18 October 2018 at 20:59:59 UTC, Erik van Velzen wrote: [...] Quite a simple reason: it was years ago, however old you are now you were younger and less experienced, and probably didn't understand something ba

Re: Shared - Another Thread

2018-10-18 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 17 October 2018 at 21:55:48 UTC, H. S. Teoh wrote: The problem, of course, is that they are also charged particles, and the electromagnetic forces that hold the atom in place would be greatly disturbed if two atoms were to occupy the same space simultaneously, leading to a (very

Re: shared - i need it to be useful

2018-10-18 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 18 October 2018 at 06:20:02 UTC, Manu wrote: On Wed, Oct 17, 2018 at 5:05 AM Timon Gehr via Digitalmars-d wrote: [... all text ...] OMFG, I just spent about 3 hours writing a super-detailed reply to all of Timon's posts in aggregate... I clicked send... and it's gone. I don't

Re: My statements related to terminating my SAoC relationship

2018-10-18 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 17 October 2018 at 20:03:23 UTC, lagfra wrote: On Monday, 15 October 2018 at 21:26:52 UTC, solidstate1991 wrote: I have done two mistakes: I underestimated the scope of the project and overestimated my capabilities. This caused a chain reaction, which in turn made the first milest

Re: Deep nesting vs early returns

2018-10-06 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 6 October 2018 at 18:55:48 UTC, Patrick Schluter wrote: On Saturday, 6 October 2018 at 05:36:59 UTC, Paolo Invernizzi wrote: [...] In the 90s I used to add the C preprocessor to other languages which lacked efficient constant definition (i.e. compile time constructs). AutoLISP

Re: Deep nesting vs early returns

2018-10-05 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 5 October 2018 at 19:04:26 UTC, Nick Sabalausky (Abscissa) wrote: On 10/04/2018 11:40 PM, rikki cattermole wrote: [...] It's not *my* statement about newer/older. If you recall the programming atmosphere around 2000, OO was widely being touted as a newer thing, superior to "old-fa

Re: DIP 1014

2018-10-04 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 4 October 2018 at 08:10:31 UTC, Shachar Shemesh wrote: On 04/10/18 11:05, Stanislav Blinov wrote: On Thursday, 4 October 2018 at 03:06:35 UTC, Shachar Shemesh wrote: [...] For the love of Pete, that program was an example of how a move hook should work, *not* a demonstration o

Re: OT: Bad translations

2018-09-27 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 27 September 2018 at 07:03:51 UTC, Andrea Fontana wrote: On Thursday, 27 September 2018 at 05:15:01 UTC, Ali Çehreli wrote: A delicious Turkish desert is "kabak tatlısı", made of squash. Now, it so happens that "kabak" also means "zucchini" in Turkish. Imagine my shock when I came

Re: Rather D1 then D2

2018-09-22 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 22 September 2018 at 16:22:31 UTC, Russel Winder wrote: This is just so reminiscent of the Python 2 / Python 3 fiasco. Python 3 was clearly an improvement over Python 2, but the way in which the changes came to the community caused a violent split. Even after many years, there are

Re: phobo's std.file is completely broke!

2018-09-18 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 19 September 2018 at 06:05:38 UTC, Vladimir Panteleev wrote: Operating on paths longer than MAX_PATH is not a typical situation. https://forum.rejectedsoftware.com/groups/rejectedsoftware.dub/thread/1499/ The worst situation was node.js on Windows, anyway...

Re: Forums intermittently going down?

2018-09-17 Thread Paolo Invernizzi via Digitalmars-d
On Monday, 17 September 2018 at 11:51:04 UTC, Vladimir Panteleev wrote: On Monday, 17 September 2018 at 11:02:39 UTC, Michael wrote: It has been occurring for the past two weeks now, at least. When I try to load the forum (on different networks) it will often hang for a while, and when it does

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-09-06 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 6 September 2018 at 07:23:57 UTC, Chris wrote: Seriously, people need to get over the fantasy that they can just use Unicode without understanding how Unicode works. Most of the time, you can get the illusion that it's working, but actually 99% of the time the code is actually wr

Re: extern(C++, ns) is wrong

2018-09-05 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 5 September 2018 at 05:32:43 UTC, Manu wrote: On Tue, 4 Sep 2018 at 21:40, Walter Bright via Digitalmars-d wrote: [...] "A handwavy description"! What do you mean? I started the email with the code... if you compiled it you would have reproduced those error messages. Yes the l

Re: D is dead (was: Dicebot on leaving D: It is anarchy driven development in all its glory.)

2018-09-03 Thread Paolo Invernizzi via Digitalmars-d
On Monday, 3 September 2018 at 14:26:46 UTC, Laeeth Isharc wrote: I just spoke with Dicebot about work stuff. He incidentally mentioned what I said before based on my impressions. The people doing work with a language have better things to do than spend a lot of time on forums. And I think

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-08-27 Thread Paolo Invernizzi via Digitalmars-d
On Monday, 27 August 2018 at 01:15:49 UTC, Laeeth Isharc wrote: It's simple, I went to GitLab to see the code of the tool, and I found the articles among the other projects of the author. I don't think he was very happy about the process around DIP1000 but I am not myself well placed to judge

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-08-26 Thread Paolo Invernizzi via Digitalmars-d
On Sunday, 26 August 2018 at 22:54:18 UTC, Walter Bright wrote: On 8/26/2018 1:55 PM, Walter Bright wrote: I will tiresomely ask again, do you have a list of each and every aspect of the poor integration? I know you don't like filing bug reports. I'll make it easy for you. Every time someon

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-08-25 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 24 August 2018 at 21:57:55 UTC, Meta wrote: On Friday, 24 August 2018 at 21:53:18 UTC, H. S. Teoh wrote: I think it's clear by now that most of D's woes are not really technical in nature, but managerial. Agreed. I'm not sure how to improve this situation, since I'm no manager t

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-08-24 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 24 August 2018 at 19:26:40 UTC, Walter Bright wrote: On 8/24/2018 6:04 AM, Chris wrote: For about a year I've had the feeling that D is moving too fast and going nowhere at the same time. D has to slow down and get stable. D is past the experimental stage. Too many people use it for

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-08-24 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 22 August 2018 at 11:59:37 UTC, Paolo Invernizzi wrote: Just found by chance, if someone is interested [1] [2]. /Paolo After having seen all the discussions around Mihails post in these days, I'm puzzled by one fact. There was no discussions around one paragraph: "

Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-08-22 Thread Paolo Invernizzi via Digitalmars-d
Just found by chance, if someone is interested [1] [2]. /Paolo [1] https://gitlab.com/mihails.strasuns/blog/blob/master/articles/on_leaving_d.md [2] https://blog.mist.global/articles/My_concerns_about_D_programming_language.html

Re: [OT] Re: C's Biggest Mistake on Hacker News

2018-07-28 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 28 July 2018 at 14:09:44 UTC, Laeeth Isharc wrote: On Saturday, 28 July 2018 at 13:55:31 UTC, Paolo Invernizzi Perceptions, expectations, prediction... an easy read I suggest on the latest trends [1], if someone is interested... I forgot the link... here it is: https

Re: [OT] Re: C's Biggest Mistake on Hacker News

2018-07-28 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 28 July 2018 at 12:43:55 UTC, Laeeth Isharc wrote: each project I start I give some very hard thought about which development environment I'm going to use, and D is often one of those options. The likely future of D on the different platforms is an important part of that assessme

Re: Looking for the article comparing D to Ada and others

2018-07-26 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 25 July 2018 at 21:59:52 UTC, Ali Çehreli wrote: Somebody had posted an article here on how well different languages matched certain requirements of a certain coding safety standards. I remember D was doing pretty well and I think Ada (or SPARK?) was included as well. What ar

Re: DIP 1016--ref T accepts r-values--Community Review Round 1

2018-07-25 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 25 July 2018 at 17:52:00 UTC, 12345swordy wrote: On Wednesday, 25 July 2018 at 16:43:38 UTC, Paolo Invernizzi wrote: That's an opinion, naturally. No I am expressing an argument not an opinion. I don't know what vocabulary you are used to consult, but your '

Re: DIP 1016--ref T accepts r-values--Community Review Round 1

2018-07-25 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 25 July 2018 at 13:36:38 UTC, 12345swordy wrote: On Wednesday, 25 July 2018 at 12:40:16 UTC, Paolo Invernizzi wrote: That proposal is a 'Syntactic Sugar' feature, that simply hide what normally need to be explicitly coded: proved a temp rvalue, pass it to a callable

Re: DIP 1016--ref T accepts r-values--Community Review Round 1

2018-07-25 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 25 July 2018 at 08:34:30 UTC, Manu wrote: With UFCS as a super popular feature of D, 'this' is not really much of a special guest at all. It's just as much the first argument of a function as the first argument of *any* UFCS call. Guido van Rossum has raised an objection on th

Re: DIP 1016--ref T accepts r-values--Community Review Round 1

2018-07-25 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 25 July 2018 at 02:21:18 UTC, Marco Leise wrote: Am Sat, 21 Jul 2018 19:22:05 + schrieb 12345swordy : On Saturday, 21 July 2018 at 08:55:59 UTC, Paolo Invernizzi wrote: > Frankly speaking, my feeling is that D is becoming a > horrible mess for the programmer... &g

Re: C's Biggest Mistake on Hacker News

2018-07-24 Thread Paolo Invernizzi via Digitalmars-d
On Tuesday, 24 July 2018 at 01:31:13 UTC, JohnB wrote: On Tuesday, 24 July 2018 at 00:41:54 UTC, RhyS wrote: Customers do not understand about programming. Your lucky if most clients can even get a proper specification formulated for what they want. If clients are that knowledgeable we do

Re: C's Biggest Mistake on Hacker News

2018-07-24 Thread Paolo Invernizzi via Digitalmars-d
On Tuesday, 24 July 2018 at 00:41:54 UTC, RhyS wrote: I am sorry to say but to succeed as a language beyond being a small or hobby language it takes: Being established already or having a big name to hype behind your "product". Anything beyond that will have topic derail and frankly, its more

Re: DIP 1016--ref T accepts r-values--Community Review Round 1

2018-07-21 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 21 July 2018 at 12:54:28 UTC, JohnB wrote: On Saturday, 21 July 2018 at 08:55:59 UTC, Paolo Invernizzi wrote: Frankly speaking, my feeling is that D is becoming a horrible mess for the programmer... I'm starting to think that only a D3, with a lot of thing reorganised wi

Re: DIP 1016--ref T accepts r-values--Community Review Round 1

2018-07-21 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 21 July 2018 at 05:40:24 UTC, Nicholas Wilson wrote: It is not just the avoiding copying, if it were I'm not sure I'd support it. For me the greatest benefit is the increase in readability due to not having useless temporaries everywhere in ref heavy code (that may not be under AP

Re: Sutter's ISO C++ Trip Report - The best compliment is when someone else steals your ideas....

2018-07-19 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 19 July 2018 at 09:44:16 UTC, Steven Schveighoffer wrote: On 7/18/18 1:58 AM, John Carter wrote: With web services, most of the time the shared state you want elsewhere anyway (to make it persistent), so it's a better fit for processes than most program domains. Sharing a _comp

Re: Sutter's ISO C++ Trip Report - The best compliment is when someone else steals your ideas....

2018-07-13 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 13 July 2018 at 13:15:39 UTC, Steven Schveighoffer wrote: On 7/13/18 8:55 AM, Adam D. Ruppe wrote: On Wednesday, 11 July 2018 at 12:45:40 UTC, crimaniak wrote: This error handling policy makes D not applicable for creating WEB applications and generally long-running services. You u

Re: Deprecating this(this)

2018-04-02 Thread Paolo Invernizzi via Digitalmars-d
On Monday, 2 April 2018 at 16:00:11 UTC, bachmeier wrote: On Monday, 2 April 2018 at 15:30:23 UTC, Paolo Invernizzi wrote: Andrei wrote in the message I am looking for folks to assist me in creating a DIP for that. There will be a _lot_ of work involved, so don't take it li

Re: Deprecating this(this)

2018-04-02 Thread Paolo Invernizzi via Digitalmars-d
On Monday, 2 April 2018 at 13:55:25 UTC, bachmeier wrote: No, the reason nothing gets done is because "that would break code" is used to kill every proposal that comes along. Someone that only responds to proposals with "write a DIP" proceeds to announce a major piece of the language will be d

Re: CTFE ^^ (pow)

2018-03-19 Thread Paolo Invernizzi via Digitalmars-d
On Monday, 19 March 2018 at 05:27:20 UTC, Norm wrote: On Monday, 19 March 2018 at 04:15:26 UTC, rikki cattermole wrote: On 19/03/2018 5:05 PM, Norm wrote: On Monday, 19 March 2018 at 03:53:07 UTC, rikki cattermole wrote: On 19/03/2018 4:43 PM, Norm wrote: [...] You just said the magic word,

Re: DIP 1006 - Preliminary Review Round 1

2018-03-07 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 7 March 2018 at 16:04:50 UTC, Timon Gehr wrote: On 07.03.2018 16:30, Paolo Invernizzi wrote: On Wednesday, 7 March 2018 at 15:26:01 UTC, Timon Gehr wrote: On 07.03.2018 15:08, Paolo Invernizzi wrote: On Wednesday, 7 March 2018 at 13:55:11 UTC, Jonathan M Davis wrote

Re: DIP 1006 - Preliminary Review Round 1

2018-03-07 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 7 March 2018 at 15:26:01 UTC, Timon Gehr wrote: On 07.03.2018 15:08, Paolo Invernizzi wrote: On Wednesday, 7 March 2018 at 13:55:11 UTC, Jonathan M Davis wrote: [...] Jonathan, I understand your point, but still I can't find an answer to clarify my doubts. Are we askin

Re: DIP 1006 - Preliminary Review Round 1

2018-03-07 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 7 March 2018 at 13:55:11 UTC, Jonathan M Davis wrote: On Wednesday, March 07, 2018 13:24:19 Paolo Invernizzi via Digitalmars-d wrote: [...] That would make assertions a lot worse to use, because then they would be in production code slowing it down. Also, as it stands

Re: DIP 1006 - Preliminary Review Round 1

2018-03-07 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 7 March 2018 at 13:32:37 UTC, ag0aep6g wrote: On Wednesday, 7 March 2018 at 08:58:50 UTC, Paolo Invernizzi wrote: Just to understand, otherwise, if the assert is removed and it does not hold, you are in UB, You're not. Just let the compiler treat the code as if the as

Re: DIP 1006 - Preliminary Review Round 1

2018-03-07 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 7 March 2018 at 11:52:05 UTC, Jonathan M Davis wrote: On Wednesday, March 07, 2018 09:22:40 Paolo Invernizzi via Digitalmars-d wrote: On Wednesday, 7 March 2018 at 09:11:10 UTC, Jonathan M Davis wrote: >> So, the request is to just leave assert active as a default >&

Re: DIP 1006 - Preliminary Review Round 1

2018-03-07 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 7 March 2018 at 09:11:10 UTC, Jonathan M Davis wrote: So, the request is to just leave assert active as a default in @safe code, like the bounds checks? No. I'm saying that no optimizations should be enabled which introduce potential memory corruption. Assertions should have z

Re: DIP 1006 - Preliminary Review Round 1

2018-03-07 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 7 March 2018 at 00:11:33 UTC, Timon Gehr wrote: On 06.03.2018 19:49, Paolo Invernizzi wrote: I simply don't understand why enforce or a custom check can't be used @safe code, if you want that behaviour. ... I have explained why. UB is non-modular and you don&

Re: DIP 1006 - Preliminary Review Round 1

2018-03-07 Thread Paolo Invernizzi via Digitalmars-d
On Tuesday, 6 March 2018 at 23:50:20 UTC, Timon Gehr wrote: On 06.03.2018 10:02, Walter Bright wrote: On 3/6/2018 12:45 AM, Timon Gehr wrote: Anyway, "do not use assert" is not the solution, as I have explained many times now. My interpretation is you want D assert to behave like C assert.

Re: DIP 1006 - Preliminary Review Round 1

2018-03-07 Thread Paolo Invernizzi via Digitalmars-d
On Tuesday, 6 March 2018 at 20:03:11 UTC, Jonathan M Davis wrote: On Tuesday, March 06, 2018 18:49:42 Paolo Invernizzi via Digitalmars-d wrote: I simply don't understand why enforce or a custom check can't be used @safe code, if you want that behaviour. If the program must HALT

Re: DIP 1006 - Preliminary Review Round 1

2018-03-06 Thread Paolo Invernizzi via Digitalmars-d
On Tuesday, 6 March 2018 at 17:34:08 UTC, 12345swordy wrote: On Tuesday, 6 March 2018 at 17:24:35 UTC, Jonathan M Davis wrote: On Tuesday, March 06, 2018 16:30:09 John Colvin via Digitalmars-d wrote: On Tuesday, 6 March 2018 at 02:05:58 UTC, Walter Bright wrote: > [...] So, to clarify, adding

Re: DIP 1006 - Preliminary Review Round 1

2018-03-06 Thread Paolo Invernizzi via Digitalmars-d
On Tuesday, 6 March 2018 at 16:30:09 UTC, John Colvin wrote: On Tuesday, 6 March 2018 at 02:05:58 UTC, Walter Bright wrote: On 3/5/2018 2:30 PM, John Colvin wrote: This just feels bad. Adding extra failsafes for my debug program shouldn't make my release program less safe. Then use `enforce()

Re: dip1000 state

2018-03-02 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 2 March 2018 at 18:07:34 UTC, carblue wrote: (It may be absolutely unrelated, but there once was a very productive and knowledgeable compiler et. al. contributor, 9rnsr, Hara Kenji; though not contributing to dmd since ~ 1.5 years any more, he's still ranked #1 in number of contrib

Re: Opt-in non-null class references?

2018-03-02 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 2 March 2018 at 10:41:05 UTC, Stefan Koch wrote: On Friday, 2 March 2018 at 09:59:53 UTC, deadalnix wrote: Honestly, this is not that hard. It's very hard in DMD because it doesn't go through an SSA like form at any point. It's rather disappointing to see the language spec being de

Re: C++ launched its community survey, too

2018-02-27 Thread Paolo Invernizzi via Digitalmars-d
On Tuesday, 27 February 2018 at 17:46:58 UTC, Adam D. Ruppe wrote: On Tuesday, 27 February 2018 at 17:41:07 UTC, H. S. Teoh wrote: And just about every new dmd release, people fume on this forum about regressions and gratuitous code breakages. Not all deprecations/code breakages are *regressio

Re: Postgres and other database interfaces

2018-02-24 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 24 February 2018 at 15:32:32 UTC, Adam D. Ruppe wrote: On Saturday, 24 February 2018 at 14:13:18 UTC, Joe wrote: Again, coming from Python, I'm familiar with RTD So I actually just made this extension to my dpldocs website: http://ddb.dpldocs.info/ddb.postgres.html You can try

Re: Postgres and other database interfaces

2018-02-24 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 24 February 2018 at 09:10:03 UTC, aberba wrote: On Saturday, 24 February 2018 at 08:32:38 UTC, Paolo Invernizzi wrote: On Saturday, 24 February 2018 at 07:57:47 UTC, aberba wrote: On Saturday, 24 February 2018 at 05:33:56 UTC, Joe wrote: 4. ddb. About the same number of

Re: Postgres and other database interfaces

2018-02-24 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 24 February 2018 at 07:57:47 UTC, aberba wrote: On Saturday, 24 February 2018 at 05:33:56 UTC, Joe wrote: 4. ddb. About the same number of downloads as the above. Implemented on top of front/backend protocol. No documentation although repository has a folder with two sample progr

Re: Annoyance with new integer promotion deprecations

2018-02-06 Thread Paolo Invernizzi via Digitalmars-d
On Monday, 5 February 2018 at 23:18:58 UTC, Timon Gehr wrote: On 05.02.2018 22:56, Walter Bright wrote: It's necessary. Working C expressions cannot be converted to D while introducing subtle changes in behavior. ... Neither byte nor dchar are C types. The idea is a byte can be implicitly

Re: Quora: Why hasn't D started to replace C++?

2018-02-02 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 2 February 2018 at 18:17:30 UTC, H. S. Teoh wrote: On Fri, Feb 02, 2018 at 03:06:57PM +, Mark via It has, to some extent. But the fundamental problem remains that more manpower is needed so that he can be freed up to do the more important things. Having to personally review all

Re: Quora: Why hasn't D started to replace C++?

2018-02-02 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 2 February 2018 at 08:21:33 UTC, Martin Tschierschke wrote: On Thursday, 1 February 2018 at 22:38:36 UTC, Walter Bright wrote: On 2/1/2018 3:11 AM, Martin Tschierschke wrote: Idea: There should be some kind of news ticker for all enhancements and important decisions, maybe at first j

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote: On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote: [...] Not sure why that's a bad thing. They all have their ups and downs: [...] That's the most refreshing post on D future since a long time. Thanks, really. /Paolo

Re: D as a betterC a game changer ?

2018-01-29 Thread Paolo Invernizzi via Digitalmars-d
On Monday, 29 January 2018 at 10:34:35 UTC, Russel Winder wrote: On Wed, 2017-12-27 at 19:11 +, Laeeth Isharc via Digitalmars-d wrote: […] People also continue to think and write as if the D Foundation has this inexhaustible fund of resources (pecuniary and people) that it can command to w

Re: Dscanner - DCD - Dfix ... Editor support or the lack of it.

2018-01-28 Thread Paolo Invernizzi via Digitalmars-d
On Sunday, 28 January 2018 at 08:40:35 UTC, Basile B. wrote: On Thursday, 25 January 2018 at 15:20:15 UTC, Benny wrote: You know you're not the first coming with this topic. I've developped a theory. You guys are looking for excuses to not get into D. If IDE were okay you would find something

Re: What don't you switch to GitHub issues

2018-01-06 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 5 January 2018 at 22:55:43 UTC, Adam D. Ruppe wrote: On Friday, 5 January 2018 at 22:45:15 UTC, Walter Bright wrote: I could easily spend 30 hours per day just reading the n.g. Learn threads tend to be quite short. Just skim the first post in a thread to see what people talk about.

Re: What don't you switch to GitHub issues

2018-01-05 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 5 January 2018 at 13:02:20 UTC, Andrei Alexandrescu wrote: On 1/5/18 6:04 AM, Paolo Invernizzi wrote: Andrei recently posted that he is following less the forums as he prefer to invest his time in a different way ... Adam suggested Walter to follow the 'learn' forum

Re: What do you want to see for a mature DLang?

2018-01-05 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 5 January 2018 at 01:29:04 UTC, Laeeth Isharc wrote: So it's highly unusual sets of people like that, or like the founders of Sociomantic, or like the EMSI guys, or Liran's guys at Weka that are likely to be D adopters in the next wave. Not people who can't see through error message

Re: What don't you switch to GitHub issues

2018-01-05 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 4 January 2018 at 19:06:14 UTC, Jonathan M Davis wrote: On Thursday, January 04, 2018 10:27:37 H. S. Teoh via Digitalmars-d wrote: On Thu, Jan 04, 2018 at 10:23:57AM +, Paolo Invernizzi via Digitalmars-d wrote: > On Thursday, 4 January 2018 at 07:47:41 UTC, H. S. Teoh >

Re: What don't you switch to GitHub issues

2018-01-05 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 4 January 2018 at 20:05:30 UTC, Steven Schveighoffer wrote: On 1/4/18 2:21 PM, H. S. Teoh wrote: Another person I miss is bearophile... while AFAIK he did not actually contribute code, he was very active in submitting bugs and enhancement requests, many of which led to significant

Re: Maybe D is right about GC after all !

2018-01-04 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 4 January 2018 at 10:18:29 UTC, Dan Partelly wrote: Id rather use a nice language as D to write new software, not to port old **working** tools which are only maintained and not developed to it. I see no sense for that. And the reality of having ported the DMD frontend to D and

Re: What don't you switch to GitHub issues

2018-01-04 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 4 January 2018 at 07:47:41 UTC, H. S. Teoh wrote: [...] I'm missing Kenji...

Re: D as a betterC a game changer ?

2017-12-27 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 27 December 2017 at 18:01:46 UTC, Russel Winder wrote: On Wed, 2017-12-27 at 16:50 +, Paolo Invernizzi via Digitalmars-d wrote: […] That's another things I really don't understand... The community know of C, obviously. They know of C++ and have consciously ignore

Re: D as a betterC a game changer ?

2017-12-27 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 27 December 2017 at 16:42:49 UTC, Russel Winder wrote: D wasn't an option here due to lack of knowledge by the GStreamer crew. That's another things I really don't understand... /Paolo

Re: Maybe D is right about GC after all !

2017-12-27 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 27 December 2017 at 15:37:22 UTC, rjframe wrote: On Tue, 26 Dec 2017 14:54:14 -0800, Walter Bright wrote: On 12/26/2017 1:03 AM, Paolo Invernizzi wrote: The point is that the presence of one @safe: line in the module can be mechanically checked, over one million devs working on

Re: Maybe D is right about GC after all !

2017-12-26 Thread Paolo Invernizzi via Digitalmars-d
On Tuesday, 26 December 2017 at 11:54:12 UTC, codephantom wrote: On Tuesday, 26 December 2017 at 10:00:25 UTC, Paolo Invernizzi wrote: IMHO, the lost list of vulnerability in code shipped by "first class enterprises" is just crying out that C/C++ is not mechanically checkable.

Re: Maybe D is right about GC after all !

2017-12-26 Thread Paolo Invernizzi via Digitalmars-d
On Tuesday, 26 December 2017 at 09:21:20 UTC, codephantom wrote: On Tuesday, 26 December 2017 at 09:03:31 UTC, Paolo Invernizzi wrote: The point is that the presence of one @safe: line in the module can be mechanically checked, over one million devs working on a codebase. The whole point

Re: Maybe D is right about GC after all !

2017-12-26 Thread Paolo Invernizzi via Digitalmars-d
On Tuesday, 26 December 2017 at 07:01:16 UTC, codephantom wrote: On Tuesday, 26 December 2017 at 04:47:35 UTC, Walter Bright wrote: Only if someone considers this as fixed: int foo(int* p) { return p[1]; } int bar(int i) { return foo(&i); } clang++ -c test.cpp -Wall good examp

Re: lld status

2017-12-22 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 22 December 2017 at 09:46:40 UTC, Jacob Carlborg wrote: On 2017-12-22 00:11, Atila Neves wrote: I tried lld on Linux for D binaries and some of them crash. That might not mean anything on Windows, but given that I've run into 2 dmd bugs so far in which picking one of ld.bfd or ld.g

Re: @ctfeonly

2017-12-08 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 8 December 2017 at 02:14:09 UTC, H. S. Teoh wrote: On Thu, Dec 07, 2017 at 07:20:57PM -0700, Jonathan M Davis via Digitalmars-d wrote: [...] In spite of the fact that CTFE is done at compile time, __ctfe is a runtime thing - it's just that it's runtime from the perspective of CTFE. S

Re: Website down: code.dlang.org

2017-11-28 Thread Paolo Invernizzi via Digitalmars-d
On Tuesday, 28 November 2017 at 15:33:39 UTC, Jack Stouffer wrote: On Monday, 27 November 2017 at 10:20:17 UTC, Chris wrote: There seems to be a problem with http://code.dlang.org/ at the moment (27.11.) Down again. And so it was my CI pipeline... /P

Re: D vs Rust

2017-09-03 Thread Paolo Invernizzi via Digitalmars-d
On Sunday, 3 September 2017 at 19:40:27 UTC, Ali Çehreli wrote: > Hi Bearophile! I'm afraid bearophile has moved to greener pastures. I've run into bearophile on Reddit on Rust-related threads. He uses a different name there. *sigh*

Re: Need some vibe.d hosting advice

2017-08-12 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 11 August 2017 at 13:06:54 UTC, aberba wrote: So I'm into this platform with a vibe.d api server + back-end and I'm confused/curious to know the hosting package to use. I will have a lot of images uploaded by users. [...] We are using dockerized vibe.d containers in a docker swarm

Re: Dub

2017-06-23 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 23 June 2017 at 10:38:23 UTC, Russel Winder wrote: 350 issues, 42 pull requests. I have to admit I am shocked. +1 /Paolo

Re: Replacing Make for the DMD build

2017-06-16 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 16 June 2017 at 07:00:10 UTC, Jacob Carlborg wrote: On 2017-06-16 08:30, Russel Winder via Digitalmars-d wrote: A direct question to Walter and Andrei really. If someone, let us say Russel Winder, create a CMake/Ninja and/or Meson/Ninja build for DMD, is there any chance of it being

Re: Makefile experts, unite!

2017-06-12 Thread Paolo Invernizzi via Digitalmars-d
On Monday, 12 June 2017 at 20:04:22 UTC, H. S. Teoh wrote: On Mon, Jun 12, 2017 at 10:41:13PM +0300, ketmar via we have to basically build the entire OS along with all its utilities and other application software that will run on it. ... and tup can do it [1]... ;-P /P [1] http://gittup.org

Re: CTFE Status 2

2017-06-06 Thread Paolo Invernizzi via Digitalmars-d
On Tuesday, 6 June 2017 at 18:51:58 UTC, H. S. Teoh wrote: Things like this make you *really* appreciate D features and the oft-maligned but life-saving GC. +1000! GC is an opportunity, not a burden! :-P /Paolo

Re: Bad array indexing is considered deadly

2017-06-04 Thread Paolo Invernizzi via Digitalmars-d
On Sunday, 4 June 2017 at 19:12:42 UTC, Jacob Carlborg wrote: On 2017-06-04 20:15, Joseph Rushton Wakeling wrote: On Friday, 2 June 2017 at 15:19:29 UTC, Andrei Alexandrescu wrote: Array bound accesses should be easy to intercept and have them just kill the current thread. Ideally, fiber, as

Re: Bad array indexing is considered deadly

2017-06-03 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 3 June 2017 at 10:47:36 UTC, Ola Fosheim Grøstad wrote: On Saturday, 3 June 2017 at 10:21:03 UTC, Paolo Invernizzi wrote: It doesn't seems to me that the trends to try to handle somehow, that something, somewhere, who knows when, has gone wild it's coherent wit

Re: Bad array indexing is considered deadly

2017-06-03 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 3 June 2017 at 09:48:05 UTC, Timon Gehr wrote: On 03.06.2017 08:55, Paolo Invernizzi wrote: On Friday, 2 June 2017 at 23:23:45 UTC, nohbdy wrote: It's exacerbated because Walter is in a mindset of writing mission-critical applications where any detectable bug means you ne

Re: Bad array indexing is considered deadly

2017-06-03 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 3 June 2017 at 07:51:55 UTC, Ola Fosheim Grøstad wrote: On Saturday, 3 June 2017 at 06:55:35 UTC, Paolo Invernizzi wrote: The worst thing happened in programming in the last 30 years is just that less and less programmers are adopting Walter mindset... Really? On the contrary

Re: Bad array indexing is considered deadly

2017-06-03 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 2 June 2017 at 23:23:45 UTC, nohbdy wrote: It's exacerbated because Walter is in a mindset of writing mission-critical applications where any detectable bug means you need to restart the program. Honestly, if I were writing flight control systems for Airbus, I could modify druntime

Re: Bad array indexing is considered deadly

2017-06-01 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 1 June 2017 at 19:20:01 UTC, Timon Gehr wrote: On 01.06.2017 10:47, Paolo Invernizzi wrote: On Thursday, 1 June 2017 at 06:11:43 UTC, H. S. Teoh wrote: On Thu, Jun 01, 2017 at 03:24:02AM +, John Carter via Digitalmars-d wrote: [...] [...] [...] Again, from an engineering

Re: Bad array indexing is considered deadly

2017-06-01 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 1 June 2017 at 18:54:51 UTC, Timon Gehr wrote: On 01.06.2017 14:25, Paolo Invernizzi wrote: I can detail exactly what happened in my code -- I am accepting dates from a given week from a web request. One of the dates fell outside the week, and so tried to access a 7 element

Re: Bad array indexing is considered deadly

2017-06-01 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 1 June 2017 at 10:26:24 UTC, Steven Schveighoffer wrote: On 5/31/17 9:05 PM, Walter Bright wrote: On 5/31/2017 6:04 AM, Steven Schveighoffer wrote: Technically this is a programming error, and a bug. But memory hasn't actually been corrupted. Since you don't know where the bad i

Re: Bad array indexing is considered deadly

2017-06-01 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 1 June 2017 at 06:11:43 UTC, H. S. Teoh wrote: On Thu, Jun 01, 2017 at 03:24:02AM +, John Carter via Digitalmars-d wrote: [...] [...] [...] Again, from an engineering standpoint, this is a tradeoff. [...] That's exactly the point: to use the right tool for the requirement

Re: Weak Eco System?

2017-05-17 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 17 May 2017 at 16:32:45 UTC, juanjux wrote: On Wednesday, 17 May 2017 at 11:08:00 UTC, ezneh wrote: [...] I use D with the Vim plugin, Dutyl. The installation of dependences is somewhat manual but once it installed it works perfectly well. Compared with the Go plugin the only t

Re: Walter and Andrei and community relationship management

2017-04-13 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 13 April 2017 at 11:31:12 UTC, Guillaume Piolat wrote: And the most impressive to me is actually the way Walter answers to D users. If you are reading this forum since years you know what I mean. I try to emulate some of this with customers. That's really true: I sincerely thin

Re: Can vibed be fast as Go or Python?

2017-03-29 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 29 March 2017 at 02:36:37 UTC, Laeeth Isharc wrote: Education isn't a bad idea, but I think hearing from people who are using it to do things is most powerful in persuading people at this stage. So the talks from Ethan of Remedy and Liran of Weka were very important That's exa

Re: More exception classes into Phobos?

2017-03-23 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 23 March 2017 at 11:56:45 UTC, rikki cattermole wrote: On 24/03/2017 12:29 AM, Ola Fosheim Grøstad wrote: On Thursday, 23 March 2017 at 11:15:45 UTC, Георгий wrote: On Thursday, 23 March 2017 at 11:09:33 UTC, Jonathan M Davis wrote: [...] I don't agree. On the web, in production

Re: memcpy() comparison: C, Rust, and D

2017-02-02 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 1 February 2017 at 23:49:29 UTC, H. S. Teoh wrote: On Wed, Feb 01, 2017 at 11:49:25PM +, Mike via We would love to change the defaults, but unfortunately that boat has already sailed a long time ago. If we could do it all over again, I'm sure a lot of defaults would be the o

Re: The extent of trust in errors and error handling

2017-02-02 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 1 February 2017 at 21:55:40 UTC, Dukc wrote: On Wednesday, 1 February 2017 at 19:25:07 UTC, Ali Çehreli Regarding that, I have trought that wouldn't it be better if it was bounds checking instead of debug vs release what determined if in contracts are called? If the contract had

  1   2   3   4   >