Re: You don't like GC? Do you?

2018-10-15 Thread Eugene Wissner via Digitalmars-d
On Monday, 15 October 2018 at 05:26:56 UTC, Tony wrote: On Sunday, 14 October 2018 at 07:51:09 UTC, Stanislav Blinov wrote: That's a lamest excuse if I ever seen one. If you can't be bothered to acquire one of the most relevant skills for writing code for modern systems, then: a) Ideally, y

Re: D hash table comparison benchmark

2018-06-26 Thread Eugene Wissner via Digitalmars-d
On Tuesday, 26 June 2018 at 04:17:44 UTC, Nathan S. wrote: On Tuesday, 26 June 2018 at 03:45:27 UTC, Seb wrote: Did you by chance also benchmark it with other languages like C++, Go or Rust? I didn't since I was evaluating hashtable implementations for use in a D application. BTW I'm not su

Re: D hash table comparison benchmark

2018-06-26 Thread Eugene Wissner via Digitalmars-d
It seems it doesn't work with a branch in dub.sdl. I just replaced the files in ~/.dub/packages.

Re: D hash table comparison benchmark

2018-06-26 Thread Eugene Wissner via Digitalmars-d
On Tuesday, 26 June 2018 at 09:03:10 UTC, Eugene Wissner wrote: It seems it doesn't work with a branch in dub.sdl. I just replaced the files in ~/.dub/packages. And to make tanya perform better than built-in AAs in the first test, define a hash function: size_t hasher(int e) { return e;

Re: Disappointing performance from DMD/Phobos

2018-06-26 Thread Eugene Wissner via Digitalmars-d
On Tuesday, 26 June 2018 at 18:07:56 UTC, Manu wrote: On Tue, 26 Jun 2018 at 10:43, Iain Buclaw via Digitalmars-d wrote: On 26 June 2018 at 19:41, Manu via Digitalmars-d wrote: > On Mon, 25 Jun 2018 at 20:50, Nicholas Wilson via > Digitalmars-d wrote: >> >> Then use LDC! ;) > > Keep LDC u

Re: Compilation is taking a ton of memory

2018-06-28 Thread Eugene Wissner via Digitalmars-d
On Thursday, 28 June 2018 at 16:24:07 UTC, H. S. Teoh wrote: On Thu, Jun 28, 2018 at 04:11:57PM +, crimaniak via Digitalmars-d wrote: [...] The problem is aggravated by the fact that DUB compiles all the sources in one DMD launch. Doesn't dub have an option to compile packages (i.e. subdir

Re: Do you have usecases for opAssign?

2018-06-29 Thread Eugene Wissner via Digitalmars-d
On Friday, 29 June 2018 at 07:15:38 UTC, FeepingCreature wrote: I'm doing a pull request to rewrite Nullable to use moveEmplace/move to replace its internal value. I'm considering whether it's better to let Nullable destroy its existing value, then memcpy the new one over it (via move()), or if

Re: Do you have usecases for opAssign?

2018-06-29 Thread Eugene Wissner via Digitalmars-d
On Friday, 29 June 2018 at 07:37:46 UTC, FeepingCreature wrote: On Friday, 29 June 2018 at 07:31:42 UTC, Eugene Wissner wrote: You can move only exactly the same type. with opAssign you can assign a differnt type. So opAssign should forward assignment to the underlying type if you assign nor Nu

Re: std.experimental.collections.rcstring and its integration in Phobos

2018-07-18 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 18 July 2018 at 11:37:33 UTC, Seb wrote: On Tuesday, 17 July 2018 at 17:41:05 UTC, Jacob Carlborg wrote: On 2018-07-17 17:21, Seb wrote: - _no_ range by default (it needs an explicit `.by!{d,w,}char`) (as in no auto-decoding by default) What do you think about this approach? Do

Re: Faster printing of floats; is this something that D could benefit from?

2018-07-28 Thread Eugene Wissner via Digitalmars-d
On Saturday, 28 July 2018 at 16:02:22 UTC, Gary Willoughby wrote: I just saw this on hacker news: We present Ryū, a new routine to convert binary floating point numbers to their decimal representations using only fixed-size integer operations, and prove its correctness. Ryū is simpler and app

