Re: Rather D1 then D2

2018-09-23 Thread Neia Neutuladh via Digitalmars-d
On Saturday, 22 September 2018 at 20:34:50 UTC, 0xEAB wrote: On Saturday, 22 September 2018 at 19:41:16 UTC, JN wrote: Some code will break, sure, but it's a mechanical change that should be possible to apply by some tool. Who will run this tool? Who's gonna merge the PRs created with this

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread aliak via Digitalmars-d
On Friday, 21 September 2018 at 20:25:54 UTC, Walter Bright wrote: When I originally started with D, I thought non-ASCII identifiers with Unicode was a good idea. I've since slowly become less and less enthusiastic about it. First off, D source text simply must (and does) fully support

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread aliak via Digitalmars-d
On Saturday, 22 September 2018 at 19:59:42 UTC, Erik van Velzen wrote: If there was a contingent of Japanese or Chinese users doing that then surely they would speak up here or in Bugzilla to advocate for this feature? https://forum.dlang.org/post/piwvbtetcwyxlaloc...@forum.dlang.org

Re: Rather D1 then D2

2018-09-23 Thread Neia Neutuladh via Digitalmars-d
On Sunday, 23 September 2018 at 13:55:02 UTC, Guillaume Piolat wrote: AFAIK if you port D1 code the only problem is with immutable(char)[] instead of string, and the only thing to know is that immutable(T) and T implicitely convert to const(T). A lot of D1 code was 32-bit only, so there will

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread Shachar Shemesh via Digitalmars-d
On 23/09/18 04:29, sarn wrote: On Sunday, 23 September 2018 at 00:18:06 UTC, Adam D. Ruppe wrote: I have seen Japanese D code before on twitter, but cannot find it now (surely because the search engines also share this bias). You can find a lot more Japanese D code on this blogging platform:

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread Ali Çehreli via Digitalmars-d
On 09/21/2018 04:18 PM, Adam D. Ruppe wrote: > Well, for example, with a Chinese company, they may very well find > forced English identifiers to be an annoyance. Fully aggreed but as far as I know, Turkish companies use English in source code. Turkish alphabet is Latin based where dotted

[Issue 19260] extern(C++) `T* const` mangling

2018-09-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19260 ki...@gmx.net changed: What|Removed |Added CC||ki...@gmx.net --- Comment #1 from

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread Ali Çehreli via Digitalmars-d
On 09/22/2018 09:27 AM, Neia Neutuladh wrote: > Logographic writing systems. There is one logographic writing system > still in common use, and it's the standard writing system for Chinese > and Japanese. I had the misconception of each Chinese character meaning a word until I read "The

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread Kagamin via Digitalmars-d
On Friday, 21 September 2018 at 23:17:42 UTC, Seb wrote: A: Wait. Using emojis as identifiers is not a good idea? B: Yes. A: But the cool kids are doing it: https://codepen.io/andresgalante/pen/jbGqXj It's not like we have a lot of good fonts (I know only one), and even fewer of them are

Re: SerialPort

2018-09-23 Thread dangbinghoo via Digitalmars-d-learn
On Thursday, 20 September 2018 at 10:51:52 UTC, braboar wrote: I am going to play with serial port read/write, so I fetched serial-port. After that, I wrote simple program: auto port_name = "/dev/ttyUSB1"; auto reader = new SerialPort(port_name); reader.dataBits(DataBits.data8);

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread Kagamin via Digitalmars-d
On Sunday, 23 September 2018 at 11:18:42 UTC, Ali Çehreli wrote: Hence, non-Unicode is unacceptable in Turkish code You even contributed to http://code.google.com/p/trileri/source/browse/trunk/tr/yazi.d

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread sarn via Digitalmars-d
On Sunday, 23 September 2018 at 06:53:21 UTC, Shachar Shemesh wrote: On 23/09/18 04:29, sarn wrote: You can find a lot more Japanese D code on this blogging platform: https://qiita.com/tags/dlang Here's the most recent post to save you a click:

Re: Rather D1 then D2

2018-09-23 Thread Guillaume Piolat via Digitalmars-d
On Saturday, 22 September 2018 at 13:22:03 UTC, new wrote: On Saturday, 22 September 2018 at 10:53:25 UTC, bauss wrote: On Saturday, 22 September 2018 at 09:42:48 UTC, Jonathan Marler wrote: I'd be interested to hear/read about the features that some developers don't like with D2. I'm

Re: Rather D1 then D2

