Re: C++ Interop

2018-01-06 Thread qznc via Digitalmars-d-learn
On Saturday, 6 January 2018 at 11:20:01 UTC, Seb wrote: On Saturday, 6 January 2018 at 11:17:56 UTC, Seb wrote: On Friday, 5 January 2018 at 13:02:12 UTC, qznc wrote: I'm exploring [0] C++ interop after watching Walter's presentation [1]. [...] I know about this:

C++ Interop

2018-01-05 Thread qznc via Digitalmars-d-learn
I'm exploring [0] C++ interop after watching Walter's presentation [1]. I hit a block with classes as template parameters. This means vector works, but vector does not. D seems to map vector!Foo to vector. Likewise shared_ptr is a problem. Any way to fix that on the D side? The ugly

Re: D User Survey

2017-12-04 Thread qznc via Digitalmars-d-announce
On Friday, 1 December 2017 at 18:56:50 UTC, WebFreak001 wrote: Hi everyone, I made a public survey (everyone can look at the responses) and it would be great if you took some time and answered it. I think it will greatly benefit D as a whole if we had more anonymous data on users. I'm also

Re: D jobs?

2017-11-25 Thread qznc via Digitalmars-d
On Saturday, 25 November 2017 at 13:16:19 UTC, Tofu Ninja wrote: Are there any places to look for D jobs? It seems really hard to find anything online. I got a really crappy job doing C++ and hate it to bits. Also if anyone is in the bay area and is in a position to higher maybe check out this

Re: TickDuration deprecation

2017-11-19 Thread qznc via Digitalmars-d
On Saturday, 18 November 2017 at 16:17:00 UTC, Jonathan M Davis wrote: Folks have asked for the ability to create Durations from floating point values too, and I rejected that for the same reason - using floating point values with time is just begging for bugs, and Walter backed me up on that

