Re: Rename 'D' to 'D++'

2017-03-11 Thread meppl via Digitalmars-d
On Friday, 10 March 2017 at 11:25:11 UTC, Traktor TOni wrote: I think the name is just misleading, the D developers should at least be honest with themselves. look here: https://en.wikipedia.org/wiki/C_(programming_language)#History so, once upon a day there was _A_ssembler. then a

Re: DMD license question

2017-08-08 Thread meppl via Digitalmars-d
On Monday, 7 August 2017 at 21:28:52 UTC, Andre Pany wrote: Hi, as DMD is now under Boost Software License, can I distribute it as part of my commercial product? I want to provide script support within my application. The idea is to compile the scripts (D coding) to shared libraries and

Re: DMD license question

2017-08-08 Thread meppl via Digitalmars-d
... okay, the actual problem is i create libraries multiple times. i think dub doesnt allow me to explicitly build the depency-libraries as shared libraries (to avoid the multiplication). then maybe an alternate build system would make it possible. however, i wont employ this for now.

Re: Replacing Make for the DMD build

2017-06-19 Thread meppl via Digitalmars-d
On Monday, 19 June 2017 at 09:19:32 UTC, Dejan Lekic wrote: On Friday, 16 June 2017 at 06:30:01 UTC, Russel Winder 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

Re: DIP 1009--Improve Contract Usability--Preliminary Review Round 1

2017-06-21 Thread meppl via Digitalmars-d
On Wednesday, 21 June 2017 at 09:27:20 UTC, MysticZach wrote: On Wednesday, 21 June 2017 at 08:15:34 UTC, MysticZach wrote: On Wednesday, 21 June 2017 at 04:16:22 UTC, Moritz Maxeiner wrote: int myFunc(Args...)(Args args) if (Args.length > 2) in (args[0] != 0) in (args[1] > 1) out

Re: DIP 1009--Improve Contract Usability--Preliminary Review Round 1

2017-06-21 Thread meppl via Digitalmars-d
On Wednesday, 21 June 2017 at 12:05:55 UTC, Moritz Maxeiner wrote: On Wednesday, 21 June 2017 at 09:53:40 UTC, meppl wrote: On Wednesday, 21 June 2017 at 09:27:20 UTC, MysticZach wrote: On Wednesday, 21 June 2017 at 08:15:34 UTC, MysticZach wrote: On Wednesday, 21 June 2017 at 04:16:22 UTC,

Re: D needs to get its shit together!

2017-06-18 Thread meppl via Digitalmars-d
On Sunday, 18 June 2017 at 14:53:57 UTC, Wulfklaue wrote: But it really comes down in its most simple form: "Language good, library can use some work but useful, standard documentation disaster ( until you discover the library doc ), some people keep saying that. and i dont understand them. i

Re: Creating a dub library package that also comes with an executable

