Re: The D Blog in 2017
On Saturday, 6 January 2018 at 18:09:43 UTC, user1205 wrote: Small out of order sentence, look for "if you have something D to write about". That's actually intentional. Similar expressions: "all things D" "anything D" "nothing D"
Re: The D Blog in 2017
On Saturday, 6 January 2018 at 17:09:19 UTC, rjframe wrote: Do you track what people enter in the search box? That might catch people searching for something to see if there's a post about some topic as well as those searching for a specific post; if there are searches for topic X but hasn't been a post for it, that would be a sign that people are interested in X. Nice idea, and not one I considered. I'll see if there's a Wordpress plugin for it, because it doesn't seem to provide that out of the box.
Re: The D Blog in 2017
On Saturday, 6 January 2018 at 16:08:06 UTC, Mike Parker wrote: My annual retrospective on the D Blog is up. Managing the blog really is a lot of fun for me. Every time I click the publish button I stay glued to reddit and the stats page to see how it's being received, with a glance now and again at the forum announcement to see what sort of mistakes I missed, often well past my bedtime (I love living in Korea, but the time zone can be rather inconvenient!). Here, I list the new blog features I enjoyed working on in 2017 and, my favorite part, some stats. I wrap up with a bit about what to expect in 2018. Blog: https://dlang.org/blog/2018/01/06/the-d-blog-in-2017/ Reddit: https://www.reddit.com/r/d_language/comments/7ok098/the_d_blog_in_2017/ Small out of order sentence, look for "if you have something D to write about".
Re: The D Blog in 2017
On Sat, 06 Jan 2018 16:08:06 +, Mike Parker wrote: > My annual retrospective on the D Blog is up. Managing the blog really is > a lot of fun for me. Every time I click the publish button I stay glued > to reddit and the stats page to see how it's being received, with a > glance now and again at the forum announcement to see what sort of > mistakes I missed, often well past my bedtime (I love living in Korea, > but the time zone can be rather inconvenient!). > > Here, I list the new blog features I enjoyed working on in 2017 and, my > favorite part, some stats. I wrap up with a bit about what to expect in > 2018. > > Blog: > https://dlang.org/blog/2018/01/06/the-d-blog-in-2017/ > > Reddit: > https://www.reddit.com/r/d_language/comments/7ok098/the_d_blog_in_2017/ Do you track what people enter in the search box? That might catch people searching for something to see if there's a post about some topic as well as those searching for a specific post; if there are searches for topic X but hasn't been a post for it, that would be a sign that people are interested in X.
Re: LDC 1.7.0
On Saturday, 6 January 2018 at 01:19:14 UTC, kinke wrote: Hi everyone, on behalf of the LDC team, I'm glad to announce LDC 1.7. The highlights of this version in a nutshell: * Based on D 2.077.1. * Catching C++ exceptions supported on Linux and Windows. * LLVM for prebuilt packages upgraded to v5.0.1. Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.7.0 Thanks to all contributors! I just dropped here to say that I have been considering Nim and D for a while and, to some extent, Rust. You are guys doing a great job shaping D for *real projects*, which is what I care about the most. I think I will definitely go with D finally when I try an alternative to C++ (though C++ still remains my main language). I still have to give it a serious try, but this is what made me convinced: - a superior interoperability story (C and C++, Objective-C, Windows, now adding the C++ exception catching...). I cannot emphasize enough how important this is for me. - a reasonable relearning and upgrade coming from C++. - very powerful generative programming. I see that things like generating bindings for scripting languages and others have an edge with static introspection + mixins. - more mature than Nim, at least at this point. - want no gc? Ok, at least there is BetterC, so if I invest myself quite a bit on D (I am the kind of programmer that likes to squeeze power out of machines, so this always means that I will not consider VM languages), I will always have. I hope I can give it a try with one (or two, to be decided) hobby projects I have been doing for a while. I will report the negative points also as I use it :p. By the way, and a bit off-topic for the post, but, if I want to port my code to run on Android/iOS, what is the recommended way? 1. create a shared library and consume it? Is that possible and smooth enough for ARM? - easy to understand for - a superior metaprogramming experience that is
Re: DLang docker images for CircleCi 2.0
On Thursday, 4 January 2018 at 12:18:13 UTC, aberba wrote: On Wednesday, 3 January 2018 at 13:12:48 UTC, Seb wrote: tl;dr: you can now use special D docker images for CircleCi 2.0 --- version: 2 jobs: build: docker: - image: dlang2/dmd-circleci --- [...] do you orchestrate your containers in deployment? Oh I am not sure we are talking about the same thing. This CircleCi image is intended to be used for CircleCi _only_ and there's a lot of stuff you probably don't want to have in your production container: https://github.com/wilzbach/dlang-docker/blob/master/circleci/template.docker However, I also added dlang2/{dmd,ldc,gdc}-ubuntu images recently. Here's an example app built with DUB: https://github.com/wilzbach/dlang-docker/blob/master/example-app/Dockerfile However, note that this will install the respective D compiler in your image which typically actually don't need for your application (so again it's more intended for CI usage) Hence, for my things I use `-static` and just COPY the binary into the docker image. Here's an example of an Open-Source application, which I maintain, that does so: https://github.com/dlang-tour/core/blob/master/Dockerfile https://github.com/dlang-tour/core/blob/master/dub.sdl It's a pity that D doesn't support Musl (a light-weight alternative to glibc) yet, but that might change soon [1]. Anyhow for now you can use glibc on alpine, e.g.: https://github.com/wilzbach/dlang-docker/blob/master/alpine/dlang.docker [1] https://github.com/dlang/druntime/pull/1997
The D Blog in 2017
My annual retrospective on the D Blog is up. Managing the blog really is a lot of fun for me. Every time I click the publish button I stay glued to reddit and the stats page to see how it's being received, with a glance now and again at the forum announcement to see what sort of mistakes I missed, often well past my bedtime (I love living in Korea, but the time zone can be rather inconvenient!). Here, I list the new blog features I enjoyed working on in 2017 and, my favorite part, some stats. I wrap up with a bit about what to expect in 2018. Blog: https://dlang.org/blog/2018/01/06/the-d-blog-in-2017/ Reddit: https://www.reddit.com/r/d_language/comments/7ok098/the_d_blog_in_2017/
Re: DLang docker images for CircleCi 2.0
On Saturday, 6 January 2018 at 05:02:48 UTC, Jon Degenhardt wrote: On Wednesday, 3 January 2018 at 13:12:48 UTC, Seb wrote: tl;dr: you can now use special D docker images for CircleCi 2.0 [snip PS: I'm aware of Stefan Rohe's great D Docker images [1], but this Docker image is built on top of the specialized CircleCi image (e.g. for their SSH login). One useful characteristic of Stefan's images is that the Dockerhub pages include the Dockerfile and github repository links. I don't know what it takes to include them. It does make it easier to see exactly what the configuration is, find the repo, and even create PRs against them. Would be useful if they can be added to the CircleCI image pages. Oh, thanks for the hint! I added a link back to the repo: https://github.com/wilzbach/dlang-docker (FYI: the link was in my post) My interest in this case - I use Stefan's LDC image in Travis-CI builds. Building the runtime libraries with LTO/PGO requires the ldc-build-runtime tool, which in turn requires a few additional things in the docker image, like cmake or ninja. I was interested if they might have been included in the CircleCI images as well. (Doesn't appear so.) Nope, it's not. Here's the list of the packages pre-installed: https://github.com/wilzbach/dlang-docker/blob/master/circleci/dlang.docker However, CircleCi gives you sudo rights by default and can simply add: sudo apt-get update && sudo apt-get install cmake Note that the CircleCi Docker image was motivated to test PIE-hardening with DMD, but it's still WIP: https://github.com/dlang/dmd/pull/7579