Re: Platform to make any programming language interactive & explorative (http://jupyter.org)

2017-11-12 Thread qznc via Digitalmars-d
On Sunday, 12 November 2017 at 12:12:43 UTC, Robert M. Münch wrote: Hi, that might be some interesting project to add D to, for interactive exploration. http://jupyter.org Project Jupyter exists to develop open-source software, open-standards, and services for interactive computing across

Re: Advice requested for fixing issue 17914

2017-10-24 Thread qznc via Digitalmars-d
On Monday, 23 October 2017 at 16:56:32 UTC, Brian Schott wrote: Context: https://issues.dlang.org/show_bug.cgi?id=17914 I need to get this issue resolved as soon as possible so that the fix makes it into the next compiler release. Because it involves cleanup code in a class destructor a

Re: D for microservices

2017-10-22 Thread qznc via Digitalmars-d
On Sunday, 22 October 2017 at 02:48:57 UTC, Joakim wrote: This is a niche that D and all newer languages should target. How do we do it? Optimize the TechEmpower benchmark? Vibe.d looks quite weak there. https://www.techempower.com/benchmarks/

Re: Unit Testing in Action

2017-10-20 Thread qznc via Digitalmars-d-announce
On Friday, 20 October 2017 at 14:04:25 UTC, Mike Parker wrote: After a couple of weeks of quiet on the D blog, it's about to get noisy again. The latest is is a post by Mario Kröplin of Funkwerk describing how the company now uses D's built-in tests in their codebase after several years of

Re: What is the Philosophy of D?

2017-10-16 Thread qznc via Digitalmars-d
On Monday, 16 October 2017 at 00:25:32 UTC, codephantom wrote: D's overview page says "It doesn't come with an overriding philosophy." Is philosophy not important? I'd like to argue, that the problem of focusing on getting the job done quickly and reliably, does *not* leave behind

Re: Why Physicists Still Use Fortran

2017-10-16 Thread qznc via Digitalmars-d
On Monday, 16 October 2017 at 00:26:20 UTC, H. S. Teoh wrote: On Sun, Oct 15, 2017 at 03:09:21PM -0700, Walter Bright via Digitalmars-d wrote: http://moreisdifferent.com/2015/07/16/why-physicsts-still-use-fortran/ Some good information there! 1-based array indexing... I don't know, but I've

Re: My first experience as a D Newbie

2017-10-11 Thread qznc via Digitalmars-d
At least on Ubuntu, this gives me an IDE: dub run dlangide I have not used it much and I don't know if it works on Windows, but it might be the easiest way once you installed dmd and dub.

Re: D on quora ...

2017-10-07 Thread qznc via Digitalmars-d
On Saturday, 7 October 2017 at 05:19:21 UTC, Adam Wilson wrote: I saw we ditch the lot and focus on the large languages where D can get some traction (C#/Java). I don't see a chance to attack C# unless Microsoft officially adopts D. Java is facing some uncertainty at the moment. The Java 9

Re: Request for conference talk

2017-10-05 Thread qznc via Digitalmars-d
On Tuesday, 11 April 2017 at 21:29:15 UTC, Vasudev Ram wrote: On Monday, 10 April 2017 at 07:32:15 UTC, qznc wrote: And accepted :) https://www.topconf.com/conference//duesseldorf-2017/talk/abstractions-from-c-to-d/ Abstractions: From C to D That talk sounds interesting. If the slides

Re: Known reasons why D crashes without any message?

2017-09-14 Thread qznc via Digitalmars-d
On Wednesday, 13 September 2017 at 10:20:48 UTC, Thorsten Sommer wrote: Right now, we are done with the development and ready to start experiments. Until now, almost anything runs fine with our unit tests. Besides the unit tests, the main program is now able to startup but crashes after a

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread qznc via Digitalmars-d
On Tuesday, 27 June 2017 at 14:32:28 UTC, Vladimir Panteleev wrote: - Yes, not everyone likes colors. You can turn all colors off with a command-line switch. Is there a way to do this globally? For example, a config file or an environment variable? I'm one of the rare people who use a light

Re: What is your favorite D feature?

2017-06-22 Thread qznc 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

Re: sqlite3 vs. sqlite-d

2017-06-09 Thread qznc via Digitalmars-d
On Thursday, 8 June 2017 at 08:44:56 UTC, Russel Winder wrote: But what is D's equivalent to Python's SQLAlchemy? C++ now has sqlpp11. There is HibernateD. http://code.dlang.org/packages/hibernated For my own project, I used handwritten SQL. It is still on my todo list to replace that with

Re: Phobos 2

2017-06-02 Thread qznc via Digitalmars-d
On Thursday, 1 June 2017 at 18:40:05 UTC, Brad Anderson wrote: A (surely controversial) idea popped into my head while talking in #d on Freenode. The C++ guys are making an STL2 (the highlight of it being that it is range based). What about taking all the lessons learned from Phobos and

Re: Built-in RAII in D

2017-05-30 Thread qznc via Digitalmars-d
On Sunday, 28 May 2017 at 18:50:02 UTC, Nerve wrote: On Sunday, 28 May 2017 at 18:38:21 UTC, Moritz Maxeiner wrote: All in all, I see little to no benefit to what you propose, while requiring significant work on the language spec. Point taken. My only remaining reservation then is the

Re: Another "D is cool" post

2017-05-30 Thread qznc via Digitalmars-d
On Tuesday, 30 May 2017 at 05:14:21 UTC, H. S. Teoh wrote: On Tue, May 30, 2017 at 01:44:58AM +, Mike Parker via Digitalmars-d wrote: On Monday, 29 May 2017 at 19:51:26 UTC, David Gileadi wrote: > On 5/29/17 12:07 PM, H. S. Teoh via Digitalmars-d wrote: > > [snip an excellent post] > I

Re: Weak Eco System?

2017-05-22 Thread qznc via Digitalmars-d
On Thursday, 18 May 2017 at 05:43:48 UTC, Manu wrote: On 17 May 2017 at 00:51, Benro via Digitalmars-d < digitalmars-d@puremagic.com> wrote: [...] 4 Hours work. Discouraged and gave up after this. Visual Studio proper is the only IDE that 'just works' well, VisualD is very good.

Re: Weak Eco System?

2017-05-19 Thread qznc via Digitalmars-d
On Thursday, 18 May 2017 at 05:43:48 UTC, Manu wrote: On 17 May 2017 at 00:51, Benro via Digitalmars-d < digitalmars-d@puremagic.com> wrote: [...] 4 Hours work. Discouraged and gave up after this. Visual Studio proper is the only IDE that 'just works' well, VisualD is very good.

Re: Eric Niebler talks about C++ Ranges at Microsoft Campus Wed evening

2017-05-18 Thread qznc via Digitalmars-d-announce
On Thursday, 18 May 2017 at 20:09:04 UTC, Mark wrote: Eric's talks are generally not to be missed. I remember this talk of him, which was great: CppCon 2015: Eric Niebler "Ranges for the Standard Library" https://www.youtube.com/watch?v=mFUXNMfaciE "Stolen from the D community wiki" :D

Re: Serialization in D

2017-05-14 Thread qznc via Digitalmars-d-announce
On Friday, 12 May 2017 at 18:06:32 UTC, qznc wrote: Nice. Coincidentally, I also just published an article. It shows how Lua binding are magically concise thanks to D meta programming. My blog: http://beza1e1.tuxen.de/into_luad.html Reddit:

Re: Fantastic exchange from DConf

2017-05-14 Thread qznc via Digitalmars-d
On Sunday, 14 May 2017 at 02:11:36 UTC, bachmeier wrote: On Sunday, 14 May 2017 at 00:05:56 UTC, Dibyendu Majumdar wrote: (a) Trust the programmer. I don't understand this point. C doesn't offer the programmer much to work with. If you trust the programmer, shouldn't that mean you provide

Re: Serialization in D

2017-05-12 Thread qznc via Digitalmars-d-announce
Nice. Coincidentally, I also just published an article. It shows how Lua binding are magically concise thanks to D meta programming. My blog: http://beza1e1.tuxen.de/into_luad.html Reddit: https://www.reddit.com/r/programming/comments/6asxnc/how_to_generate_lua_boilerplate_with_d/

Re: Thank You DConf 2017

2017-05-06 Thread qznc via Digitalmars-d
On Saturday, 6 May 2017 at 16:44:00 UTC, Stanislav Blinov wrote: Fantastic three days of presentations. A big Thank You to all presenters, organizers and sponsors, and a special Thank You to the team that made the livestream possible, so even those of us who couldn't make it to Berlin could

Re: On Andrei's Keynote / checkedint

2017-05-06 Thread qznc via Digitalmars-d
On Saturday, 6 May 2017 at 14:14:25 UTC, Andrei Alexandrescu wrote: [0] http://beza1e1.tuxen.de/leaky_abstractions.html Nice job writing a post so quickly! It was a coincidence. It took longer. That post is part of my preparation for another conference [0], but that talk will be strongly

Re: Adding D code to a C++ codebase

2017-05-06 Thread qznc via Digitalmars-d
On Saturday, 6 May 2017 at 11:44:28 UTC, Russel Winder wrote: CLion, IntelliJ IDEA, Eclipse/CDT, Xcode, and Visual Studio seem to be the IDEs of the moment. There is effort to get D support in IntelliJ IDEA, but CLion is where the C++ folk are. Eclipse/CDT appears to have lost all activity on

Re: On Andrei's Keynote / checkedint

2017-05-06 Thread qznc via Digitalmars-d
On Saturday, 6 May 2017 at 10:45:56 UTC, qznc wrote: I just watched Andrei's Keynote slightly delayed so I could not ask live via chat. One question and one remark: 1. ... 2. ... 3. Checkedint has the same problem as std::string in C++, which Scott Meyers highlighted in his keynote the day

On Andrei's Keynote / checkedint

2017-05-06 Thread qznc via Digitalmars-d
I just watched Andrei's Keynote slightly delayed so I could not ask live via chat. One question and one remark: 1. Is there any reason to restrict this to integrals? Why not use Checked!(float,H) or Checked!(complex,H) or Checked!(polynomial,H)? If it is more general, then we should change

Re: Fantastic exchange from DConf

2017-05-06 Thread qznc via Digitalmars-d
On Saturday, 6 May 2017 at 06:26:29 UTC, Joakim wrote: Walter Bright: I firmly believe that memory safety is gonna be an absolute requirement moving forward, very soon, for programming language selection. Scott Meyers: For, for what kinds of applications? Walter: Anything that goes on the

Re: DConf 2017 Berlin - Streaming ?

2017-05-05 Thread qznc via Digitalmars-d
On Friday, 5 May 2017 at 06:33:13 UTC, Joakim wrote: On Friday, 5 May 2017 at 06:32:31 UTC, Joakim wrote: They were posted to reddit, Mike will probably do it again. Whoops, forgot to give the reddit link:

Re: Blog post on automem

2017-04-28 Thread qznc via Digitalmars-d-announce
On Friday, 28 April 2017 at 15:39:07 UTC, Swoorup Joshi wrote: On Friday, 28 April 2017 at 14:40:03 UTC, Mike Parker wrote: Atila was kind enough to do a write up on his automem library for the D Blog, talking about why he did it and showing some of the implementation details. This is

Re: Thoughts from newcommer

2017-04-12 Thread qznc via Digitalmars-d
On Wednesday, 12 April 2017 at 19:31:06 UTC, thedeemon wrote: On Tuesday, 11 April 2017 at 19:57:19 UTC, Piotr Kowalski wrote: http://benchmarksgame.alioth.debian.org/ Why D is not there? Because maintainer of that site doesn't want D there, as I remember from previous discussions. At some

Re: Use of "T"

2017-04-12 Thread qznc via Digitalmars-d-learn
On Wednesday, 12 April 2017 at 13:17:42 UTC, solidstate1991 wrote: How can I make use of T? I've seen it being used many times for this application. What "T"? This letter is often used as a generic template parameter. Are you talking about templates? Maybe you can give some examples of the

Re: Walter and Andrei and community relationship management

2017-04-12 Thread qznc via Digitalmars-d
On Wednesday, 12 April 2017 at 07:51:28 UTC, Joakim wrote: On Tuesday, 11 April 2017 at 19:18:32 UTC, H. S. Teoh wrote: On Tue, Apr 11, 2017 at 10:24:01AM -0700, Walter Bright via Digitalmars-d wrote: On 4/11/2017 2:18 AM, qznc wrote: > It usually comes down to charismatic and visionary

Re: Request for conference talk

2017-04-11 Thread qznc via Digitalmars-d
On Tuesday, 11 April 2017 at 21:29:15 UTC, Vasudev Ram wrote: On Monday, 10 April 2017 at 07:32:15 UTC, qznc wrote: And accepted :) https://www.topconf.com/conference//duesseldorf-2017/talk/abstractions-from-c-to-d/ Abstractions: From C to D That talk sounds interesting. If the slides

