Re: Beta 2.084.1
On Tuesday, 5 February 2019 at 04:18:55 UTC, Martin Nowak wrote: Glad to announce the first beta for the 2.084.1 point release, ♥ to the 6 contributors. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.084.1.html As usual please report any bugs at https://issues.dlang.org -Martin The link to the changelog is broken.
Lobst.rs now has a "D" tag
https://lobste.rs/t/d Please do not forget to tag your D related submissions with the "D" tag.
Compiler scalability. Question inspired by OOM errors seen by Crystal language
I'm referring to this thread about Crystal -- https://lobste.rs/s/dyitr0/its_fun_program_crystal_is_it_scalable Crystal is strongly typed, but overwhelmingly uses type inference, rather than explicit types. Because Crystal aims to be spiritually—and frequently literally—compatible with Ruby, that’s a problem: to accomplish that, Crystal relies on sometimes-nullable types with implicit structure and implicit unions, such that, frequently, the only way to even begin type inference is to load the entire program’s AST into RAM all at once and then start your massive type inference pass. What you’re seeing in this thread is how a “simple” fix to a YAML parser error reporting hit that problem, causing Crystal to use a critical amount too much RAM and OOM. How does D compare in this regard, especially in cases where `auto` storage class specifiers are used liberally throughout the code base?
Re: Weka.IO in the news... but not mentioning Dlang... why?
On Thursday, 3 August 2017 at 20:47:30 UTC, Joakim wrote: Please tell me which enterprise storage company advertises the programming languages they implemented their product in. ;) We hope to have a post on the D blog with info from Weka sometime soon, that should be a good way to get the word out. They do mention it on their jobs page - http://www.weka.io/company/careers/ (see under "Data Path Developer" position).
Re: Article: Interfacing D with C and Fortran
On Thursday, 13 April 2017 at 13:40:48 UTC, Mike Parker wrote: https://www.reddit.com/r/programming/comments/655ilu/interfacing_d_with_c_and_fortran/ On lobste.rs: https://lobste.rs/s/pidpz1/interfacing_d_with_c_fortran_use_d_as
Re: gchunt v0.2.0
On Tuesday, 5 April 2016 at 18:47:38 UTC, Dmitry Olshansky wrote: New release of a tool that generates nice summary reports for static analysis of GC usage. It's a simple postprocessor for the compiler's -vgc output. https://github.com/DmitryOlshansky/gchunt/releases Updated to the latest compiler/libarires and also detects dup/idup unreported by -vgc switch. This is somewhat tangentially related to the announcement.. but how does one run "-vgc" switch with "dub"? Running dmd -vgc with a project with dependencies (eg: docopt) failed because dmd could not find the dependencies.
Re: We gunna be rich
On Saturday, 2 April 2016 at 15:43:53 UTC, Andrei Alexandrescu wrote: D Language Foundation (dlang-20). There are a couple of things that we can do to increase awareness of the Foundation and ways to contribute to it: 1. Link to the foundation website. (do we have one?) 2. On the foundation website/page provide information on how to contribute to the foundation, including but not limited to paying by paypal, and monthly subscriptions. I donate regularly to a charitable foundation this way and in my opinion, the easiest way to give money. 3. Add the link to the Foundation website in the "Community" drop-down menu on the top-navigation.
Re: blog post - "An illustrated guide to using Sublime Text 3 for D programming"
On Tuesday, 16 February 2016 at 11:49:41 UTC, sigod wrote: This webpage is not available AFAIK, there is no reason for it to be not available -- it's a static page on a pretty low traffic site :) Please try again.
Re: Autocompletion not working on Xamarin Studio for D
On Friday, 29 January 2016 at 21:05:00 UTC, nbro wrote: Hi! I am trying to write some code in D using Xamarin Studio, but it's not autocompleting the code as I would expect. For example, it does not even gives you autocompletion for libraries, but apparently only for the language's primitives, i.e. keywords, etc. Is this the expected behaviour or is there's something wrong with my settings? Thanks! I wrote this up https://www.btbytes.com/posts/xamarind.html (Xamarin Studio with auto completion etc., for D on Mac) HTH.
Re: blog post - "An illustrated guide to using Sublime Text 3 for D programming"
On Friday, 22 January 2016 at 10:52:18 UTC, Nicholas Londey wrote: About a year ago I wrote a SublimeText project generator for DUB. It was fairly simplistic but met my needs at the time. That reminds me that I possibly have some local improvements I really should create a pull request for. Example Usage: dub generate sublimetext I believe DKit provides this feature too via "DKit: Create project from DUB package file" option in the context menu.
Re: blog post - "An illustrated guide to using Sublime Text 3 for D programming"
On Friday, 22 January 2016 at 04:45:15 UTC, Brian Schott wrote: On Friday, 22 January 2016 at 04:39:00 UTC, Pradeep Gowda wrote: Comments are suggestions are welcome. You probably want to point DCD at the phobos and druntime import directories that DMD is actually using, not whatever is in git master. If you run `dmd` with no arguments it will tell you the location of its config file. From that you can determine the phobos and druntime import directories. Thanks for pointing this out. I've updated the page.
blog post - "An illustrated guide to using Sublime Text 3 for D programming"
Sublime text 3 is a decent editor to write D code. However, getting all the different plugins working together has always proven to be somewhat of a challenge for me. So, I decided to document the process as I went along. The result is here: https://www.btbytes.com/posts/st3d.html Comments are suggestions are welcome.
Re: Tutorials section on vibed.org
On Monday, 4 January 2016 at 14:31:21 UTC, Sönke Ludwig wrote: Added! The footer of the website still says 2012-2014. Please fix that!
Re: DLanguage IntelliJ plugin released
On Friday, 25 December 2015 at 10:41:26 UTC, Kingsley wrote: Hi I have released an initial attempt at an IntelliJ plugin for D to the jetbrains plugin repository. It's DLanguage version 1.2 It has basic syntax highlighting, autocompletion with DCD, compile checking and linting with Dscanner, code formatting with Dfmt and navigation jump to classes and functions and dub support - recommend using dub Thanks! I did install it on IntelliJ IDEA Ultimate 15 and take it for a spin. However, it did not create a "dub" project even when I chose "D application with DUB" option in the "New project" screen. Nor was it able to import an existing DUB project. See the GitHub page screenshots for an idea A link to the github page would help me in reporting these bugs?
Re: DLanguage IntelliJ plugin released
On Friday, 25 December 2015 at 15:04:42 UTC, eyveer wrote: On Friday, 25 December 2015 at 13:57:52 UTC, Pradeep Gowda wrote: A link to the github page would help me in reporting these bugs? https://github.com/kingsleyh/DLanguage Thank you. The screenshots are very impressive! Gives me motivation to figure out why i couldn't get it to work.
Re: Some feedback on the website.
On Wednesday, 16 December 2015 at 13:52:05 UTC, Andrei Alexandrescu wrote: On 12/15/15 9:01 PM, deadalnix wrote: On Wednesday, 16 December 2015 at 01:15:45 UTC, Andrei Also, ddoc always appeared to me like a big NIH syndrome. What would you have done instead? While I like ddoc for inlined documentation, I believe that using a easy to learn, and well supported (in IDEs, editors, github, familiar to programmers coming from any other language background) format like Markdown is the way to go. I'm very partial to using pandoc (http://pandoc.org/) as a universal processor for converting markdown to various output formats. Rust used pandoc as their processor till they wrote their own toolchain. (writing markdown parsers appears to be right of passage to some...). Of course, there are multiple implementations of what "markdown", but http://commonmark.org/ is a step in the right direction (created by the author of Pandoc, with others).
Re: Some feedback on the website.
On Wednesday, 16 December 2015 at 15:02:24 UTC, Guillaume Piolat wrote: On Wednesday, 16 December 2015 at 14:23:54 UTC, Pradeep Gowda wrote: pandoc comes with an unbelievable amount of dependencies. Notably the LaTeX dependency: on Mac the LaTeX distribution is a whopping 2gb download. It seems nice in theory, but in practice pandoc takes things like \newpage (latex code fragments) in their Markdown input. And Markdown already accepts HTML tags! I much prefer DDoc. I use pandoc everyday. This is provably false. You do not need LaTeX to use pandoc. On linux and mac it's a self-contained binary. (I don't use windows, so i don't know). This is how i use it everyday: 1. write markdown and convert to docx for sharing with coworkers. Not a single line of LaTeX 2. just finished writing a paper in IEEE format using just pandoc, which i converted to latex and yet did not have to use a single inline latex command in the main document. 2. write my website/notes in markdown and convert to HTML using hakyll which uses pandoc as a library. No Latex there either.
Re: Some feedback on the website.
On Tuesday, 15 December 2015 at 07:07:23 UTC, deadalnix wrote: The usual for a programming language goes as follow : - Logo, color as per branding. - Language name, quick blurb about what it is, usually ending with a link to tutorial. - Big fat download button. - Some sample code. The one we have on the front page is way too big. It should be a piece of code that someone with 0 experience in the language can understand. - A menu with quick access to what more experienced users want : stdlib reference, code repository, wiki, forum, language spec, news, this kind of thing. 1. https://www.python.org/ 2. https://www.ruby-lang.org/en/ I think the above two websites do a better job of fitting your requirements than Scala's homepage etc., Let not the dynamic typed nature of the language(s) dissuade you from learning how to build a very popular language **community**.
How does D compare to Go when it comes to C interop?
I read this post about the difficulties of using go/cgo to interface with C code: http://www.cockroachlabs.com/blog/the-cost-and-complexity-of-cgo/ How does D do in comparison? specifically in regards to: 1. Call overhead (CGo is 100 times slower than native Go fn call) 2. Memory management. (I guess D is not immune from having to manage memory for the C functions it calls.. but is there a difference in approach? is it safer in D?) 3. Cgorountes != goroutines (This one may not apply for D) 4. Static builds (how easy/straight-forward is this in D?) 5. Debugging (ease of accessing C parts when debugging)
Re: DConf keynote speaker ideas
On Wednesday, 18 November 2015 at 11:49:33 UTC, Paulo Pinto wrote: On Wednesday, 18 November 2015 at 10:40:47 UTC, Frank Fuente wrote: On Tuesday, 17 November 2015 at 18:47:58 UTC, Andrei Alexandrescu wrote: I'm thinking of inviting a notable industry luminary to deliver a conference keynote. Please reply to this with ideas! -- Andrei Niklaus Wirth... :-) +1 Given his work has been on how to do systems programming with memory safe languages. +1 to Prof Wirth.
try.dlang.org
One of the best ways to get new programmers a flavour of the language is a playground. Examples: - Kotlin - http://try.kotlinlang.org/ - Haskell - https://tryhaskell.org/ - Ceylon - http://try.ceylon-lang.org/# (JVM lang by RedHat) - Go - on the homepage - Ruby - http://tryruby.org/ - Rust - https://play.rust-lang.org/ I know there is a D playground, but I can't remember the URL for the life of me. Is it possible to host or create a CNAME for the current playground at http://try.dlang.org or http://play.dlang.org/ ? It is small things like this that can help newbies "discover" a language and goes a long way in adopting the language.
Re: Coedit 2 alpha 1 - now with dub
On Thursday, 22 October 2015 at 14:57:22 UTC, BBasile wrote: On Wednesday, 21 October 2015 at 16:59:09 UTC, Jack Stouffer wrote: On Tuesday, 20 October 2015 at 12:46:51 UTC, BBasile wrote: On Monday, 19 October 2015 at 19:56:15 UTC, Jack Stouffer wrote: On Monday, 19 October 2015 at 15:03:52 UTC, BBasile wrote: On Saturday, 17 October 2015 at 16:31:38 UTC, DK wrote: Hi, this link https://github.com/BBasile/Coedit/ doesn't work for me (( Coedit is now (since three weeks to be more accurate) a private software. I've removed all what was deletable but obviously all the previous announces on the NG are going to remain. Any particular reason? Yes, I don't care anymore. The fact is that I always knew that I was losing my time but this was acceptable until a certain point. Anyway, you know, when you like no longer, negative critics take over. So, to continue would have been quite unhealthy. Why not just leave it up for someone else to take over in a fork? https://www.youtube.com/watch?v=Qmk94uooJCU "well, I feel really stupid right now..." No. Seriously, to delete everything is a bit immature. Maybe I'll resurect Coedit with a new branding in a few monthes but for now I'm still a bit angry with D and the D people... I'm sorry you feel that way. Let me tell you the positive influence CoEdit had on me. I'm a newbie to D, who was looking for an IDE on Mac. I found CoEdit on github and realised it does not compile on Mac OSX, and posted an issue and followed up a couple of small PRs. (username: btbytes) This was good for me in two respects: 1. I had never programmed in Pascal before and CoEdit gave me an opportunity. 2. I felt i had made positive contribution to people using D on Mac. I hope that you will be back on github with CoEdit.
Re: The D Language Foundation is now incorporated
On Sunday, 18 October 2015 at 21:52:17 UTC, Jonathan M Davis wrote: I expect that you're going to get a fair bit of disagreement on that. We've been telling everyone for years that it's full of old stuff that mostly only works with old versions of D (most of it D1) and that it should usually be avoided because of that. Pretty much anything like what it was doing is done on github now. Resurrecting dsource.org would just cause confusion at this point. dsource.org exists only for archival purposes, and IMHO, that's how it should stay. I agree with this SO much. dsource is straight up toxic for the image of D wants to project. Keep projects on github please.
lint? for D
Is there a lint program for D, similar to say pep8 + pyflakes for python that can warn the programmer about unused imports, unused variables etc.,?
erln8 - erlang manager tool written in D
erln8 http://erln8.github.io/erln8/ is set of tools in one for managing erlang projects * erlang version manager * rebar (erlang build tool) manager It is encouraging to see D used for writing command line tools, which IMHO is a shining use case for D over other popular languages in that space (Go, Python). This is not my project (@metadave is the author), but thought it would be of interest to the community.