An article about how outsourcing reduces the need for Norwegian
developers. No links to D other than the image on top though. I
wonder what they searched for to find this image.
http://www.digi.no/artikler/rader-norske-it-folk-til-a-droppe-programmering/279380
On Friday, 31 July 2015 at 10:56:33 UTC, vitus wrote:
//Why expression 'foobar(1);' doesn't work?
void foo()(){}
void bar(int){}
alias foobar = foo;
alias foobar = bar;
void main(){
.foobar(1); //OK
foobar(1); //Error: overload alias 'foo' is not a
Is there no Unix socket support in Phobos? Or vibe? Or any other
library?
I've found some discussions:
* https://issues.dlang.org/show_bug.cgi?id=9384
*
http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/10870/
, but it seems there are no support yet.
On Sunday, 26 July 2015 at 14:16:46 UTC, Gary Willoughby wrote:
On Saturday, 25 July 2015 at 17:43:44 UTC, Martin Nowak wrote:
On Saturday, 25 July 2015 at 17:34:26 UTC, Márcio Martins
wrote:
What I want is a clean non-intrusive way to log when a
collection happened, how long my threads were
Is there a reason why you would hide the fact that a function is
trusted rather than safe? Technically it doesn't matter, right?
To me, it seems like this would give wrong assumptions to the
caller.
The reason I ask is because I found the following in
std.concurrency:
@property Tid
On Thursday, 23 July 2015 at 13:20:32 UTC, Nicholas Wilson wrote:
On Wednesday, 22 July 2015 at 15:50:13 UTC, simendsjo wrote:
// 1
template Tmlp(T) {}
// 2
template Tmpl(alias T) {}
I'm assuming thats a typo
Yes. I just wrote the code in the post without trying to compile
On Thursday, 23 July 2015 at 16:22:30 UTC, QAston wrote:
(... snip ...)
That's what I think simendsjo meant about ugliness.
Someone else wrote about the ugliness, not me.
I updated a small template-heavy experimental library mostly for
compile-time introspection I write some time ago. The last time I
updated the code was probably using 2.065, but might also have
been as old as 2.063.
The code doesn't use much of the standard library, mostly parts
of
Long rant ahead - a bit dipsy..
TL;DR: Rust has momentum, manpower and tooling. Tooling matters.
Safe defaults. Ergonomics like expressions and deconstructing
rocks.
I'm reluctantly confessing that I've had a small affair with Rust
recently. While I think D is a really good language,
On Wednesday, 22 July 2015 at 19:52:34 UTC, Alex Parrill wrote:
On Wednesday, 22 July 2015 at 18:47:33 UTC, simendsjo wrote:
Traits
--
...
You can make a `conformsToSomeInterface!T` template, and use
`static assert`. D ranges, and the upcoming std.allocator,
already use this sort of
On Wednesday, 22 July 2015 at 19:41:16 UTC, Jack Stouffer wrote:
On Wednesday, 22 July 2015 at 18:47:33 UTC, simendsjo wrote:
I've been using D on and off since 2007, and the lack of
manpower shows in every aspect of the language, design and
ecosystem. Rust has a pretty nice ecosystem and
On Wednesday, 22 July 2015 at 19:54:05 UTC, Dicebot wrote:
Traits system is awesome and pure win.
Agreed.
Pattern matching is not that game changing but helps often
enough to feel important.
The fact that you can use pattern matching many places makes it
very much a win.
if
On Wednesday, 22 July 2015 at 20:59:11 UTC, Adam D. Ruppe wrote:
On Wednesday, 22 July 2015 at 20:43:04 UTC, simendsjo wrote:
When everything is an expressions, you can write things like
auto a = if(e) c else d;
In D you have to write
type a = invalid_value;
if(e) a = c;
else
On 09/30/2014 05:32 PM, po wrote:
On Tuesday, 30 September 2014 at 14:19:51 UTC, Araq wrote:
It doesn't mention anything about moving C++ into C#.
Even with IL2CPP, C# has fundamental design trade offs that make it
slower than C++(GC is just one of them), so it wouldn't make much
sense to
On 09/23/2014 04:48 PM, Joakim wrote:
On Monday, 22 September 2014 at 13:23:33 UTC, simendsjo wrote:
My guess is the average for developers is ~8GB. 2GB RAM is really not
enough for pretty much anything these days - the browser alone easily
chews 3-4GB on moderate use.
You have to admit
On 09/23/2014 08:05 PM, ketmar via Digitalmars-d wrote:
On Tue, 23 Sep 2014 16:15:19 +
Adam D. Ruppe via Digitalmars-d digitalmars-d@puremagic.com wrote:
struct HMENU { void* _; alias _ this; }
Don't even have to import a Phobos module for it!
remember my uuugly on Typedef! and
On 09/22/2014 12:50 PM, Nick Treleaven wrote:
(...)
Sometimes my Windows machine with 2 GB RAM gets OOM when trying to link
phobos.lib (I have to close most programs and start again), it would be
nice if there was a way to continue a failed build without starting from
scratch.
My guess is the
On 09/22/2014 07:28 PM, ketmar via Digitalmars-d-announce wrote:
On Mon, 22 Sep 2014 15:24:55 +0200
simendsjo via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
My guess is the average for developers is ~8GB. 2GB RAM is really not
enough for pretty much anything
On 08/29/2014 07:07 PM, Sean Kelly wrote:
On Wednesday, 27 August 2014 at 18:06:00 UTC, Daniel Murphy wrote:
eles wrote in message news:rixtiaiokrukvqjsf...@forum.dlang.org...
One such platform exists and is the embedded system, others are the
linux kernel and the like, and even others are
On 08/25/2014 09:35 PM, Walter Bright wrote:
On 8/23/2014 6:32 PM, Brad Roberts via Digitalmars-d wrote:
I'm not convinced that using an adapter algorithm won't be just as fast.
Consider your own talks on optimizing the existing dmd lexer. In
those talks
you've talked about the evils of
Using DMD 2.066 on GNU/Linux x86_64.
This is strange:
import std.stdio;
void main() {
auto f = tmpfile();
pragma(msg, typeof(f)); // shared(_IO_FILE)*
}
But stdio.d looks like the following:
static File tmpfile() @safe
What is going on here?
On 08/24/2014 07:56 PM, simendsjo wrote:
Using DMD 2.066 on GNU/Linux x86_64.
This is strange:
import std.stdio;
void main() {
auto f = tmpfile();
pragma(msg, typeof(f)); // shared(_IO_FILE)*
}
But stdio.d looks like the following:
static File tmpfile() @safe
What is
On 08/24/2014 08:09 PM, anonymous wrote:
On Sunday, 24 August 2014 at 17:55:05 UTC, simendsjo wrote:
Using DMD 2.066 on GNU/Linux x86_64.
This is strange:
import std.stdio;
void main() {
auto f = tmpfile();
pragma(msg, typeof(f)); // shared(_IO_FILE)*
}
But stdio.d looks like
I don't know the arguments for my process before reading some of stdin.
I was thinking I could solve this by creating a temporary file as a
stdin buffer while I found out the correct argument and could launch
the process. Unfortunately, this fails.
Error: 'object.Exception@std/stdio.d(2070):
On 08/24/2014 09:03 PM, simendsjo wrote:
I don't know the arguments for my process before reading some of stdin.
I was thinking I could solve this by creating a temporary file as a
stdin buffer while I found out the correct argument and could launch
the process. Unfortunately, this fails.
On 08/21/2014 09:39 AM, eles wrote:
On Sunday, 25 March 2012 at 17:31:45 UTC, bearophile wrote:
I think that one of the most important things to underscore is that
we would have never found these things so early unless we had written
the Rust compiler in Rust itself. It forces us to use the
On 08/18/2014 11:58 PM, Ali Çehreli wrote:
On 08/18/2014 01:16 PM, Jonathan M Davis wrote:
for whatever reason, Kenji isn't listed, and he's obviously a
big contributor.
Kenji cannot be captured by tools written by mortals. :p
Ali
LOL! We need a Kenji Hara facts page like this:
On 08/13/2014 04:16 PM, Alex wrote:
(...)
You should've noticed that the installation instruction stuff has been
moved to
the D wiki - http://wiki.dlang.org/Mono-D
(...)
Is it just me, or is there something very strange going on with the
wiki? Seems a lot of CSS isn't applied on that page and
On 08/13/2014 10:45 PM, Dicebot wrote:
On Wednesday, 13 August 2014 at 20:27:42 UTC, Orvid King wrote:
Can confirm. It was OK just a few hours ago though
It's working fine for me using Opera, although the CSS may very well
be cached for me...
It has recovered ;)
Not for me. Doesn't work
On 08/13/2014 09:12 AM, Paulo Pinto wrote:
On Wednesday, 13 August 2014 at 04:08:25 UTC, Ola Fosheim Gr wrote:
On Tuesday, 12 August 2014 at 11:09:37 UTC, Paulo Pinto wrote:
I can think of very few successful programming languages in the
market without corporate backing.
Got popular without
This is the first time I've seen attributes on unittests:
https://github.com/D-Programming-Language/phobos/pull/2349/files#diff-ba05e420ac1da65db044e79304d641b6R179
Has this always been supported? I guess it's good practice to add these
on unittests too, but does people even know about this
On 08/13/2014 02:50 PM, Dicebot wrote:
On Wednesday, 13 August 2014 at 12:26:02 UTC, simendsjo wrote:
This is the first time I've seen attributes on unittests:
https://github.com/D-Programming-Language/phobos/pull/2349/files#diff-ba05e420ac1da65db044e79304d641b6R179
Has this always been
On 08/06/2014 01:22 AM, splatterdash wrote:
Hi all,
Is there a recommended way to test functions that opens and iterates
over files? The unittest block seems more suited for testing functions
whose input and output can be defined in the program itself. I'm
wondering if there is a better way
On 08/01/2014 03:15 PM, Dicebot wrote:
(...) or use /opt/ bundle by simendsjo
By Alexander Bothe. The files are just hosted at my domain.
On 07/31/2014 12:01 AM, Walter Bright wrote:
(...)
2. The compiler can make use of assert expressions to improve
optimization, even in -release mode.
(...)
Does this mean that assertions used for optimization will be left in
-release? There's plenty of times where I've had an old incorrect
On 07/19/2014 08:37 PM, Andrei Alexandrescu wrote:
On 7/16/14, 3:22 AM, bearophile wrote:
Andrei Alexandrescu:
http://www.reddit.com/r/programming/comments/2aruaf/dconf_2014_keynote_high_performance_code_using_d/
Despite Walter is used to pipeline programming, so the next step is to
also
On 07/17/2014 10:57 PM, Kiith-Sa wrote:
DSnips is a set of UltiSnips snippets for D (now with GIFs showing each
snippet in action (image-heavy))
https://github.com/kiith-sa/DSnips
This is an attempt to overhaul the D snippets I got merged to UltiSnips
(now a separate vim-snippets
On 07/15/2014 08:42 AM, Jacob Carlborg wrote:
On 14/07/14 18:16, H. S. Teoh via Digitalmars-d wrote:
Mine is here:
http://wiki.dlang.org/User:Quickfur/DIP_scope
From the DIP:
The 'scope' keyword has been around for years, yet it is barely
implemented and it's unclear just what
On 07/14/2014 08:55 AM, Walter Bright wrote:
On 7/13/2014 10:32 PM, Brad Roberts via Digitalmars-d wrote:
I'm playing with the idea of a once a week sort of status email.
Seems like a fun idea!
Pull creators this week:
+--+---++--+
| username |
On 07/11/2014 05:48 PM, Andrei Alexandrescu wrote:
Upvote!!
http://www.reddit.com/r/programming/comments/2afm4x/dconf_2014_day_2_talk_6_debugging_in_d_by_iain/
https://www.facebook.com/dlang.org/posts/882826745064341
https://twitter.com/D_Programming/status/487623887187083264
On 07/11/2014 05:30 PM, Chris wrote:
(...)
Believe me, D's supposed sluggishness as regards GC is
not so important for most applications. I dare say 90% of all
applications are fine with the current GC.
(...)
I agree with this. The bottlenecks i my applications are MySQL and
Microsoft Office
On 07/11/2014 05:43 PM, simendsjo wrote:
On 07/11/2014 05:30 PM, Chris wrote:
(...)
Believe me, D's supposed sluggishness as regards GC is
not so important for most applications. I dare say 90% of all
applications are fine with the current GC.
(...)
(...)
Oh, and a little
On 07/11/2014 06:28 PM, Russel Winder via Digitalmars-d wrote:
On Fri, 2014-07-11 at 17:43 +0200, simendsjo via Digitalmars-d wrote:
[…]
A little anecdote.. I once got a 20% speed increase in Python by
moving a variable instantiation outside a tight loop.
i = 0
# loop here
i
On 07/11/2014 08:45 PM, H. S. Teoh via Digitalmars-d wrote:
On Fri, Jul 11, 2014 at 05:51:05PM +, Justin Whear via Digitalmars-d
wrote:
On Fri, 11 Jul 2014 17:44:28 +, Frustrated wrote:
So why isn't there a link to previous versions of dmd? I have a
regression I need to test out but
On 07/10/2014 11:34 AM, Dicebot wrote:
On Thursday, 10 July 2014 at 05:27:56 UTC, simendsjo wrote:
On 07/10/2014 01:22 AM, Nordlöw wrote:
On Wednesday, 9 July 2014 at 18:26:53 UTC, simendsjo wrote:
Would it make sense to add them to the dtools repository?
It's already included there as a
On 07/10/2014 02:22 PM, Rikki Cattermole wrote:
On 11/07/2014 12:11 a.m., Sean Campbell wrote:
i have the ints 4, 7, 0 and 1 how can i Concatenate them into four
thousand seven hundred and one.
If we talking at compile time definition:
int myint = 4_7_0_1;
Would work.
However I'll
On 07/10/2014 06:05 PM, Alexandre wrote:
I have a string X and I need to insert a char in that string...
auto X = 100;
And I need to inser a ',' in position 3 of this string..., I try to use
the array.insertInPlace, but, not work...
I try this:
auto X = 100;
On 07/10/2014 09:58 PM, Alexandre wrote:
basically format
I read a cobol struct file...
From pos X to Y I have a money value... but, this value don't have any
format..
0041415
The 15 is the cents... bascally I need to put the ( comma ), we use
comma to separate the cents,
On 07/10/2014 10:47 PM, Marc Schütz schue...@gmx.net wrote:
On Thursday, 10 July 2014 at 20:27:39 UTC, Jacob Carlborg wrote:
Here's a code example:
module main;
import foo;
enum Get = GET;
void bar (string a)
{
assert(a is Get);
}
void main ()
{
asd();
}
module foo;
On 07/11/2014 01:08 AM, sigod wrote:
On Thursday, 10 July 2014 at 20:59:17 UTC, simendsjo wrote:
Strings behaves a bit odd with is(). The following passes:
import std.stdio;
void f(string a, string b) {
assert(a is b); // also true
}
void main() {
string a = aoeu;
string b =
On 07/09/2014 06:00 PM, Andrei Alexandrescu wrote:
http://www.reddit.com/r/programming/comments/2a8xf4/dconf_2014_day_2_talk_4_reducing_d_bugs_by/
https://www.facebook.com/dlang.org/posts/881813965165619
https://news.ycombinator.com/newest (please find and vote quickly)
On 07/10/2014 01:22 AM, Nordlöw wrote:
On Wednesday, 9 July 2014 at 18:26:53 UTC, simendsjo wrote:
Would it make sense to add them to the dtools repository?
It's already included there as a submodule :)
Hidden in plain sight.
On 06/22/2014 09:58 PM, Kapps wrote:
On Sunday, 22 June 2014 at 11:50:31 UTC, Shammah Chancellor wrote:
I can't support this proposal. Adds more syntax to a language that
is already becoming cramped. I also don't see the purpose of having
simple constructors like this? Are you going to add
On 06/21/2014 06:40 AM, Jesse Phillips wrote:
On Thursday, 19 June 2014 at 15:24:41 UTC, Jesse Phillips wrote:
Once I get some examples compiling again in 32bit, it should be easier
for you to play around with COM in D.
I've pushed changes which get the library building and examples working.
On 06/16/2014 07:27 PM, Andrei Alexandrescu wrote:
https://news.ycombinator.com/newest
Why not put DConf 2014 in the title too?
On 06/15/2014 11:16 PM, Abdulhaq wrote:
On Sunday, 15 June 2014 at 20:10:34 UTC, Walter Bright wrote:
On 6/15/2014 9:20 AM, Xinok wrote:
Given that he lives in Italy, it's safe to assume that English is not
his first
language. But rather than consider what he has to say or dispute his
On 06/12/2014 05:00 PM, Manu via Digitalmars-d wrote:
I often find myself wanting to write this:
foreach(; 0..n) {}
In the case that I just want to do something n times and I don't
actually care about the loop counter, but this doesn't compile.
You can do this:
for(;;) {}
If 'for'
On 06/12/2014 05:46 PM, monarch_dodra wrote:
On Thursday, 12 June 2014 at 15:09:51 UTC, simendsjo wrote:
_ is an often used identifier for i don't care in many languages. The
following works:
foreach(_; 0..n)
One issue is that _ is still an actual identifier, with normal name
collision
On 06/11/2014 03:54 PM, Adam D. Ruppe wrote:
On Wednesday, 11 June 2014 at 13:52:09 UTC, belkin wrote:
Question: How do I use it from D?
Write the prototype in your D file with extern(C):
extern(C) int factorial(int n);
then just call the function normally in D. Make sure you include all
On 06/11/2014 04:22 PM, Adam D. Ruppe wrote:
On Wednesday, 11 June 2014 at 14:11:04 UTC, simendsjo wrote:
I believe the correct answer should be Buy my book!.
ah, of course! I should just make a .sig file lol
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
On 06/03/2014 08:23 AM, Martin Drasar via Digitalmars-d-announce wrote:
On 3.6.2014 7:55, simendsjo via Digitalmars-d-announce wrote:
Or because somebody in the production studio decided the music and sound
effects needed to be at least 2x louder than the dialog.
(...)
I was about to say
On 06/03/2014 06:51 AM, Nick Sabalausky wrote:
On 6/2/2014 5:16 PM, Jonathan M Davis via Digitalmars-d-announce wrote:
On Mon, 02 Jun 2014 10:00:17 -0700
Walter Bright via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
Captioning also helps people who aren't native
On 05/29/2014 05:53 PM, Tom Browder via Digitalmars-d wrote:
Has anyone done a survey of the primary OS of D users?
I (a D newbie) use Debian Linux (64-bit), but I get the feeling that
many (if not most) users are on some version of Windows.
Thanks.
Best regards,
-Tom
Arch Linux
On 05/30/2014 10:52 AM, Philippe Sigaud via Digitalmars-d wrote:
Linux 64bits here also.
In fact, contrary to the OP belief, it's mainly a Linux crowd here.
People using Windows regularly complain about it, saying we don't see
the way some tools are missing or not working as well on Windows.
On 05/29/2014 11:51 AM, Jacob Carlborg wrote:
On 2014-05-28 20:14, Walter Bright wrote:
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
On 05/28/2014 05:54 AM, Saurabh Das wrote:
On Tuesday, 27 May 2014 at 23:48:44 UTC, currysoup wrote:
On Tuesday, 27 May 2014 at 23:08:01 UTC, Leandro Lucarella wrote:
Ali Çehreli, el 27 de May a las 10:40 me escribiste:
On 05/27/2014 09:18 AM, Suliman wrote:
apparently to stay on top of
On 05/27/2014 02:12 AM, chuck wrote:
Would anyone be interested in a collaboration forum? I am thinking of
starting one on Proboards to aid in development/collaboration between
developers on D and libraries/bindings. Reading through the posts, I
have seen that several people have created small
https://hn.algolia.com/#!/story/forever/0/Asynchronous%20I%2FO%20that%20doesn%E2%80%99t%20get%20in%20your%20way%2C%20written%20in%20D
On 05/22/2014 11:29 AM, Nordlöw wrote:
Is there a Bash way to pipe stdout and stderr *separately* through
ddemangle?
I'm aware of
21
but this removes separation of stdout and stderr.
21 means redirect file handle 2 to the same as file handle 1.
So it will redirect stderr to stdout.
On 05/14/2014 10:11 AM, Martin Nowak wrote:
On Wednesday, 14 May 2014 at 07:36:57 UTC, Joseph Rushton Wakeling wrote:
On Wednesday, 14 May 2014 at 07:04:24 UTC, w0rp wrote:
I'm unsure about the learn x in y minutes tutorials, but I did
however think this was very neat. http://tryhaskell.org/
On 05/11/2014 11:15 PM, John Carter via Digitalmars-d-announce wrote:
The timezones being so different, I'm not sure livestreaming will help
me... But I do plan to watch any videos of it as soon as they are up.
It's the same problem for all Europeans (and many other), including me.
I'm also
On 05/08/2014 06:05 PM, Andrei Alexandrescu wrote:
https://hn.algolia.com/#!/story/forever/0/Tkd
I'm unable to find the HN link. This search shows the reddit link and a
link straight to the forum. I even tried to go through several pages of
newest on HN doing a search for tkd without any luck.
On 05/09/2014 11:32 AM, Andrej Mitrovic via Digitalmars-d-announce wrote:
On 5/9/14, simendsjo via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
I'm unable to find the HN link. This search shows the reddit link and a
link straight to the forum. I even tried to go through
On 05/09/2014 06:09 PM, Andrei Alexandrescu wrote:
On 5/9/14, 2:44 AM, simendsjo wrote:
On 05/09/2014 11:32 AM, Andrej Mitrovic via Digitalmars-d-announce wrote:
On 5/9/14, simendsjo via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
I'm unable to find the HN link
On 05/06/2014 08:08 AM, Rikki Cattermole wrote:
On Tuesday, 6 May 2014 at 04:34:26 UTC, Sergey wrote:
Please, help...
I want to use D (Vibe.d) to create a web client to access the database
of medical institutions. Tell me, please, what about the reports
(report generator)? I need to upload
75 matches
Mail list logo