Re: Reimplementing software building blocks like malloc and free in D

2018-08-11 Thread Eugene Wissner via Digitalmars-d
On Saturday, 11 August 2018 at 18:59:00 UTC, Aruna Maurya wrote: Hello all! I am a Computer Science undergraduate student. Currently a junior, I find the idea of 're-implementing software building blocks like malloc and free in D' listed in the wiki page of SAOC(Symmetry Autumn of Code) quite

Re: Reimplementing software building blocks like malloc and free in D

2018-08-11 Thread Eugene Wissner via Digitalmars-d
On Sunday, 12 August 2018 at 05:24:56 UTC, Mike Franklin wrote: I wasn't aware of Eugene's implementation. At first glance it looks real nice. It appears to have some dependencies on other features of his Tanya library, so at a minimum, those will have to be removed or replaced. It depend

Re: Reimplementing software building blocks like malloc and free in D

2018-08-12 Thread Eugene Wissner via Digitalmars-d
On Sunday, 12 August 2018 at 06:44:37 UTC, Aruna Maurya wrote: On Sunday, 12 August 2018 at 05:24:56 UTC, Mike Franklin wrote: On Sunday, 12 August 2018 at 04:16:24 UTC, Aruna Maurya wrote: [...] I'd say there is only 1 requirement: implementing `malloc`, `realloc`, and `free` in idiomatic

Re: High-level vision for 2018 H2?

2018-08-18 Thread Eugene Wissner via Digitalmars-d
On Saturday, 18 August 2018 at 07:50:04 UTC, Dukc wrote: On Thursday, 16 August 2018 at 14:11:20 UTC, Andrei Alexandrescu wrote: we're working on a HOPL submission. What's HOPL? http://www.hopl.info/

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

2018-08-22 Thread Eugene Wissner via Digitalmars-d
On Thursday, 23 August 2018 at 03:50:44 UTC, Shachar Shemesh wrote: No, no and no. I was holding out on replying to this thread to see how the community would react. The vibe I'm getting, however, is that the people who are seeing D's problems have given up on affecting change. It is no sec

Re: D is dead

2018-08-22 Thread Eugene Wissner via Digitalmars-d
On Thursday, 23 August 2018 at 04:59:47 UTC, Dukc wrote: On Thursday, 23 August 2018 at 04:44:47 UTC, Shachar Shemesh wrote: But, again, it is interesting to see what you took from my mail. I think the biggest problem is lack of reviewers when making PR:s. The fact that we have D language fou

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

2018-08-23 Thread Eugene Wissner via Digitalmars-d
On Thursday, 23 August 2018 at 07:37:07 UTC, Iain Buclaw wrote: Symptom: The compiler can't discard unused symbols at compile time, and so it will spend a lot of time pointlessly optimising code. Problem: D has no notion of symbol visibility. Possible Solution: Make all globals hidden by defa

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

2018-08-24 Thread Eugene Wissner via Digitalmars-d
On Friday, 24 August 2018 at 12:25:58 UTC, Paolo Invernizzi wrote: 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

Re: I want change package name for dub , how to do it?

2018-08-27 Thread Eugene Wissner via Digitalmars-d
On Monday, 27 August 2018 at 10:25:42 UTC, Brian wrote: My team want change packages name: hunt -> hunt-framework entity -> hunt-entity database -> hunt-database cache -> hunt-cache How to do it? Must delete package before add it again? Yes. And change the name in dub.json/dub.sdl.

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

2018-08-28 Thread Eugene Wissner via Digitalmars-d
On Tuesday, 28 August 2018 at 07:53:34 UTC, Walter Bright wrote: Let's take the much-maligned D const. It isn't C++ const (let's call that "head-const", because that's what it is). Head-const for a function parameter tells us very little about what may happen to it in the function. You can pass

Re: This is why I don't use D.

2018-09-04 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 5 September 2018 at 05:44:38 UTC, H. S. Teoh wrote: On Wed, Sep 05, 2018 at 01:18:17AM +, James Blachly via Digitalmars-d wrote: On Wednesday, 5 September 2018 at 00:49:36 UTC, Everlast wrote: > I downloaded 3ddemo, extracted, built and I get these errors: > ... [...] Are yo

