Nice job WebFreak001 on the new changes. For the first time in
years the code-d plugin works out of the box on Windows without
any issues.
A small tip: associate the .d file extension in the Visual Studio
Code marketplace with Code-d. Currently Code-D does not show up
when VSC suggests
On Friday, 15 September 2017 at 14:00:00 UTC, Nordlöw wrote:
https://sites.google.com/view/energy-efficiency-languages/results
How can we make D more established in this domain?
Posted it a few hours ago.
Its not that D is not established in this domain but that the
author of the energy
A recent posting comparing programming languages and there energy
efficiency:
https://sites.google.com/view/energy-efficiency-languages/results
What language that can be in the top is missing? Only one guess
needed.
Its not hard to figure out without going to the description, that
the
On Sunday, 27 August 2017 at 22:27:45 UTC, Mengu wrote:
d tour page is down for at least a week now. someone please fix
that.
thanks.
Seems to be active for me ...
On Wednesday, 26 July 2017 at 06:40:22 UTC, Bienlein wrote:
D is the most feature rich language I know of. Maybe only Scala
comes close, but Scala can be at times an unreadable mess as
the designers of the language valued mixing functional and OO
higher than readability. D, on the contrary,
On Thursday, 20 July 2017 at 16:15:43 UTC, porter wrote:
i did the same, but use for windows programs AWD Modula. its
free, compiles fast and is used commercially.
AWD Modula? You mean Modula 2?
On Sunday, 16 July 2017 at 08:37:53 UTC, Ecstatic Coder wrote:
I sincerely appreciate the effort, really, but admit that there
is still a HUGE difference between how D and more popular
languages like Python, Go, etc are advertised.
I'm still not convinced that D's way is the best in order to
On Friday, 14 July 2017 at 09:27:19 UTC, Moritz Maxeiner wrote:
There's no such language (yet), of course, but D has been the
closest contender for a long time with Scala coming second (but
dropping out as it's not native).
Heuuu?
Scala Native:
https://github.com/scala-native/scala-native
On Friday, 14 July 2017 at 09:02:58 UTC, Stefan Koch wrote:
The beauty of D lies in it's holistic approach.
The one unique feature to point out would be CTFE which is not
to be found in other compiled langauges.
constexpr does not even come close since it cannot return
literals :0
CTFE
https://blog.sourced.tech/post/language_migrations/
A recent article where github programming languages popularity
and migration got analysed was very interesting but it showed one
noticeable thing:
A total lack of D even mentioned!!!
When looking at other language ranking sites, D always
Here is some nice stuff:
https://youtu.be/MiLAE6HMr10?t=32m5s
DotNetAnywhere compiled to webasm = C# in browsers. *lol*
Funny thing being, that it compiles down to a 250k download, what
is actually much less then some of the angular 1/2/4 code that we
have at work.
And people at work
On Thursday, 6 July 2017 at 17:19:34 UTC, bauss wrote:
I'm just curious how it doesn't support GC? Like if you can
allocate and free memory then you can have a GC.
Currently there is no native GC build into WebAssembly. This is
planned for the future.
If your language is designed around
Is there a future where we can see WebAssembly as part of D?
Seeing Rusts backbone already producing wasm is impressive.
WebAssembly currently does not support a GC ...so it fair the
assume that this will be the main issue for LDC?
I see the move towards one language for back and front-end
On Wednesday, 5 July 2017 at 18:12:21 UTC, bitwise wrote:
Which is why it would be great to see 3+ active developers on
each one ;)
Take in account that WebFreak001 is working on serve-d...
Microsoft language server protocol implementation for D using
workspace-d.
This program is basically a
On Tuesday, 4 July 2017 at 04:49:29 UTC, Manu wrote:
I've been using code-d for a while, and it generally works
well. I've also noticed there's another plugin available, which
at the time I first looked, appeared to be older and
less-featured than code-d.
dlang-vscode.dlang seems to be more
On Monday, 26 June 2017 at 21:06:10 UTC, Timon Gehr wrote:
Implementation:
https://github.com/dlang/dmd/compare/master...tgehr:contract-syntax
As one of the newbie D users, who just happened to look at
contract programming.
The proposed syntax for me:
* Its clear to write, not too much
On Monday, 26 June 2017 at 10:13:13 UTC, bachmeier wrote:
Anyone can start a group to work on something. If you want to
put together a group to improve the IDE situation, come up with
a plan (we need x, y, and z and here's how we'll do it), make
an announcement on the forum, and run with it.
On Monday, 26 June 2017 at 08:54:23 UTC, Sönke Ludwig wrote:
Okay, thanks, that explains it. I didn't realize that I'm using
DUB master instead of the latest release, and this issue is
already fixed there. A workaround is to use "dub --single
webserver.d" instead (performs the build normally
On Monday, 26 June 2017 at 09:26:01 UTC, Martin Tschierschke
wrote:
But as Andrei A. told us on DConf, the foundation already is
paying some students (a small salary) for their work. So best
thing we can do is to push the D Foundation (Andrei+Walter) to
optimize the support structure.
A bit
On Monday, 26 June 2017 at 08:29:54 UTC, Sönke Ludwig wrote:
Am 26.06.2017 um 09:19 schrieb Wulfklaue:
Can you post the error message? I didn't use the Linux sub
system.
From what i remember on my home system, the issue was it tried to
store the file in Windows temporary directory.
Just
On Monday, 26 June 2017 at 05:10:34 UTC, Ecstatic Coder wrote:
Anyway, it seems that not many people on this forum see any
interest in improving D's popularity on the web with just a few
cheap cosmetic changes to better align it with contenders like
Python or Go, so I will bothered people with
On Sunday, 25 June 2017 at 07:34:57 UTC, Sönke Ludwig wrote:
With inline, do you mean the embedded package recipe? Works for
me on Windows if you add the colon.
Strange, colon was there. Did not work on Windows. Same error as
without the colon. This is why i mentioned that it worked under
On Saturday, 24 June 2017 at 22:05:44 UTC, Andrei Alexandrescu
wrote:
http://i-programmer.info/news/98-languages/10859-redmonk-rankings-reveal-the-languages-we-love.html
-- Andrei
It looks like D almost never moved on those rankings.
On Saturday, 24 June 2017 at 23:00:59 UTC, Timon Gehr wrote:
$ dub main.d
Failed to listen on :::80
Failed to listen on 0.0.0.0:80
object.Exception@../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/http/server.d(1698):
Failed to listen for incoming HTTP connections on any of the supplied
On Saturday, 24 June 2017 at 22:16:11 UTC, Wulfklaue wrote:
Attempt 1:
Attempt 2:
Attempt 3:
Attempt 4:
Attempt 5:
=
Almost forgot to mention, this was done under Windows ( where the
inline does not work ). It works under Linux but that is a
different issue.
On Saturday, 24 June 2017 at 22:18:29 UTC, Timon Gehr wrote:
$ cat main.d
/++ dub.sdl
name "webserver"
dependency "vibe-d:http" version="~>0.7.31"
+/
module main;
import vibe.core.core;
import vibe.http.fileserver;
import vibe.http.server;
void main()
{
listenHTTP(new
On Saturday, 24 June 2017 at 21:56:20 UTC, Andrei Alexandrescu
wrote:
On 6/24/17 1:11 PM, Wulfklaue wrote:
[snip]
Thanks, this is a good point. The bountysource has been tried by
Facebook (with D and other projects) and was deemed
unsuccessful. It may
be the time for trying a new angle on
On Saturday, 24 June 2017 at 20:29:23 UTC, Sönke Ludwig wrote:
/++ dub.sdl
name "webserver"
dependency "vibe-d:http" version="~>0.7.31"
+/
module main;
import vibe.core.core;
import vibe.http.fileserver;
import vibe.http.server;
void main()
{
listenHTTP(new HTTPServerSettings,
On Saturday, 24 June 2017 at 10:21:50 UTC, rikki cattermole wrote:
What on earth are you talking about[0]?
[0] https://www.bountysource.com/teams/d
*wow* ... Call me amazed and dumbstruck.
I never considered that D has a bountysource account. Its way,
wy at the bottom of the monthly
On Saturday, 24 June 2017 at 09:35:56 UTC, Ecstatic Coder wrote:
With all due respect, on the contrary I think that promoting D
as a general purpose programming language could be its only
chance to really improve its popularity, and thus significantly
grow its current user base.
I'm sorry to
On Friday, 23 June 2017 at 13:29:29 UTC, Ecstatic Coder wrote:
That's why I'm in favor of adapting some thirdparty librairies
so they become pre-installed standard librairies (std.web,
std.ui, etc).
Will not happen. I read too many threads already where this was
mentioned and it always got
On Monday, 19 June 2017 at 16:13:20 UTC, Russel Winder wrote:
I'd be more bothered by Kotlin native that Scala native.
Well, Kotlin/Native just came out with version 0.3. And it
includes Windows support. Take that Apple/Swift ;)
Its impressive how fast things are being developer by
On Friday, 23 June 2017 at 09:02:30 UTC, Ecstatic Coder wrote:
Indeed the current website conveys quite well the "serious
C++-like language for the software industry" concept.
Unfortunately it's not an easy task to convince people to use D
instead of Java, C#, Go, C++, etc
There are much
On Thursday, 22 June 2017 at 10:23:37 UTC, Russel Winder wrote:
On Thu, 2017-06-22 at 10:00 +, Paulo Pinto via
Digitalmars-d wrote:
[…]
They were all about Swift, Java, Kotlin, C#.
Those are also the major players in the market. C# Microsoft,
Swift Apple, Java Oracle... so there is more
On Thursday, 22 June 2017 at 07:15:26 UTC, Bienlein wrote:
In Java development there is almost no C or C++ and no Rust or
D at all. Memory is no problem. Some server needs 256 GB RAM or
maybe 512 GB?
That is just sloppy... There is this bad trend in the industry,
it has been going on for
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. :)
Nice job Iain ... Especially after 6 years pushing for it and the
whole rewrite.
On Tuesday, 20 June 2017 at 07:51:47 UTC, Mike wrote:
On Monday, 19 June 2017 at 20:01:01 UTC, Dan Walmsley wrote:
6. Rust has "minimal runtime" as one of the pillars of its
language design philosophy. You can truly pay-as-you go while
you build your system. This is how it should be, and
On Monday, 19 June 2017 at 16:13:20 UTC, Russel Winder wrote:
I'd be more bothered by Kotlin native that Scala native.
Thanks, did not even know that Jetbrain is also going for a
native LLVM version. It even seems they are in contact with the
Scala-native team. Looks like everybody is
On Monday, 19 June 2017 at 15:44:47 UTC, bpr wrote:
It should also be noted that, even though it's still a research
project, Scala native just recently upgraded it's Boehm GC to
an Immix based one. Scala native would be yet another language
competing with D, and might compete in even more
On Sunday, 18 June 2017 at 08:40:22 UTC, Mike B Johnson wrote:
Cool. Since we are friends now, I have some advice for you: I
suggest that if you want anyone to take you seriously, I
suggest you check your mediocrity mentality at the door.
See how that works?!?! Probably not. I suggest you get
On Friday, 16 June 2017 at 13:14:46 UTC, Moritz Maxeiner wrote:
Fifth time you are being intentionally inflammatory and trying
to twist my post.
Well, i am sorry that you see it all as intentionally
inflammatory.
You might have noticed that after responding to you, my post was
more
On Friday, 16 June 2017 at 10:38:44 UTC, Seb wrote:
There is an official D installer for Posix systems that can
handle multiple compilers and all versions quite well.
IIRC does dvm only support DMD?
Good for the poxis platform set ... but D is used on more then
only linux and osx.
I think
On Friday, 16 June 2017 at 06:58:57 UTC, Jacob Carlborg wrote:
DVM [1] is doing some of this.
[1] https://github.com/jacob-carlborg/dvm
Might it not be better when some of this is actually part of D?
- Multi-version support
- Integrated all the tools so editors know/can rely on them. I
have
On Thursday, 15 June 2017 at 15:04:26 UTC, Suliman wrote:
Should D really move to GC-free? I think there is already
enough GC-free language on the market. D even now is very
complected language, and adding ways to manually managing
memory will make it's more complicated.
A lot of people need
On Wednesday, 14 June 2017 at 21:20:58 UTC, ketmar wrote:
yeah. D should silently miscompile old code too: it seems that
this is exactly what people want!
Please point out the people who advocate for D silently
miscompiling old code... Because i have yet to see anybody in
this topic advocate
On Thursday, 15 June 2017 at 04:14:22 UTC, Timothee Cour wrote:
not sure what asdf is?
I assume its this.
https://en.wikipedia.org/wiki/Advanced_Scientific_Data_Format
A file format with a YAML header followed by binary or ascii
data. Human readable in design but still has binary/ascii
On Wednesday, 14 June 2017 at 12:08:16 UTC, Mike wrote:
* Rust is probably the best, but it doesn't have the modeling
power of D and C++.
A lot of the points you mention, i also agree with but
implementing that list is akin to writing a new language. You do
not trow out the baby with the
On Wednesday, 14 June 2017 at 09:18:58 UTC, Jonathan M Davis
wrote:
If you're maintaining your code and making the occasional,
required adjustments when the language or library changes
something that requires adjustments, then you should be just
fine without having to do massive code rewrites
On Tuesday, 13 June 2017 at 20:51:37 UTC, ketmar wrote:
Patrick Schluter wrote:
the main reason for D3 is not language changes, but
workarounding "don't break user code" thingy. it is completely
impossible to experiment freely or introduce breaking changes
in D2 (for a reason, there is
On Monday, 12 June 2017 at 17:49:46 UTC, kinke wrote:
Hi everyone,
LDC 1.3.0-beta2, the LLVM-based D compiler, is available for
download!
This release is based on the 2.073.2 frontend and standard
library and supports LLVM 3.5-4.0.
It's been a while since beta1, so besides numerous fixes
On Friday, 9 June 2017 at 08:20:34 UTC, Michael Reiland wrote:
Thanks for the link to those resources, that'll definitely help
giving me a broad overview, which for me is best. If I know
something is there I can dive into the details when it becomes
more important to what I'm doing.
I'm
On Thursday, 8 June 2017 at 07:32:44 UTC, Michael Reiland wrote:
Hey guys,
I'm looking for a web solution that's:
1. Supported on Linux
First tier: D, Rust, Go, .netCore
Second tier: Nim, Crystal, ... plenty of choices :)
Not advised for Linux: Swift... Unless you go for a pure Swift
On Thursday, 8 June 2017 at 22:59:00 UTC, Andrei Alexandrescu
wrote:
Posting direct HN links in any forum is a sure way to have the
entry classified as spam (HN uses an algorithm that flags as
spam many accesses that do not have their own site as
referrer). -- Andrei
*uch* What a strange
On Thursday, 8 June 2017 at 20:38:33 UTC, Ali Çehreli wrote:
That link doesn't work for me. Besides, I've heard that it's
better not to click through a link as HN either rates it lower
or flags it as spam.
Not sure though, I'm just contributing to cargo cult... :)
Ali
Removed the old one
On Thursday, 8 June 2017 at 20:38:33 UTC, Ali Çehreli wrote:
On 06/08/2017 01:29 PM, Wulfklaue wrote:
That link doesn't work for me. Besides, I've heard that it's
better not to click through a link as HN either rates it lower
or flags it as spam.
Not sure though, I'm just contributing to
On Thursday, 8 June 2017 at 08:39:58 UTC, Walter Bright wrote:
https://www.reddit.com/r/programming/comments/6fz3yh/cnow_2017_competitive_advantage_with_d/
Added to Hacker News ...
https://news.ycombinator.com/item?id=14516927
Some of the dmd error messages need some tweaking.
import std.datetime;
auto t = Clock.currStdTime;
writeln(to!string(t));
Result in:
Error: template core.time.to cannot deduce function from
argument types !(string)(long), candidates are:
On Wednesday, 7 June 2017 at 11:37:21 UTC, rikki cattermole wrote:
std.datetime has been very recently broken up, it hasn't been
in a release as of yet. Give it a release, it'll be fixed.
Ok, thanks. Just my bad luck for trying out the one part that
just got broken up. *haha*
On Wednesday, 7 June 2017 at 00:17:30 UTC, Walter Bright wrote:
On 6/6/2017 3:13 PM, Seb wrote:
Hi all,
I have excellent news on the front of DMD becoming a library.
DMD on dlang.org
Since today DMD's documentation is browseable online on the
released docs:
Ddoc:
Some C playing around:
import core.stdc.stdio;
void main()
{
int x = 5;
printf("The action is:\n%s", x);
}
There does not seem to be a type check on calling the C printf...
%s expects a string but entering the wrong type like a integer
simply dumps down to this.
The action is:
On Wednesday, 31 May 2017 at 12:28:47 UTC, Nicholas Wilson wrote:
Perhaps there will be scope for renaming if/when this also
includes graphics when either OpenCL is merged into the Vulkan
API or Petar Kirov gets Vulkan SPIRV generation going on LLVM,
but for now the name stays.
People who
On Tuesday, 30 May 2017 at 19:23:42 UTC, Jack Stouffer wrote:
On Tuesday, 30 May 2017 at 18:06:56 UTC, Walter Bright wrote:
I fear the conversation will go like this, like it has for me:
N: DCompute
W: What's DCompute?
N: Enables GPU programming with D
W: Cool!
instead of:
N: D-GPU
W:
I am just looking up abstract class information and i notice that
there is no information on dlang.org/spec
Yet using this as a resource:
https://www.tutorialspoint.com/d_programming/d_programming_abstract_classes.htm
It can be found, with a proper example. Am i blind and not seeing
it in
On Tuesday, 30 May 2017 at 11:22:29 UTC, bachmeier wrote:
One of the things I hated when I started using D was links to
dsource libraries. I think that writing new libraries in D is
often a mistake for that very reason. Bindings to C libraries
is what we need. Put everything into one D file if
On Monday, 29 May 2017 at 23:08:55 UTC, Ali Çehreli wrote:
Makes sense and others had suggested that as well. One
complication would be different cover design for each book.
(Even if not the general concept, the book cover image is for
that specific number of pages (with some leeway)).
I
On Tuesday, 30 May 2017 at 07:15:08 UTC, Russel Winder wrote:
Others have mentioned widening D's appeal by widening the
number of C APIs there are wrappers for. This is a good idea, I
agree – in my case libdvbv5 and librtlsdr are the beasties of
interest. I argue Deimos is the wrong direction
Hi Ali,
The book is great ( got it recently ) but there are some things
that may make be better.
I found the book a bit unwieldy ( hardcover ) version. With its
700+ pages, its kind of hard to take anywhere. When i take it to
work and back home, its like carrying a brick with me :)
On Thursday, 25 May 2017 at 06:22:28 UTC, Jon Degenhardt wrote:
Thanks Walter, I appreciate your comments. And correct, as
multiple people noted, a speed comparison with other languages
not at all a goal of the article.
The real intent was to tell a story of how several of D's
features play
On Wednesday, 24 May 2017 at 15:22:55 UTC, Stanislav Blinov wrote:
It's a bit of pre-allocation and some internal bookkeeping.
void main()
{
import std.stdio;
import core.memory;
writeln(GC.stats);
}
// used, free
Stats(256, 1048320)
The remaining .7Mb could probably be
On Wednesday, 24 May 2017 at 10:34:02 UTC, Moritz Maxeiner wrote:
Because the garbage collector (GC) allocates a sizable chunk of
memory from the operating system at program startup, from which
it then in turn allocates memory for you when you use things
like dynamic closures, `new XYZ`, etc.
On Wednesday, 24 May 2017 at 09:27:59 UTC, Andrei Alexandrescu
wrote:
I'm thinking publicly available videos so the footage is
already out there.
Public available videos are already compressed. Rikki needs the
original source video and audio.
Working on a compressed video to create another
On Wednesday, 24 May 2017 at 03:57:07 UTC, Ali Çehreli wrote:
Not yet but I heard the videos will be posted here:
https://www.youtube.com/user/BoostCon
Ali
Page 68: "CTFE is being wastly improved by Stefan Koch.". Wastly?
;)
Great ... accidentally pressed send.
So my question was:
Why does even a simple empty empty statement like this, compiled
with DMD, show under windows a almost 1.7MB memory usage?
void main()
{
while(true){}
}
The same in C/C++ is simply 0.1MB. This is why i asked the
question if the
On Tuesday, 23 May 2017 at 15:36:45 UTC, Wulfklaue wrote:
A quick question. After watching the DLang 2017 conference,
there was mention about the runtime optimizing that is going
on. Will this have a impact on the default memory usage (on
small projects )?
Why does even a simple empty:
void
A quick question. After watching the DLang 2017 conference, there
was mention about the runtime optimizing that is going on. Will
this have a impact on the default memory usage (on small projects
)?
On Thursday, 18 May 2017 at 19:33:25 UTC, Walter Bright wrote:
Thanks for the link. I don't understand what they mean in
saying I don't get Rust's vision.
A lot of Rust users seem to think they own the memory safe
market. Language with GC = Bad. What they forget is that a good
GC can be
76 matches
Mail list logo