2017-06-18 Thread meppl via Digitalmars-d
On Sunday, 18 June 2017 at 16:51:41 UTC, Martin Nowak wrote: Might be interesting for more people. Just added a recipe to our dub cookbook (yes that exists). would be nice to make that Wiki ( https://github.com/dlang/dub/wiki ) more visible to people who visit http://code.dlang.org/

Re: Isn't it about time for D3?

2017-06-11 Thread meppl via Digitalmars-d
On Saturday, 10 June 2017 at 23:30:18 UTC, Liam McGillivray wrote: I realize that there are people who want to continue using D as it is, but those people may continue to use D2. Putting the breaking changes in a separate branch ensures that DM won't lose current clients as they can just

Re: Isn't it about time for D3?

2017-06-11 Thread meppl via Digitalmars-d
in my opinion starting with D3 is too early, because D-people dont even seem to know how exactly to implement new exciting features like "reference counting" (and how will "reference counting" work together with the new "scope"-feature?). So, if a D3 gets developed _now_, i guess the compiler

Re: Current limitations of -dip1000

2017-10-10 Thread meppl via Digitalmars-d
On Tuesday, 10 October 2017 at 09:55:13 UTC, meppl wrote: ... also, these differ: (with dmd v2.076.0) @safe: struct S { @safe: int* x; scope int* pointer() return { return x; } } int* testPointer() { S s; return s.pointer(); //

Re: Current limitations of -dip1000

2017-10-10 Thread meppl via Digitalmars-d
On Tuesday, 10 October 2017 at 02:37:21 UTC, Walter Bright wrote: On 10/9/2017 8:04 AM, Per Nordlöw wrote: ... Get rid of the templates, too. Replace T with int. Get rid of any of the layers of confusing complexity. ... this looks like an issue to me. If its a template the pointer can

dlang.org faq says dmd is licensed with norton license

2017-08-29 Thread meppl via Digitalmars-d
i incidentally noticed the FAQ claims the dmd-backend would be licensed under a norton license. i thought it is an outdated information: https://dlang.org/faq.html#q5 however, i also checked the source code and it turned out that some files dont contain the string "boost": $ fgrep -iLR

Re: dlang.org faq says dmd is licensed with norton license

2017-08-29 Thread meppl via Digitalmars-d
On Tuesday, 29 August 2017 at 06:56:13 UTC, Jonathan M Davis wrote: On Tuesday, August 29, 2017 06:43:19 meppl via Digitalmars-d wrote: ... Both the frontend and backend are now entirely under the Boost license. ... okay, PR was sent

Re: My two cents

2017-10-22 Thread meppl via Digitalmars-d
On Wednesday, 18 October 2017 at 08:56:21 UTC, Satoshi wrote: syntactic sugar for: tuples as far as i know there was the will to implement tuples in the language, but there is still a deprecation in the way: https://dlang.org/deprecate.html#Using%20the%20result%20of%20a%20comma%20expression

Re: My two cents

2017-10-22 Thread meppl via Digitalmars-d
On Sunday, 22 October 2017 at 15:07:10 UTC, meppl wrote: On Wednesday, 18 October 2017 at 08:56:21 UTC, Satoshi wrote: syntactic sugar for: tuples as far as i know there was the will to implement tuples in the language, but there is still a deprecation in the way:

Re: Project Elvis

2017-11-10 Thread meppl via Digitalmars-d
On Friday, 10 November 2017 at 05:23:53 UTC, Adam Wilson wrote: On 11/6/17 12:20, Michael wrote: I can't quite see why this proposal is such a big deal to people - as has been restated, it's just a quick change in the parser for a slight contraction in the code, and nothing language-breaking,

Re: @ctfeonly

2017-12-06 Thread meppl via Digitalmars-d
On Thursday, 7 December 2017 at 03:43:42 UTC, Nicholas Wilson wrote: ... Do you have any other ideas about how to achieve this other than an attribute? Having an attribute seems the most simple and straightforward. llvm has "Aggressive Dead Code Elimination"- and "Dead Code

Re: Adding Markdown to Ddoc

2017-12-10 Thread meppl via Digitalmars-d
On Sunday, 10 December 2017 at 06:20:43 UTC, Walter Bright wrote: On 12/9/2017 9:17 PM, meppl wrote: since commonmark exists, is specified and is compatibale to many markdown-languages,  I claim there is a markdown standard: http://spec.commonmark.org/ It certainly wants to be the standard,

Re: Adding Markdown to Ddoc

2017-12-12 Thread meppl via Digitalmars-d
On Tuesday, 12 December 2017 at 13:50:42 UTC, Bastiaan Veelo wrote: On Tuesday, 12 December 2017 at 11:48:24 UTC, Chris wrote: On Tuesday, 12 December 2017 at 11:33:45 UTC, Jonathan M Davis wrote: And then you have to worry about something like int* screwing with things, because the compiler

Re: Adding Markdown to Ddoc

2017-12-12 Thread meppl via Digitalmars-d
On Tuesday, 12 December 2017 at 06:55:45 UTC, Jonathan M Davis wrote: On Tuesday, December 05, 2017 20:11:33 Walter Bright via Digitalmars-d wrote: https://help.github.com/articles/basic-writing-and-formatting-syntax/ Anyone interested in picking up the flag? (I know this has come up before,

Re: Adding Markdown to Ddoc

2017-12-09 Thread meppl via Digitalmars-d
On Sunday, 10 December 2017 at 01:19:13 UTC, Walter Bright wrote: On 12/9/2017 12:23 PM, Jacob Carlborg wrote: On 2017-12-09 02:49, Walter Bright wrote: This is way overstating the case. Ddoc already supports some markdown, and some markdown in different ways. Yes, but I haven't yet seen

Re: My two cents

2017-10-25 Thread meppl via Digitalmars-d
On Friday, 20 October 2017 at 00:26:19 UTC, bauss wrote: On Wednesday, 18 October 2017 at 08:56:21 UTC, Satoshi wrote: conditional dereferencing and stuff about that (same as in C#) ... ... implement this thing from C# (just because it's cool) new Foo() { property1 = 42, property2 = "bar"

Re: My two cents

2017-10-22 Thread meppl via Digitalmars-d
On Sunday, 22 October 2017 at 01:02:06 UTC, EntangledQuanta wrote: On Wednesday, 18 October 2017 at 08:56:21 UTC, Satoshi wrote: ... These guys are old now and don't have the drive they used to have. It happens, part of life. Unfortunately they do not realize this and do not want to pass

Re: Module-level privacy

2018-05-13 Thread meppl via Digitalmars-d
On Sunday, 13 May 2018 at 05:51:07 UTC, KingJoffrey wrote: On Sunday, 13 May 2018 at 05:11:16 UTC, Neia Neutuladh wrote: [...] First, this thread was about extending the capabilities of classes in D with some new attribute/capability - sealed. I thought it was first important to point out,

Re: Sealed classes - would you want them in D?

2018-05-16 Thread meppl via Digitalmars-d
On Wednesday, 16 May 2018 at 03:12:03 UTC, Jonathan M Davis wrote: On Wednesday, May 16, 2018 02:39:22 KingJoffrey via Digitalmars-d wrote: On Tuesday, 15 May 2018 at 21:05:10 UTC, Jonathan M Davis wrote: > ... ... The best clarification I can find, regarding how D treat's private, is from

Re: extend foreach to work on non-arrays

2018-05-25 Thread meppl via Digitalmars-d
On Friday, 25 May 2018 at 03:34:43 UTC, IntegratedDimensions wrote: On Friday, 25 May 2018 at 02:43:39 UTC, Jordan Wilson wrote: On Thursday, 24 May 2018 at 23:22:56 UTC, IntegratedDimensions wrote: [...] 3rd outcome: noobs like me who read the forums who benefit from such discussion. Of

Re: Ideas for students' summer projects

2018-05-25 Thread meppl via Digitalmars-d
On Wednesday, 23 May 2018 at 01:51:35 UTC, Mike Franklin wrote: On Tuesday, 22 May 2018 at 16:27:05 UTC, Eduard Staniloiu wrote: Let the brainstorming begin! Make WebAssembly a thing in D. See https://forum.dlang.org/post/ejplfelcqsvjmdvxt...@forum.dlang.org Currently C++ and Rust

Re: extend foreach to work on non-arrays

2018-05-24 Thread meppl via Digitalmars-d
On Thursday, 24 May 2018 at 22:43:00 UTC, IntegratedDimensions wrote: Doesn't make any sense? foreach(a; x) if x is not an array then a = x and the loop reduces simply and function to the case it is not so their can be no harm. It unifies the concepts so that one does not have to worry if x

Re: A betterC base

2018-02-09 Thread meppl via Digitalmars-d
On Thursday, 8 February 2018 at 15:55:09 UTC, JN wrote: On Thursday, 8 February 2018 at 14:54:19 UTC, Adam D. Ruppe wrote: Garbage collection has proved to be a smashing success in the industry, providing productivity and memory-safety to programmers of all skill levels. Citation needed on

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

2018-07-20 Thread meppl via Digitalmars-d
On Friday, 20 July 2018 at 13:21:11 UTC, Jonathan M Davis wrote: On Friday, July 20, 2018 05:16:53 Mike Parker via Digitalmars-d wrote: ... ... Allowing ref to accept rvalues goes completely against the idea that ref is for passing an object so that it can be mutated and have its result

Re: Copy Constructor DIP

2018-07-13 Thread meppl via Digitalmars-d
On Thursday, 12 July 2018 at 20:29:43 UTC, Manu wrote: On Wed, 11 Jul 2018 at 23:55, RazvanN via Digitalmars-d wrote: > What's wrong with: > struct S { > this(ref S copyFrom); > } > > That looks like a perfectly good copy constructor > declaration ;) I'm just saying, the DIP needs to

Re: that is bug?

2018-04-07 Thread meppl via Digitalmars-d
On Saturday, 7 April 2018 at 10:25:19 UTC, bauss wrote: On Saturday, 7 April 2018 at 09:07:48 UTC, sdvcn wrote: true?stt="AA":stt="BB";-///Out:BB It's an UB. Not a bug. I want `condition ? expr1 : expr2` to behave like: - auto qc( alias condition, string expr1,

Re: Beta release DUB 1.0.0-beta.1

2016-06-07 Thread meppl via Digitalmars-d-announce
On Tuesday, 7 June 2016 at 09:54:19 UTC, Sönke Ludwig wrote: #!/usr/bin/env dub /++ dub.sdl: name "colortest" dependency "color" version="~>0.0.3" +/ this is exactly what i could make good use of for my scripting stuff. thank you for implementing

Re: DIP 1003: remove `body` as a keyword

2016-11-24 Thread meppl via Digitalmars-d-announce
Indentation syntax If we have an optional indentation syntax one day, those anonymous looking scopes behind functions may become weird things. int div(int a, int b) in { assert(b != 0); } { return a / b; } indentation: int div( int a, int b) in: assert( b != 0) : return a / b

Re: DConf 2018 Livestream

2018-05-04 Thread meppl via Digitalmars-d-announce
On Friday, 4 May 2018 at 06:19:13 UTC, meppl wrote: On Friday, 4 May 2018 at 04:39:16 UTC, Nemanja Boric wrote: On Friday, 4 May 2018 at 00:09:53 UTC, Nick Sabalausky (Abscissa) wrote: On 05/03/2018 11:12 AM, Nemanja Boric wrote: [...] It's working for me:

Re: LDC 1.9.0 beta

2018-04-25 Thread meppl via Digitalmars-d-announce
On Tuesday, 24 April 2018 at 15:53:23 UTC, Joakim wrote: On Monday, 23 April 2018 at 09:18:07 UTC, Suliman wrote: What about Webassembly support? Latest LLVM suppport it, so LDC should support also. We don't support a lot of platforms that llvm supports. It will require someone to work on

Re: DConf 2018 Livestream

2018-05-04 Thread meppl via Digitalmars-d-announce
On Friday, 4 May 2018 at 04:39:16 UTC, Nemanja Boric wrote: On Friday, 4 May 2018 at 00:09:53 UTC, Nick Sabalausky (Abscissa) wrote: On 05/03/2018 11:12 AM, Nemanja Boric wrote: On Thursday, 3 May 2018 at 12:24:16 UTC, Per Nordlöw wrote: [...] It looks like you can just watch inside last

Re: Return value in BetterC mode.

2018-02-17 Thread meppl via Digitalmars-d-learn
On Saturday, 17 February 2018 at 07:58:40 UTC, ANtlord wrote: Hello! Yesterday I found an interesting issue for myself while I was implementing unique pointer for my project in BetterC. When I was trying to return new instance from a `move` method I got calling of destructor the instance.

Re: Beta 2.079.0

2018-02-20 Thread meppl via Digitalmars-d-announce
On Monday, 19 February 2018 at 23:37:49 UTC, Mike Franklin wrote: On Monday, 19 February 2018 at 18:50:47 UTC, Dukc wrote: ... Mike @"16.": https://dlang.org/changelog/2.079.0.html#minimal_runtime So, now someone could "easily" write his own memory managment for allocations who would be

Re: Return value in BetterC mode.

2018-02-18 Thread meppl via Digitalmars-d-learn
On Saturday, 17 February 2018 at 13:47:28 UTC, meppl wrote: On Saturday, 17 February 2018 at 07:58:40 UTC, ANtlord wrote: ... ... sadly I have no good idea how to name the title of that issue :/ I looked at it again and came up with a title name:

Re: The ShionKeys project has quietly raised money on indiegogo

2018-01-18 Thread meppl via Digitalmars-d-announce
On Tuesday, 16 January 2018 at 19:15:52 UTC, artishu wrote: On Monday, 15 January 2018 at 06:54:04 UTC, ShionKeys wrote: ShionKeys: I want to change the world World: You will be alone ... ... https://igg.me/at/ShionKeys/x/17399884 https://vimeo. speak more about benefit's: how long does it

Re: Equivalent to Python with Statement

2018-02-28 Thread meppl via Digitalmars-d-learn
On Wednesday, 28 February 2018 at 22:00:11 UTC, meppl wrote: On Wednesday, 28 February 2018 at 21:47:40 UTC, Cym13 wrote: On Tuesday, 27 February 2018 at 16:17:20 UTC, Jonathan wrote: [...] Others have discussed that particular case at length, but to provide a more generic answer the

Re: Equivalent to Python with Statement

2018-02-28 Thread meppl via Digitalmars-d-learn
On Wednesday, 28 February 2018 at 21:47:40 UTC, Cym13 wrote: On Tuesday, 27 February 2018 at 16:17:20 UTC, Jonathan wrote: [...] Others have discussed that particular case at length, but to provide a more generic answer the correct way to translate a python context manager is to use

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-26 Thread meppl via Digitalmars-d-announce
On Tuesday, 27 March 2018 at 01:25:42 UTC, timotheecour wrote: D and nim are both very promising. I created this git repo to compare them: https://github.com/timotheecour/D_vs_nim/ Goal: up to date and objective comparison of features between D and nim (to help deciding what language to use),

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-28 Thread meppl via Digitalmars-d-announce
On Tuesday, 27 March 2018 at 04:46:21 UTC, meppl wrote: On Tuesday, 27 March 2018 at 01:25:42 UTC, timotheecour wrote: ... Sometimes I want to use a debugger like gdc. If it works, it can be really useful. I skipped trying out Nim, because debugging was not really supported. I wonder, if

Re: Beta 2.079.0

2018-03-30 Thread meppl via Digitalmars-d-announce
On Saturday, 31 March 2018 at 00:25:47 UTC, Seb wrote: On Tuesday, 20 February 2018 at 08:43:50 UTC, Martin Nowak wrote: On Monday, 19 February 2018 at 15:58:57 UTC, Joakim wrote: [...] No need to use it if you don't like it. It's particularly useful for small examples, localized imports

Re: State of D 2018 Survey

2018-03-04 Thread meppl via Digitalmars-d-announce
On Wednesday, 28 February 2018 at 13:41:56 UTC, Mike Parker wrote: https://seb134.typeform.com/to/H1GTak I might have overseen it, but in the survey I missed the feature "being able to allocate withing @nogc-CTFE-functions". Some people want to promote a @nogc library and they cant use