2018-09-23 Thread JN via Digitalmars-d
On Sunday, 23 September 2018 at 13:55:02 UTC, Guillaume Piolat wrote: A lot of things are objectively better like build systems, ecosystems, stability, meta-programming, CTFE, OPTLINK, Phobos... I wouldn't say meta-programming and CTFE are 'objectively' better. It could be argued that such

Compile-time branching on type size between segregator members during segregator. allocate()

2018-09-23 Thread Per Nordlöw via Digitalmars-d
After looking at https://www.youtube.com/watch?v=kaA3HPgowwY and std.experimental.allocator.building_blocks.segregator.Segregator I wonder if Segregator.allocate() is missing an important optimization on calls to someSegregatorInstance.make!T() where the choice of selecting the

Re: Rather D1 then D2

2018-09-23 Thread aliak via Digitalmars-d
On Saturday, 22 September 2018 at 19:04:41 UTC, Henrik wrote: On Saturday, 22 September 2018 at 15:45:09 UTC, Jonathan Marler wrote: On Saturday, 22 September 2018 at 15:25:32 UTC, aberba wrote: [...] Yeah there's been alot of discussion around it over the years, which is why I put this

[Issue 14064] Error message about @ attributes incomplete.

2018-09-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14064 wolframw changed: What|Removed |Added Status|NEW |ASSIGNED CC|

Re: Jai compiles 80,000 lines of code in under a second

2018-09-23 Thread FromAnotherPlanet via Digitalmars-d
On Sunday, 23 September 2018 at 21:15:17 UTC, FromAnotherPlanet wrote: On Friday, 21 September 2018 at 06:34:47 UTC, Vladimir Panteleev wrote: On Friday, 21 September 2018 at 06:30:40 UTC, Walter Bright wrote: On 9/20/2018 10:11 PM, mate wrote: Note that the build can be done at compile time

Re: Jai compiles 80,000 lines of code in under a second

2018-09-23 Thread FromAnotherPlanet via Digitalmars-d
On Friday, 21 September 2018 at 06:34:47 UTC, Vladimir Panteleev wrote: On Friday, 21 September 2018 at 06:30:40 UTC, Walter Bright wrote: On 9/20/2018 10:11 PM, mate wrote: Note that the build can be done at compile time because the metaprogramming capabilities of the language are not limited

Re: Webassembly TodoMVC

2018-09-23 Thread aberba via Digitalmars-d-announce
On Saturday, 22 September 2018 at 19:51:48 UTC, Sebastiaan Koppe wrote: On Saturday, 22 September 2018 at 14:54:29 UTC, aberba wrote: Can the SPA code be released as a separate module for WebAssembly web app development? Currently the whole thing is not so developer-friendly, it was just the

Re: Webassembly TodoMVC

2018-09-23 Thread Paolo Invernizzi via Digitalmars-d-announce
On Sunday, 23 September 2018 at 17:53:32 UTC, Suliman wrote: What do you think of the struct approach compared to a traditional jsx/virtual-dom? jsx is sucks. Look at Vue.js way, if you will able to fo you framework Vue-style it will be perfect! Being a Vue user for three years now, I

Re: Webassembly TodoMVC

2018-09-23 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Sunday, 23 September 2018 at 17:53:32 UTC, Suliman wrote: What do you think of the struct approach compared to a traditional jsx/virtual-dom? jsx is sucks. Look at Vue.js way, if you will able to fo you framework Vue-style it will be perfect! The reason I made this wasm experiment was not

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread Abdulhaq via Digitalmars-d
On Saturday, 22 September 2018 at 08:52:32 UTC, Jonathan M Davis wrote: Honestly, I was horrified to find out that emojis were even in Unicode. It makes no sense whatsover. Emojis are supposed to be sequences of characters that can be interepreted as images. Treating them like Unicode

[Issue 19261] New: Cmdline option to enumerate builtin versions

2018-09-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19261 Issue ID: 19261 Summary: Cmdline option to enumerate builtin versions Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread Walter Bright via Digitalmars-d
On 9/23/2018 9:52 AM, aliak wrote: Not seeing identifiers in languages you don't program in or can read in is expected. On the other hand, I've been programming for 40 years. I've customized my C++ compiler to emit error messages in various languages:

Re: Webassembly TodoMVC

2018-09-23 Thread Suliman via Digitalmars-d-announce
What do you think of the struct approach compared to a traditional jsx/virtual-dom? jsx is sucks. Look at Vue.js way, if you will able to fo you framework Vue-style it will be perfect!