Re: Thoughts from newcommer

2017-04-11 Thread qznc via Digitalmars-d
On Tuesday, 11 April 2017 at 19:57:19 UTC, Piotr Kowalski wrote: Two other important things to change people minds about D performance: http://benchmarksgame.alioth.debian.org/ Why D is not there? I worked on that [0] and decided its not worth it. It is literally a "game". You can have

Re: The D ecosystem in Debian with free-as-in-freedom DMD

2017-04-11 Thread qznc via Digitalmars-d
On Tuesday, 11 April 2017 at 12:56:59 UTC, Jonathan M Davis wrote: But if we just use dub - which _is_ the official packaging and build tool - then we avoid these issues. Ideally, the compiler and dub would be part of the distro, but libraries don't need to be. And it sounds like that's

Re: fluent-asserts released

2017-04-11 Thread qznc via Digitalmars-d-announce
On Sunday, 9 April 2017 at 13:30:54 UTC, Szabo Bogdan wrote: Hi! I just made an update to my fluent assert library. This is a library that allows you to write asserts in a BDD style. Right now, it contains only asserts that I needed in my projects and I promise that I will add more in the

Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-11 Thread qznc via Digitalmars-d-announce
On Tuesday, 11 April 2017 at 06:08:16 UTC, Ali Çehreli wrote: I will be presenting D as a time-saving tool at C++Now: http://cppnow.org/ I have to say it took me a very long time to come up with the title and the abstract. How could I sell D to C++ experts? Luckily, I asked Manu and among

Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-11 Thread qznc via Digitalmars-d-announce
On Tuesday, 11 April 2017 at 06:08:16 UTC, Ali Çehreli wrote: I will be presenting D as a time-saving tool at C++Now: http://cppnow.org/ Looks like C++Now has two keynotes. One keynote on D and one keynote on Rust. Maybe they should change their name. ;)