Re: Small @nogc experience report

2018-09-07 Thread Eugene Wissner via Digitalmars-d
On Friday, 7 September 2018 at 17:01:09 UTC, Meta wrote: Semi-unrelated, but I think you should open a bug for this one. I remember Andrei stating before that every function in std.algorithm except for LevehnsteinDistance(?) is @nogc, so he either missed topNCopy or the gc-ness of the function

Re: Small @nogc experience report

2018-09-07 Thread Eugene Wissner via Digitalmars-d
On Friday, 7 September 2018 at 16:44:05 UTC, Peter Alexander wrote: I recently wrote a small program of ~600 lines of code to solve an optimisation puzzle. Profiling showed that GC allocations were using non-trivial CPU, so I decided to try and apply @nogc to remove allocations. This is a small

Re: Proposal: __not(keyword)

2018-09-14 Thread Eugene Wissner via Digitalmars-d
On Friday, 14 September 2018 at 18:06:55 UTC, Adam D. Ruppe wrote: Here's the simple idea: __not(anything) just turns off whatever `anything` does in the compiler. __not(final) void foo() {} // turns off the final flag (if it is set) __not(@nogc) void foo() {} // turns off the @nogc flag (if i

Re: How do you use D?

2017-08-07 Thread Eugene Wissner via Digitalmars-d
I'm a self-employed web-developer, mostly working with PHP and Javascript and markup languages like HTML and stuff like CSS and SQL databases. On the other hand at school (in Russia) we began with QBasic, then Turbo Pascal and could choose if we use Turbo Pascal or something else for solving

Re: How do you use D?

2017-08-07 Thread Eugene Wissner via Digitalmars-d
On Tuesday, 8 August 2017 at 01:20:37 UTC, Nicholas Wilson wrote: On Monday, 7 August 2017 at 19:54:51 UTC, Eugene Wissner wrote: Yes. Everything I know about low-level network programming, assembler, memory management, I learned from my working on my library, tanya. OT but tanya's readme has

Re: Specifying @nogc on structs seems to have no effect

2017-09-19 Thread Eugene Wissner via Digitalmars-d
On Tuesday, 19 September 2017 at 13:11:03 UTC, Craig Black wrote: I've recently tried coding in D again after some years. One of my earlier concerns was the ability to code without the GC, which seemed difficult to pull off. To be clear, I want my programs to be garbage collected, but I want

Re: Will D continu to live after walter death?

2017-10-18 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 18 October 2017 at 09:54:41 UTC, moechofe wrote: Iain, Adam: Can I concider working with GCD, knowing that only 1 guy knows everything about the project? There are two people behind GDC, don't forget about Johannes Pfau. And don't forget that they are responsible only for the gl

Re: minimal object.d implementation that allows classes

2017-12-06 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 6 December 2017 at 17:17:40 UTC, Luís Marques wrote: Is there a small druntime/object.d implementation that allows basic support for classes, without bringing the whole druntime implementation with it? http://arsdnet.net/dcode/minimal.zip ?

Re: Status of @nogc with the runtime

2018-02-17 Thread Eugene Wissner via Digitalmars-d
On Saturday, 17 February 2018 at 12:18:28 UTC, Peter Campbell wrote: Hi everyone, it's been almost a year since I used D but I was wanted to get back into it. I was checking the 2017 vision pages and was wondering why there hasn't been a 2018H1 vision page but also what the current status of be

Re: #dbugfix Issue 15984

2018-03-07 Thread Eugene Wissner via Digitalmars-d
On Tuesday, 6 March 2018 at 17:36:08 UTC, Mario Kröplin wrote: [REG2.071] Interface contracts retrieve garbage instead of parameters https://issues.dlang.org/show_bug.cgi?id=15984 This regression from 2016 causes random crashes if you use one of the key features of D - Contract Programming.

Re: #dbugfix Issue 15984

2018-03-07 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 7 March 2018 at 12:04:11 UTC, nkm1 wrote: On Tuesday, 6 March 2018 at 17:36:08 UTC, Mario Kröplin wrote: [REG2.071] Interface contracts retrieve garbage instead of parameters https://issues.dlang.org/show_bug.cgi?id=15984 This regression from 2016 causes random crashes if you use