Re: Webassembly TodoMVC

2018-09-23 Thread Joakim via Digitalmars-d-announce
On Saturday, 22 September 2018 at 19:51:48 UTC, Sebastiaan Koppe wrote: On Saturday, 22 September 2018 at 14:54:29 UTC, aberba wrote: [...] Currently the whole thing is not so developer-friendly, it was just the easiest way for me to get it up and running. [...] Vladimir mentioned that

Re: Webassembly TodoMVC

2018-09-23 Thread Vladimir Panteleev via Digitalmars-d-announce
On Sunday, 23 September 2018 at 18:36:11 UTC, Joakim wrote: Vladimir mentioned that there's a Musl port to wasm, have you tried it? My knowledge of the intersection of Musl and WASM is that Musl is used as the libc in Emscripten (and, as extension, in Dscripten), and Emscripten/Dscripten can

Progress of Project Blizzard

2018-09-23 Thread Per Nordlöw via Digitalmars-d
Has there been any progress on Project Blizzard? Is there some working code available other than the snippets proposed at Alexandru's talk on DConf 2018? I'm also curious why the allocation in the following code fails with exit code -11 with both dmd and ldc on Ubuntu 18.04 x64: import

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread Walter Bright via Digitalmars-d
On 9/22/2018 6:01 PM, Jonathan M Davis wrote: For better or worse, English is the international language of science and engineering, and that includes programming. In the earlier days of D, I put on the web pages a google widget what would automatically translate the page into any language

D web site and accessibility

2018-09-23 Thread Walter Bright via Digitalmars-d
I met a blind programmer at a conference back in the 80's, and had a long talk with her and how she did it. I was amazed. Ever since, I've wanted to ensure products I've worked on were accessible to the blind. It's one thing to follow guidelines, it's another to have someone who relies on a

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread Dennis via Digitalmars-d
On Sunday, 23 September 2018 at 21:12:13 UTC, Walter Bright wrote: D supports Unicode in identifiers because C and C++ do, and we want to be able to interoperate with them. Extending Unicode identifier support off into other directions, especially ones that break such interoperability, is just

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread Walter Bright via Digitalmars-d
On 9/23/2018 3:23 PM, Neia Neutuladh wrote: Okay, that's why you previously selected C99 as the standard for what characters to allow. Do you want to update to match C11? It's been out for the better part of a decade, after all. I wasn't aware it changed in C11.

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread Neia Neutuladh via Digitalmars-d
On Sunday, 23 September 2018 at 21:12:13 UTC, Walter Bright wrote: D supports Unicode in identifiers because C and C++ do, and we want to be able to interoperate with them. Extending Unicode identifier support off into other directions, especially ones that break such interoperability, is just

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread Walter Bright via Digitalmars-d
On 9/23/2018 6:06 PM, Dennis wrote: Have you changed your mind since? D the language is well suited to the development of Unicode apps. D source code is another matter.

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread Shachar Shemesh via Digitalmars-d
On 23/09/18 15:38, sarn wrote: On Sunday, 23 September 2018 at 06:53:21 UTC, Shachar Shemesh wrote: On 23/09/18 04:29, sarn wrote: You can find a lot more Japanese D code on this blogging platform: https://qiita.com/tags/dlang Here's the most recent post to save you a click:

Re: D web site and accessibility

2018-09-23 Thread Bauss via Digitalmars-d
On Sunday, 23 September 2018 at 22:07:36 UTC, Walter Bright wrote: I met a blind programmer at a conference back in the 80's, and had a long talk with her and how she did it. I was amazed. Ever since, I've wanted to ensure products I've worked on were accessible to the blind. It's one thing

Re: D web site and accessibility

2018-09-23 Thread Vladimir Panteleev via Digitalmars-d
On Monday, 24 September 2018 at 03:16:50 UTC, Bauss wrote: like the use of b tags on the front page, they should be replaced by strong tags The two usages of are part of the presentation, not content. Their use is correct.

Re: Updating D beyond Unicode 2.0

2018-09-23 Thread Neia Neutuladh via Digitalmars-d
On Monday, 24 September 2018 at 01:39:43 UTC, Walter Bright wrote: On 9/23/2018 3:23 PM, Neia Neutuladh wrote: Okay, that's why you previously selected C99 as the standard for what characters to allow. Do you want to update to match C11? It's been out for the better part of a decade, after