Re: Walter and Andrei and community relationship management

2017-04-11 Thread qznc via Digitalmars-d
On Tuesday, 11 April 2017 at 02:20:07 UTC, Walter Bright wrote: On 4/10/2017 6:04 PM, Jonathan M Davis via Digitalmars-d wrote: LOL. IIRC, there have been cases where you and/or Andrei have actually tried to get folks to do specific stuff, and it generally hasn't worked. Pretty much everything

Re: The D ecosystem in Debian with free-as-in-freedom DMD

2017-04-10 Thread qznc via Digitalmars-d
On Monday, 10 April 2017 at 11:40:12 UTC, Matthias Klumpp wrote: 1) Is there some perspective on D getting a defined ABI that works with all major D compilers? 2) What would the D community recommend on how to deal with the ABI issues currently? A Linux distribution is a bunch of tightly

Re: The D ecosystem in Debian with free-as-in-freedom DMD

2017-04-10 Thread qznc via Digitalmars-d
On Monday, 10 April 2017 at 11:40:12 UTC, Matthias Klumpp wrote: So, in summary: 1) Is there some perspective on D getting a defined ABI that works with all major D compilers? 2) What would the D community recommend on how to deal with the ABI issues currently? A Linux distribution is a

Re: Request for conference talk

2017-04-10 Thread qznc via Digitalmars-d
On Friday, 3 February 2017 at 12:08:44 UTC, qznc wrote: Topic idea two: A more general talk about abstractions. Starting from the basics (procedures) up to Design-by-Introspection techniques which are quite D specific. In between stuff like the "magic" D Lua bindings. This topic is probably

Reading on D safety?

2017-03-30 Thread qznc via Digitalmars-d
Safety of C has been in the (hacker) news lately [0]. When I tried to tell people about D, I had no good link to share on the topic. The spec for @safe [1] is not comprehensive. The article of SafeD [2] is fluffy and without much meat. The C to D comparison is too much irrelevant stuff. I

Re: Dont Fear the Reaper -- A gentle introduction to D's GC

2017-03-20 Thread qznc via Digitalmars-d-announce
On Monday, 20 March 2017 at 14:07:35 UTC, Mike Parker wrote: This is the first in a series of posts introducing D's garbage collection and how it interacts with user code. This one is a basic introduction. Blog: https://dlang.org/blog/2017/03/20/dont-fear-the-reaper/ Reddit:

Dub and bindings

2017-03-11 Thread qznc via Digitalmars-d-learn
Are there any general tips or best practices for bindings in dub packages? For example, I love the d2sqlite3 package. It just works out of the box. No linker configuration or anything. However, that is probably a testament to sqlite's lack of dependencies. That cannot work for libraries,