Re: Annotation programming in my design code ..

2017-01-06 Thread Eugene Wissner via Digitalmars-d
On Friday, 6 January 2017 at 17:44:13 UTC, Brian wrote: I would like to design features, how should I do? coding: class User { @GenerateProperty int id; @GenerateProperty string name; } struct GenerateProperty { this(string propertyName)

Re: Annotation programming in my design code ..

2017-01-08 Thread Eugene Wissner via Digitalmars-d
On Sunday, 8 January 2017 at 20:11:23 UTC, Brian wrote: On Friday, 6 January 2017 at 17:48:23 UTC, Eugene Wissner wrote: On Friday, 6 January 2017 at 17:44:13 UTC, Brian wrote: I would like to design features, how should I do? coding: class User { @GenerateProperty int id;

Re: Annotation programming in my design code ..

2017-01-09 Thread Eugene Wissner via Digitalmars-d
On Monday, 9 January 2017 at 18:41:31 UTC, Brian wrote: I see, man! If the parent class cannot generate code for a subclass, it's not as good as a high-level programing language. It isn't possible. mixin is interpeted at compile time and the parent class has no knowledge about its children.

Re: Cannot use auto ref passing in expression template operator overloads

2017-01-18 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 18 January 2017 at 10:49:43 UTC, Nordlöw wrote: Is there a way around this problem? I had the same problem with opSliceAssign, opIndexAssign lately.

Re: @safe containers with std.experimental.allocator

2017-01-20 Thread Eugene Wissner via Digitalmars-d
On Saturday, 21 January 2017 at 02:47:49 UTC, bitwise wrote: When std.experimental.allocator was created, I was under the impression it was meant to be used to make containers. But since allocate() returns void[], casts are required before using that memory, which is unsafe. Is my only option

Re: @safe containers with std.experimental.allocator

2017-01-20 Thread Eugene Wissner via Digitalmars-d
On Saturday, 21 January 2017 at 05:52:49 UTC, bitwise wrote: I hadn't noticed this, but I immediately see two problems: 1) there is no alignedDeallocate() which is needed because aligned allocators usually prepend metadata containing a pointer to the actual start of the memory to be passed to

Re: code.dlang.org internal server error

2017-02-07 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 8 February 2017 at 05:49:55 UTC, Ali Çehreli wrote: code.dlang.org gives the following error: 500 - Internal Server Error Internal Server Error Ali code.dlang.org is quite often down with the same errror.

Re: code.dlang.org internal server error

2017-02-08 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 8 February 2017 at 12:54:00 UTC, John Colvin wrote: On Wednesday, 8 February 2017 at 05:49:55 UTC, Ali Çehreli wrote: code.dlang.org gives the following error: 500 - Internal Server Error Internal Server Error Ali Seeing as code.dlang.org is pretty critical these days, it wou

Re: code.dlang.org major outage

2017-02-24 Thread Eugene Wissner via Digitalmars-d
On Friday, 24 February 2017 at 08:50:12 UTC, Sönke Ludwig wrote: Am 24.02.2017 um 01:46 schrieb Sönke Ludwig: Am 23.02.2017 um 23:55 schrieb Sönke Ludwig: The virtual server that is running code.dlang.org has frozen about an hour ago and fails to boot further than to the bootloader. Initial at

Re: Property access to a struct that contains struct

2017-02-26 Thread Eugene Wissner via Digitalmars-d
On Sunday, 26 February 2017 at 11:05:42 UTC, Guenter wrote: Hi, i do not understand where I am wrong in this code. I seems there is a missing constructor, but i have no idea where. module main; import std.stdio; struct A_t { int fvalue; A_t opCall() { return this; }; @pr

Re: Exceptions in @nogc code

2017-04-01 Thread Eugene Wissner via Digitalmars-d
On Saturday, 1 April 2017 at 14:54:21 UTC, deadalnix wrote: I'll repeat myself, even if I don't believe it'll be listened to at this point. The problem you want to address is not GC allocations, it is GC collection cycles. If everything is freed, then there is no GC problem. not only this, bu

Re: Exceptions in @nogc code

2017-04-01 Thread Eugene Wissner via Digitalmars-d
On Saturday, 1 April 2017 at 18:56:56 UTC, Guillaume Piolat wrote: (currently using @nogc exceptions with malloc+emplace and destroy+free) OK. The important bit imho is that exception don't become special class objects. ie. "scope new" is not specific to exceptions. The other @nogc blocker is

Re: Thoughts from newcommer

2017-04-11 Thread Eugene Wissner via Digitalmars-d
On Tuesday, 11 April 2017 at 20:48:13 UTC, Piotr Kowalski wrote: (All gc-ed langauges recommend static preallocation :P) ;) Thanks for replying. https://wiki.dlang.org/Vision/2017H1 Thanks, I have read that already, that's why I've asked about longer term. What about RAII? It's alrea

Re: DIP 1003 Formal Review

2017-05-12 Thread Eugene Wissner via Digitalmars-d
On Friday, 12 May 2017 at 16:17:03 UTC, Mike Parker wrote: The first stage of the formal review for DIP 1003 [1], "Remove body as a Keyword", is now underway. From now until 11:59 PM ET on May 26 (3:59 AM GMT on May 27), the community has the opportunity to provide last-minute feedback. If you

Re: DIP 1003 Formal Review

2017-05-13 Thread Eugene Wissner via Digitalmars-d
On Saturday, 13 May 2017 at 18:07:57 UTC, Timon Gehr wrote: On 13.05.2017 16:30, Petar Kirov [ZombineDev] wrote: On Saturday, 13 May 2017 at 10:27:25 UTC, Timon Gehr wrote: On 12.05.2017 18:17, Mike Parker wrote: The first stage of the formal review for DIP 1003 [1], "Remove body as a Keyword"

Re: DIP 1003 Formal Review

2017-05-16 Thread Eugene Wissner via Digitalmars-d
On Tuesday, 16 May 2017 at 18:34:06 UTC, Steven Schveighoffer wrote: On 5/12/17 12:17 PM, Mike Parker wrote: The first stage of the formal review for DIP 1003 [1], "Remove body as a Keyword", is now underway. From now until 11:59 PM ET on May 26 (3:59 AM GMT on May 27), the community has the op

Re: DIP 1003 Formal Review

2017-05-16 Thread Eugene Wissner via Digitalmars-d
On Tuesday, 16 May 2017 at 16:10:56 UTC, David Gileadi wrote: One possible substitute for the `function` keyword in option 2 could be `do`. I'm not convinced it's a good substitute, but I thought I'd throw it out there. Looks weird for a C-style language imho.

Re: DIP 1003 Formal Review

2017-05-16 Thread Eugene Wissner via Digitalmars-d
On Tuesday, 16 May 2017 at 19:18:43 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 16 May 2017 at 18:57:37 UTC, H. S. Teoh wrote: this ugly verbosity, but imagine how much better it would be if we could write something like this instead: int foo(T, U)(T t, U u) if (sigConstraints!

Re: DIP 1003 Formal Review

2017-05-16 Thread Eugene Wissner via Digitalmars-d
On Tuesday, 16 May 2017 at 19:24:43 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 16 May 2017 at 19:23:28 UTC, Eugene Wissner wrote: What about error messages. With asserts I get the line where the assert failed. Can I get an information which condition failed (sorry for the question, I don't kno

Re: DIP 1003 Formal Review

2017-05-16 Thread Eugene Wissner via Digitalmars-d
On Tuesday, 16 May 2017 at 19:25:25 UTC, Steven Schveighoffer wrote: On 5/16/17 2:48 PM, Eugene Wissner wrote: On Tuesday, 16 May 2017 at 18:34:06 UTC, Steven Schveighoffer wrote: 1) Consistency with functions without contracts. This only applies to the "naked" version which has ugly }{ in

Re: On "A New Collections Framework for the Standard Library"

2017-05-18 Thread Eugene Wissner via Digitalmars-d
On Thursday, 18 May 2017 at 15:18:00 UTC, Jack Stouffer wrote: I just got around to watching Eduard Staniloiu's talk at DConf [1] about the collections library he was working on. One thing seemed odd, in that Eduard seems to be saying that the container and the range over the container's elemen

Re: gdc is in

2017-06-21 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 21 June 2017 at 15:11:39 UTC, Joakim wrote: the gcc tree: https://gcc.gnu.org/ml/gcc/2017-06/msg00111.html Congratulations to Iain and the gdc team. :) I found out because it's on the front page of HN right now, where commenters are asking questions about D. Many thanks and co

Re: What is your favorite D feature?

2017-06-21 Thread Eugene Wissner via Digitalmars-d
On Thursday, 22 June 2017 at 00:48:25 UTC, Seb wrote: Hi, I am currently trying to modernize the D code example roulette on the dlang.org front page [1]. Hence, I would love to hear about your favorite feature(s) in D. Ideas: - favorite language construct - favorite code sample - "only possib

Re: Checked vs unchecked exceptions

2017-06-25 Thread Eugene Wissner via Digitalmars-d
http://forum.dlang.org/post/ullvxbfqeuztwecxc...@forum.dlang.org On Sunday, 25 June 2017 at 17:38:14 UTC, mckoder wrote: I am disappointed that D doesn't have checked exceptions. C++ and C# also don't have checked exceptions. Java has checked exceptions. Having programmed extensively in all th

Re: Serialization/deserialization of templated class

2017-06-27 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 28 June 2017 at 04:41:25 UTC, Dmitry Solomennikov wrote: Hi, guys! I have templated classes like this: class Some(T1) { T1 value; this(T1 _value){ value = _value; } } class Pair(T1, T2) { T1 first; T2 second; this(T1 _first, T2 _second){ first = _first; sec

Re: Serialization/deserialization of templated class

2017-06-27 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 28 June 2017 at 05:52:38 UTC, Dmitry Solomennikov wrote: On Wednesday, 28 June 2017 at 05:01:17 UTC, Eugene Wissner wrote: On Wednesday, 28 June 2017 at 04:41:25 UTC, Dmitry Solomennikov wrote: Probably if you have serialized data, you convert strings to other types, so it may

Re: Accessing memory after destroy

2017-07-29 Thread Eugene Wissner via Digitalmars-d
On Saturday, 29 July 2017 at 20:44:30 UTC, Johan Engelen wrote: I'd like to check a bit of info I need for Address Sanitizer checking. The spec says [1]: Use the destroy function to finalize an object by calling its destructor. The memory of the object is not immediately deallocated, instead

Re: The progress of D since 2013

2017-07-31 Thread Eugene Wissner via Digitalmars-d
On Monday, 31 July 2017 at 07:22:06 UTC, Maxim Fomin wrote: 4) What is the state of GDC/LDC? GDC team was actively working on including gdc in gcc project. Do gdc and ldc still pull D frontend, so there is essentially 1 frontend (where gdc and ldc frontends lag several versions behind) + 3 back

Re: Can I get more opinions on increasing the logo size on the site please

2016-02-10 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 10 February 2016 at 16:26:33 UTC, Gary Willoughby wrote: Can I get more opinions on increasing the logo size on the website please. See here for an example: https://github.com/D-Programming-Language/dlang.org/pull/1227 Destroy! I like the big one, it looks more solid. But I wou

Re: OT: Need help with translation D-faq to other languages

2016-02-18 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 17 February 2016 at 18:28:08 UTC, Suliman wrote: Hello, I wrote pretty good FAQ about D on Russian language. I need help with translation it to English and Germany and possible to other languages. http://dlang.ru/Why-D-is-Better I hope it people will like it, it will help to att

Re: OT: Need help with translation D-faq to other languages

2016-02-20 Thread Eugene Wissner via Digitalmars-d
On Friday, 19 February 2016 at 04:42:12 UTC, Suliman wrote: On Thursday, 18 February 2016 at 18:20:48 UTC, Eugene Wissner wrote: On Wednesday, 17 February 2016 at 18:28:08 UTC, Suliman wrote: Hello, I wrote pretty good FAQ about D on Russian language. I need help with translation it to English

Re: Free the DMD backend

2016-05-31 Thread Eugene Wissner via Digitalmars-d
On Tuesday, 31 May 2016 at 20:12:33 UTC, Russel Winder wrote: On Tue, 2016-05-31 at 10:09 +, Atila Neves via Digitalmars-d wrote:  […] No, no, no, no. We had LDC be the default already on Arch Linux for a while and it was a royal pain. I want to choose to use LDC when and if I need perfor

Re: Free the DMD backend

2016-06-02 Thread Eugene Wissner via Digitalmars-d
On Thursday, 2 June 2016 at 17:04:25 UTC, Basile B. wrote: On Sunday, 29 May 2016 at 03:52:33 UTC, open-source-guy wrote: Hi, this is a short ping about one of D's weaknesses - the restrictive license for the backend. IIRC [1, 2, 3] the status is that because some parts have been written by W

Re: Free the DMD backend

2016-06-02 Thread Eugene Wissner via Digitalmars-d
On Thursday, 2 June 2016 at 17:54:10 UTC, Basile B. wrote: On Thursday, 2 June 2016 at 17:32:25 UTC, Eugene Wissner wrote: On Thursday, 2 June 2016 at 17:04:25 UTC, Basile B. wrote: On Sunday, 29 May 2016 at 03:52:33 UTC, open-source-guy wrote: Hi, this is a short ping about one of D's weakne

Re: Free the DMD backend

2016-06-02 Thread Eugene Wissner via Digitalmars-d
On Thursday, 2 June 2016 at 18:16:33 UTC, Basile B. wrote: It's also that LDC is at front end 2.070 and GDC 2.067 ;););) GDC is actively maintained and it would have the latest features if more developers come, what would happen if it would be the reference compiler.

Re: About GC: The Future of Rust : GC integration

2016-06-07 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 8 June 2016 at 02:47:14 UTC, Dsby wrote: http://rustaceans.cologne/2016/06/06/rust-anniversary-part-2.html in sides 3. : The Future of Rust in the last 2 pages: •GC integration In rust, it will add the GC integration. but in our D, many people want to kill the GC.

Re: About GC: The Future of Rust : GC integration

2016-06-07 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 8 June 2016 at 03:19:18 UTC, Jack Stouffer wrote: On Wednesday, 8 June 2016 at 03:10:32 UTC, Eugene Wissner wrote: In D some very important things like exceptions depend on GC. This is a common misconception. Exceptions do not have to use the GC, they just often are. All you hav

Re: The worst Phobos template (in binderoo)

2016-09-29 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 14 September 2016 at 20:28:13 UTC, Stefan Koch wrote: On Wednesday, 14 September 2016 at 20:24:13 UTC, Stefan Koch wrote: I would like to see users of fullyQualifiedName because apart from binderoo code which seems to work, I have none. That was supposed to say : I would like t

Re: The worst Phobos template (in binderoo)

2016-09-29 Thread Eugene Wissner via Digitalmars-d
On Thursday, 29 September 2016 at 14:49:03 UTC, Stefan Koch wrote: The reason why this fails is because of the cast(Flag) which should be cast(Flag!"unsafe"). I can probably make it work tough, that means more special casing :) Yes, I know. See this topic for the first discussion: http://forum

Re: The worst Phobos template (in binderoo)

2016-09-29 Thread Eugene Wissner via Digitalmars-d
On Thursday, 29 September 2016 at 16:02:53 UTC, David Nadlinger wrote: This wouldn't be a correct use of the feature anyway, since it runs into all sorts of fundamental issues with imports/scoping, aliases and templates. Using .stringof/fullyQualifiedName to generate a reference to a type or

Re: URI parsing

2016-10-05 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 5 October 2016 at 10:19:08 UTC, John C wrote: What packages do people use when they want to parse URIs? I rolled my own but it's incomplete and as it's a fairly common need there must be one out there? In fact, I'm surprised there isn't one in Phobos yet. I also wrote a function

Re: ARC in D

2017-01-03 Thread Eugene Wissner via Digitalmars-d
On Monday, 2 January 2017 at 15:43:22 UTC, eugene wrote: hello everyone, is there any kind of smart pointers or something in D instead of GC? You may want to look into https://github.com/etcimon/memutils and https://github.com/caraus-ecms/tanya (source/tanya/memory/types).