Re: Zcoin implementation bug enabled attacker to create 548, 000 Zcoins

2017-03-09 Thread qznc via Digitalmars-d
On Tuesday, 7 March 2017 at 15:34:54 UTC, ketmar wrote: Jack Stouffer wrote: On Tuesday, 7 March 2017 at 15:05:45 UTC, ketmar wrote: only for primitive types, sadly. void main () { Object a, b; a == b; } oops. no more error messages. yes, i know that this invokes `opEquals()`, and

Re: Spotted on twitter: Rust user enthusiastically blogs about moving to D

2017-03-07 Thread qznc via Digitalmars-d
On Tuesday, 7 March 2017 at 03:04:05 UTC, Joakim wrote: https://z0ltan.wordpress.com/2017/02/21/goodbye-rust-and-hello-d/ "A much much safer language than C++ while being much more programmer-friendly than Rust." Nice quote. :) I somewhat wonder about "Arrays (arguably the most important

Re: Range with lookaround

2017-03-02 Thread qznc via Digitalmars-d
On Thursday, 2 March 2017 at 01:44:19 UTC, Andrei Alexandrescu wrote: May be worth discussing in here: https://issues.dlang.org/show_bug.cgi?id=17238 -- Andrei I don't understand the use case. PR #5153 seems to be about getting the last element, not about some lookahead. When I think about

Re: What about this logo ":D" to advertise the D language ?

2017-03-02 Thread qznc via Digitalmars-d
On Thursday, 2 March 2017 at 09:45:40 UTC, Martin Tschierschke wrote: On Thursday, 2 March 2017 at 09:05:43 UTC, Jared Jeffries wrote: I'm not completely joking ;) D deserves a lot more fame, because it really allows programmers to "develop with a smile", so maybe the logo and slogan should

Life is better with community automation

2017-02-08 Thread qznc via Digitalmars-d
I just watched this talk "Life is better with Rust's community automation" by E. Dunham Video: https://youtu.be/dIageYT0Vgg Blog post: http://edunham.net/2016/09/27/rust_s_community_automation.html (Not the same talk, but very close and by the correct speaker/blogger) Some of the 2017 H1

Re: Snap package for LDC 1.1.0 available to test

2017-02-06 Thread qznc via Digitalmars-d-announce
On Friday, 3 February 2017 at 22:56:33 UTC, Joseph Rushton Wakeling wrote: Please do let me know what your experience is trying the package! Worked in my quick try. :) Why does it not show up with `snap find`? Because it is "edge"?

Re: Request for conference talk

2017-02-03 Thread qznc via Digitalmars-d
On Thursday, 2 February 2017 at 21:09:38 UTC, Chris Engelbert wrote: Hey guys, we organize a conference (TopConf) this year for the first time in Dusseldorf, Germany. I would like to see if there are interested speakers to give a talk about D. The conference is hold in English and is not

Re: Snap packages for D compilers and core projects

2017-02-03 Thread qznc via Digitalmars-d
On Monday, 30 January 2017 at 16:53:34 UTC, Joseph Rushton Wakeling wrote: Snap packaging started as something Ubuntu were developing for their use-case, but started gaining cross-distro interest last year (probably because AFAICT its feature-set and simplicity of use is quite a bit ahead of

Re: Call for arms: Arch Linux D package maintenance

2017-02-02 Thread qznc via Digitalmars-d-announce
On Wednesday, 1 February 2017 at 12:47:51 UTC, Dicebot wrote: As I have previously announced (http://forum.dlang.org/post/o6fbbu$1qli$1...@digitalmars.com), I am stepping down from maintaining Arch Linux packages for D. That means there are 3 possibilities: - No one will adopt them and all

Re: Snap packages for D compilers and core projects

2017-01-30 Thread qznc via Digitalmars-d
On Sunday, 29 January 2017 at 20:07:50 UTC, Joseph Rushton Wakeling wrote: The question is, (i) is this a welcome proposal? and (ii) if it is welcome, what do people see as the best way to go about this? No comments? Well, there seems to be no downside (apart from the work). So far, I

Re: A mini D book: Markdown or LaTeX?

2017-01-26 Thread qznc via Digitalmars-d
On Thursday, 26 January 2017 at 02:41:24 UTC, Walter Bright wrote: On 1/24/2017 6:27 AM, aberba wrote: Which one works well? I'm more concerned about syntax highlighting and line numbering (in some cases). Support for custom fonts. I've used Ddoc to publish a couple of Kindle books.

Re: A mini D book: Markdown or LaTeX?

2017-01-24 Thread qznc via Digitalmars-d
On Tuesday, 24 January 2017 at 14:27:15 UTC, aberba wrote: Which one works well? I'm more concerned about syntax highlighting and line numbering (in some cases). Support for custom fonts. I used Sphinx here: https://qznc.github.io/d-tut/ The syntax "ReStructured Text" is more ugly than

Re: Testing in the D Standard Library

2017-01-20 Thread qznc via Digitalmars-d-announce
On Friday, 20 January 2017 at 13:35:40 UTC, Mike Parker wrote: Jack Stouffer details how unit testing, code review, and code coverage are handled in the development and maintenance of Phobos. Thanks, Jack! Blog: https://dlang.org/blog/2017/01/20/testing-in-the-d-standard-library/ Reddit:

Re: Vision document for H1 2017

2017-01-19 Thread qznc via Digitalmars-d-announce
On Wednesday, 4 January 2017 at 19:22:33 UTC, Andrei Alexandrescu wrote: We release a brief Vision document summarizing the main goals we plan to pursue in the coming six months. This half we are focusing on three things: safety, lifetime management, and static introspection.

Re: Red Hat's issues in considering the D language

2016-12-22 Thread qznc via Digitalmars-d
On Wednesday, 21 December 2016 at 17:49:43 UTC, Johannes Pfau wrote: Am Wed, 21 Dec 2016 08:18:48 -0500 schrieb Andrei Alexandrescu : On 12/20/16 6:08 PM, Andrei Alexandrescu wrote: > Hello, a few engineers at Red Hat are taking a look at using > the D language

Re: [GSoC] Precise GC

2016-12-20 Thread qznc via Digitalmars-d-announce
On Sunday, 23 October 2016 at 05:34:08 UTC, Jeremy DeHaan wrote: On Monday, 17 October 2016 at 02:59:15 UTC, Dsby wrote: On Friday, 14 October 2016 at 03:26:31 UTC, FrankLike wrote: On Friday, 2 September 2016 at 03:25:33 UTC, Jeremy DeHaan wrote: Hi everyone, I know I'm super late to the

Re: D future ...

2016-12-20 Thread qznc via Digitalmars-d
On Tuesday, 20 December 2016 at 10:18:12 UTC, Kelly Sommers wrote: The things I really want from D to really sway me would be the following (some already exist): 1. Evolve the GC like Go has. 2. No overhead calling C libraries. 3. Easily composable libraries. 4. Good IDE support. I agree. 1.

Re: D future ...

2016-12-20 Thread qznc via Digitalmars-d
On Tuesday, 20 December 2016 at 08:41:21 UTC, Benjiro wrote: F*ck this. Its like talking to walls. Anyway, do what you want. I have my own projects to deal with and i can write around the lacking libraries, documentation etc. Unfortunately, not everybody can and its those people you are

Re: The Computer Language Benchmarks Game - no D

2016-12-19 Thread qznc via Digitalmars-d
On Sunday, 18 December 2016 at 22:50:36 UTC, Brad Anderson wrote: On Sunday, 18 December 2016 at 21:29:05 UTC, jmh530 wrote: On Sunday, 18 December 2016 at 21:26:36 UTC, Boston wrote: Some days ago I'd been looking for comparisons between different programming languages, and I found this site:

Re: A betterC modular standard library?

2016-12-18 Thread qznc via Digitalmars-d
On Sunday, 18 December 2016 at 14:37:55 UTC, Radu wrote: On Sunday, 18 December 2016 at 09:26:09 UTC, Ilya Yaroshenko Who is interested in betterC _modular_* standard library? I am planing to make libmir org a community for it. Thought and concerns? I hope this doesn't turn into a new Tango

Re: Making preconditions better specified and faster

2016-12-16 Thread qznc via Digitalmars-d
On Thursday, 15 December 2016 at 18:48:22 UTC, Andrei Alexandrescu wrote: https://issues.dlang.org/show_bug.cgi?id=16975 Whenever I think about preconditions and speed, I think that they should actually be put into the caller instead of into the function/callee. The chance that

Re: [OT] Interesting blog post on disadvantages of the pure functional paradigm

2016-12-09 Thread qznc via Digitalmars-d
On Friday, 9 December 2016 at 10:25:49 UTC, Kagamin wrote: On Friday, 9 December 2016 at 10:01:13 UTC, qznc wrote: http://beza1e1.tuxen.de/articles/functional.html What about python and javascript? Python and Javascript are mixed paradigm languages. You could argue if purity and

Re: [OT] Interesting blog post on disadvantages of the pure functional paradigm

2016-12-09 Thread qznc via Digitalmars-d
On Friday, 9 December 2016 at 09:58:27 UTC, Kagamin wrote: Functional doesn't imply purity and immutability I disagree. What is your definition of Functional Programming? Mine: http://beza1e1.tuxen.de/articles/functional.html

Re: Should we warn if we detect null derefernces or void value uses ?

2016-12-08 Thread qznc via Digitalmars-d
On Monday, 5 December 2016 at 04:41:55 UTC, Stefan Koch wrote: This requires data-flow analysis (The same kind that tells you if you are skipping a statement) And will slow down compilation a little if we enable such a warning. I would rather see a separate tool for stuff like this. It can

Re: Joe Duffy on concurrency

2016-12-01 Thread qznc via Digitalmars-d
On Thursday, 1 December 2016 at 12:17:46 UTC, Barry wrote: http://joeduffyblog.com/2016/11/30/15-years-of-concurrency/ delegate void PureFunc() immutable; This meant that a lambda conforming to the PureFunc interface could only close over immutable state. Notice how powerful this has

ESA's Schiaparelli Mars probe crashed because of integer overflow

2016-11-24 Thread qznc via Digitalmars-d
Although, the article [0] does not say that literally, it sounds like an integer overflow: After trawling through mountains of data, the European Space Agency said Wednesday that while much of the mission went according to plan, a computer that measured the rotation of the lander hit a

Re: Don't truncate forum titles, use multiple lines instead

2016-11-20 Thread qznc via Digitalmars-d
On Sunday, 20 November 2016 at 08:59:19 UTC, Tourist wrote: Please implement the suggestion. Thanks. http://imgur.com/X7fJLpF For mobile I would prefer it to use the whole width for the title and convert the other two columns into "subtitle text" below.

Re: TechEmpower Web Framework Performance Comparison Round 13 -- vibe.d non-starter?

2016-11-18 Thread qznc via Digitalmars-d
On Friday, 18 November 2016 at 11:02:20 UTC, Daniel Kozak wrote: Dne 18.11.2016 v 11:46 thedeemon via Digitalmars-d napsal(a): On Thursday, 17 November 2016 at 18:24:05 UTC, Daniel Kozak wrote: Dne 17.11.2016 v 18:49 sanjayss via Digitalmars-d napsal(a): Ubuntu 12.04 to 16.04 which has

Re: Boston D Language Meetup in Back Bay

2016-11-17 Thread qznc via Digitalmars-d-announce
On Thursday, 17 November 2016 at 02:55:46 UTC, Meta wrote: Thanks for recording the presentation, your IOPipe library is pretty interesting. +1 Especially for any parser, this looks like a great solution! The output (valves) looks meh, though. I hope, you discover something more elegant.

Re: Nov 16 - Memory Safety and the D Programming Language

2016-11-14 Thread qznc via Digitalmars-d-announce
On Monday, 14 November 2016 at 06:57:07 UTC, Walter Bright wrote: · Follow our YouTube channel. So, there will be a recording? Great!

Re: PDF generation in D?

2016-11-11 Thread qznc via Digitalmars-d
On Thursday, 10 November 2016 at 22:30:34 UTC, Karabuta wrote: Hello community, does anyone have on something for PDF generation in D? I may need a PDF generation library in a vibe.d project I'm working on. :) You can pull in Gtk with Cairo and Pango. Cairo can generate pdf. Pango is

Re: Article: Running D without its runtime

2016-11-10 Thread qznc via Digitalmars-d-announce
On Thursday, 10 November 2016 at 00:56:02 UTC, Guillaume Piolat wrote: https://www.auburnsounds.com/blog/2016-11-10_Running-D-without-its-runtime.html "Our products now run with the D language runtime disabled. This post is both a post-mortem and tutorial on how to live without the D runtime.

Re: [OT] web/desktop dying

2016-11-10 Thread qznc via Digitalmars-d
On Wednesday, 9 November 2016 at 16:00:45 UTC, Nick Sabalausky wrote: On 11/05/2016 02:00 AM, Joakim wrote: Nothing is ever "completely replaced"- somebody somewhere is still using a mainframe or a UNIX workstation- but yes, PCs will basically disappear, just as you never see those old

Re: Linux Kernel in D?

2016-11-02 Thread qznc via Digitalmars-d
On Tuesday, 1 November 2016 at 16:22:58 UTC, Andrei Alexandrescu wrote: On 11/01/2016 09:41 AM, Wild wrote: On Tuesday, 1 November 2016 at 12:12:29 UTC, Heisenberg wrote: Just an idea. Do you think it would have any advantage compared to the one that is written in C? I think it wouldn't

Re: Got a post for the D Blog?

2016-11-01 Thread qznc via Digitalmars-d-announce
On Monday, 31 October 2016 at 03:51:16 UTC, Mike Parker wrote: I want to publish more posts like Andreas's 'Find Was Too Damn Slow, So We Fixed It` [1] (which, by the way, is the most-viewed post so far, just ahead of Joakim's interview with Walter [2]), or Steven's 'How to Write @trusted Code

Re: Linus' idea of "good taste" code

2016-10-27 Thread qznc via Digitalmars-d
On Wednesday, 26 October 2016 at 09:54:31 UTC, Dicebot wrote: On 10/26/2016 12:53 AM, Walter Bright wrote: It's a small bit, but the idea here is to eliminate if conditionals where possible:

Re: gdc in Linux distros recommended?

2016-10-19 Thread qznc via Digitalmars-d
On Wednesday, 19 October 2016 at 00:07:12 UTC, bachmeier wrote: According to this page https://gdcproject.org/downloads/ there are only distro packages for Ubuntu, Debian, and Arch. If that's accurate, there really is no sense in which GDC is more available than DMD. Yes it is. Installing

Re: Idea for a new tool

2016-10-14 Thread qznc via Digitalmars-d
On Friday, 14 October 2016 at 13:13:16 UTC, Andrei Alexandrescu wrote: https://issues.dlang.org/show_bug.cgi?id=5051 -- Andrei Reminds me of Lisp, where they also have code generation wrapped in code generation wrapped in ... here is an example: http://stackoverflow.com/q/16579844/2361979

Re: D, ZeroMQ, Nanomsg

2016-09-29 Thread qznc via Digitalmars-d
On Thursday, 29 September 2016 at 04:18:55 UTC, Nikolay wrote: On Wednesday, 28 September 2016 at 11:53:05 UTC, Russel Winder wrote: Has anyone wrapped Nanomsg? Be aware - Nanomsg project is mostly dead now. See http://sealedabstract.com/rants/nanomsg-postmortem-and-other-stories/ That

Re: Why D is not popular enough?

2016-09-01 Thread qznc via Digitalmars-d
On Thursday, 1 September 2016 at 08:04:00 UTC, Bienlein wrote: D has a lot to offer with regard to functional programming. It has pure functions and true immutable classes (true = also sub objects become immutable), which Scala all doesn't have (because of restrictions of the JVM). Does D have

Re: About spinlock implementation

2016-09-01 Thread qznc via Digitalmars-d-learn
On Thursday, 1 September 2016 at 10:30:12 UTC, Guillaume Piolat wrote: On Thursday, 1 September 2016 at 07:46:04 UTC, qznc wrote: I find the documentation on MemoryOrder lacking about the semantics of rel. :( [0] https://dlang.org/library/core/atomic/memory_order.html What helped me was

Re: About spinlock implementation

2016-09-01 Thread qznc via Digitalmars-d-learn
On Thursday, 1 September 2016 at 06:44:13 UTC, mogu wrote: I found an implementation of spinlock in concurrency.d. ``` static shared struct SpinLock { void lock() { while (!cas(, false, true)) { Thread.yield(); } } void unlock() { atomicStore!(MemoryOrder.rel)(locked, false); }

Re: Joakim Intreviews Walter for the D Blog

2016-08-31 Thread qznc via Digitalmars-d-announce
From the article: We nailed it [simplicity] with arrays (Jan Knepper’s idea) D arrays are a great example of simple, but not easy. For details see the Slices article section "Determinism". https://dlang.org/d-array-article.html

Re: The D Language Foundation is now a tax exempt non-profit organization

2016-08-30 Thread qznc via Digitalmars-d-announce
On Tuesday, 30 August 2016 at 12:36:12 UTC, Russel Winder wrote: Andrei, This is splendid news for the purveying of the D Programming language.  The question is though: this covers the USA what about the Rest of the World? For Germany this would probably require a separate application to

Re: ISO D

2016-08-17 Thread qznc via Digitalmars-d
On Wednesday, 17 August 2016 at 08:02:42 UTC, eugene wrote: will ISO D be in future or not? What would be the benefits?

Re: [OT] The coolest (literally) desktop machine I've ever had

2016-08-16 Thread qznc via Digitalmars-d
On Sunday, 14 August 2016 at 17:30:21 UTC, Basile B. wrote: On Sunday, 14 August 2016 at 16:27:51 UTC, qznc wrote: On Saturday, 13 August 2016 at 14:52:06 UTC, Andrei Alexandrescu wrote: On 08/13/2016 08:37 AM, Vladimir Panteleev wrote: Friends don't let friends use Linux Mint Good to know,

Re: [OT] The coolest (literally) desktop machine I've ever had

2016-08-14 Thread qznc via Digitalmars-d
On Saturday, 13 August 2016 at 14:52:06 UTC, Andrei Alexandrescu wrote: On 08/13/2016 08:37 AM, Vladimir Panteleev wrote: Friends don't let friends use Linux Mint Good to know, thanks. So what should I use then? -- Andrei I use Ubuntu LTS, because one breaking upgrade every two years is

Re: D Github contributors - enable 2 factor authentification

2016-08-11 Thread qznc via Digitalmars-d
On Thursday, 11 August 2016 at 13:05:49 UTC, Steven Schveighoffer wrote: There's also nothing private in the dlang repository, but a malicious person could just delete everything and it would be a major problem for us to recover from that. Well, the code will all be on everyone's system.

Re: D Github contributors - enable 2 factor authentification

2016-08-11 Thread qznc via Digitalmars-d
On Thursday, 11 August 2016 at 07:54:48 UTC, Jonathan M Davis wrote: But I'd be even more worried about depending on an app on your phone (like is sometimes the case with two-factor auth), since that won't necessarily then work with another phone with the same number, in which case, changing

  1   2   3   >