Hi everybody,
As written in the description I'm really new to D, I discovered
it a few weeks ago thanks to the D Conf in Berlin.
After playing around for couple of days with it, I wanted to
share my journey with you guys on several points.
1 - Installation (DMD and DUB)
I'm running Fedor
On Tuesday, 24 May 2016 at 16:17:25 UTC, Daniel Kozak wrote:
Dne 24.5.2016 v 17:27 llaine via Digitalmars-d-learn napsal(a):
[...]
On Archlinux this is even easier than on Mac just sudo yaourt
-Sy dlang dub
[...]
As I said earlier it is fedora who should be blamed here :D
[...]
Again
On Tuesday, 24 May 2016 at 19:32:11 UTC, Seb wrote:
On Tuesday, 24 May 2016 at 18:03:17 UTC, cy wrote:
https://p0nce.github.io/d-idioms/ I wanted to mention as well,
if you like idioms. That guy has some good ideas.
On Tuesday, 24 May 2016 at 17:36:45 UTC, Ali Çehreli wrote:
Yes, a link from t
On Wednesday, 25 May 2016 at 09:41:10 UTC, Russel Winder wrote:
On Wed, 2016-05-25 at 07:43 +, llaine via
Digitalmars-d-learn
wrote:
[…]
[...]
D is a problem on Fedora: dmd, gdc, and dub are not packaged.
ldc is so there is that – many would argue that having ldc is
much more important
Hi guys,
In my journey of learning about D I tried to benchmark D with
Vibe.d vs node with express and Ruby with Sinatra.
And the results are pretty surprising.
I have to admit that I though D was more faster than that. How is
this even possible ?
I am doing something wrong ?
Here are the
On Friday, 27 May 2016 at 13:54:20 UTC, Vadim Lopatin wrote:
On Friday, 27 May 2016 at 13:45:23 UTC, llaine wrote:
Hi guys,
In my journey of learning about D I tried to benchmark D with
Vibe.d vs node with express and Ruby with Sinatra.
And the results are pretty surprising.
I have to admit
On Friday, 27 May 2016 at 13:54:20 UTC, Vadim Lopatin wrote:
On Friday, 27 May 2016 at 13:45:23 UTC, llaine wrote:
Hi guys,
In my journey of learning about D I tried to benchmark D with
Vibe.d vs node with express and Ruby with Sinatra.
And the results are pretty surprising.
I have to admit
On Friday, 27 May 2016 at 14:17:16 UTC, Adam D. Ruppe wrote:
On Friday, 27 May 2016 at 13:45:23 UTC, llaine wrote:
I am doing something wrong ?
So, the benchmark, the Ruby, and the JS all use the path to be
/ the D seems to use /companies (though I don't know vibe).
Is that right?
Yes
On Friday, 27 May 2016 at 14:17:16 UTC, Adam D. Ruppe wrote:
On Friday, 27 May 2016 at 13:45:23 UTC, llaine wrote:
I am doing something wrong ?
So, the benchmark, the Ruby, and the JS all use the path to be
/ the D seems to use /companies (though I don't know vibe).
Is that right?
All
On Friday, 27 May 2016 at 14:48:19 UTC, Daniel Kozak wrote:
On Friday, 27 May 2016 at 14:18:31 UTC, llaine wrote:
On Friday, 27 May 2016 at 14:17:16 UTC, Adam D. Ruppe wrote:
On Friday, 27 May 2016 at 13:45:23 UTC, llaine wrote:
I am doing something wrong ?
So, the benchmark, the Ruby, and t
On Friday, 27 May 2016 at 14:59:44 UTC, yazd wrote:
On Friday, 27 May 2016 at 14:46:47 UTC, llaine wrote:
On Friday, 27 May 2016 at 14:17:16 UTC, Adam D. Ruppe wrote:
On Friday, 27 May 2016 at 13:45:23 UTC, llaine wrote:
I am doing something wrong ?
So, the benchmark, the Ruby, and the JS al
On Friday, 27 May 2016 at 15:11:32 UTC, Rene Zwanenburg wrote:
On Friday, 27 May 2016 at 13:45:23 UTC, llaine wrote:
Hi guys,
In my journey of learning about D I tried to benchmark D with
Vibe.d vs node with express and Ruby with Sinatra.
And the results are pretty surprising.
I have to admi
On Friday, 27 May 2016 at 15:32:13 UTC, yawniek wrote:
On Friday, 27 May 2016 at 13:45:23 UTC, llaine wrote:
Hi guys,
In my journey of learning about D I tried to benchmark D with
Vibe.d vs node with express and Ruby with Sinatra.
And the results are pretty surprising.
I have to admit that I
On Friday, 27 May 2016 at 15:48:18 UTC, llaine wrote:
On Friday, 27 May 2016 at 15:32:13 UTC, yawniek wrote:
On Friday, 27 May 2016 at 13:45:23 UTC, llaine wrote:
[...]
you should:
- use this https://github.com/etcimon/ddb Postgres client
- fix your logic
- NOT use option distribute
- use LD
Hi guys,
I'm using D since a few month now and I was wondering why people
don't jump onto it that much and why it isn't the "big thing"
already.
Everybody is into javascript nowadays, but IMO even for doing web
I found Vibe.d more interesting and efficient than node.js for
example.
I agre
On Wednesday, 27 July 2016 at 00:52:30 UTC, Gorge Jingale wrote:
I think it is because D has some fundamental problems. It is a
risk to use software that is not proven to be safe, effective,
and easy to use. The fact there are so many bugs(and many are
big blockes) in D says something about D
On Wednesday, 27 July 2016 at 09:28:49 UTC, chmike wrote:
The reason I'm switching to Go is because
1. there is a much larger community and code base (it's easier
to find code snippet, help or programmers)
I agree with you, but when I'm having trouble I always go to IRC
and the guys there ar
On Wednesday, 27 July 2016 at 10:42:50 UTC, lkfsdg wrote:
Also I predict that the more it'll get popular the less it will
attract hobbyist. I did't realized at the beginning (I've
discovered D in 2012 then started to learn more seriously in
2014) but Alexandrescu clairly aims at a professional
On Thursday, 28 July 2016 at 15:16:20 UTC, Gorge Jingale wrote:
On Wednesday, 27 July 2016 at 10:41:54 UTC, ketmar wrote:
On Wednesday, 27 July 2016 at 10:39:52 UTC, NX wrote:
Lack of production quality tools
like? no, "refactoring" and other crap is not "production
quality tools", they are
Hi guys,
I'm trying to make a bridge between D and ruby with a gem called
ffi.
It's basically a loading/binding library that grab C function and
make them callable from Ruby code.
As you might already understand, i'm trying to develop extensions
using D and uses them in Ruby.
I tried to ge
On Wednesday, 3 August 2016 at 13:49:36 UTC, bachmeier wrote:
Probably because you need the D runtime. One way is to import
core.runtime and call Runtime.initialize().
Where should I call this Runtime.initialize() ?
On Wednesday, 3 August 2016 at 14:02:12 UTC, Adam D. Ruppe wrote:
On Wednesday, 3 August 2016 at 13:44:46 UTC, llaine wrote:
void puts(string str)
{
writeln(str);
}
A D string isn't the same as a C string, so your params won't
work as-is, and writeln requires the D runtime to be
in
On Wednesday, 3 August 2016 at 14:58:04 UTC, bachmeier wrote:
On Wednesday, 3 August 2016 at 14:01:34 UTC, llaine wrote:
On Wednesday, 3 August 2016 at 13:49:36 UTC, bachmeier wrote:
Probably because you need the D runtime. One way is to import
core.runtime and call Runtime.initialize().
Wh
On Wednesday, 3 August 2016 at 15:08:51 UTC, llaine wrote:
On Wednesday, 3 August 2016 at 14:58:04 UTC, bachmeier wrote:
On Wednesday, 3 August 2016 at 15:08:51 UTC, llaine wrote:
by switching my file to just this
extern(C)
{
char* foo(char* str)
{
return str;
}
}
It works.
But
On Wednesday, 3 August 2016 at 15:14:24 UTC, Kagamin wrote:
On Wednesday, 3 August 2016 at 15:08:51 UTC, llaine wrote:
So basically I have to create wrapper.c ?
Yes, but you should write it in D. Runtime initialization is at
https://dlang.org/phobos/core_runtime.html#.Runtime
Okay I tried t
On Wednesday, 3 August 2016 at 15:24:56 UTC, llaine wrote:
On Wednesday, 3 August 2016 at 15:14:24 UTC, Kagamin wrote:
After digging a bit more, I get a different error.
import std.stdio;
import core.runtime;
extern(C)
{
void initialize()
{
Runtime.initialize();
}
void foo(string
On Wednesday, 3 August 2016 at 15:47:48 UTC, bachmeier wrote:
On Wednesday, 3 August 2016 at 15:24:56 UTC, llaine wrote:
On Wednesday, 3 August 2016 at 15:14:24 UTC, Kagamin wrote:
On Wednesday, 3 August 2016 at 15:08:51 UTC, llaine wrote:
So basically I have to create wrapper.c ?
Yes, but y
On Wednesday, 3 August 2016 at 16:09:15 UTC, bachmeier wrote:
On Wednesday, 3 August 2016 at 15:56:34 UTC, llaine wrote:
Okay on stack overflow, they are not using ffi but dl.
I tried changing ffi to dl, it's the same don't work
unfortunatly.
That's about as far as I can go without having it
On Thursday, 4 August 2016 at 12:14:48 UTC, Adam D. Ruppe wrote:
On Thursday, 4 August 2016 at 10:36:05 UTC, llaine wrote:
Any idea how can I call them ?
Just like any other function. Consider this:
--
hi from D, Ruby user!
Wow thank you Adam, it's pretty impressive.
I saw that yo
On Thursday, 4 August 2016 at 23:35:55 UTC, bachmeier wrote:
On Thursday, 4 August 2016 at 17:11:04 UTC, Adam D. Ruppe wrote:
Happy that you guys put this on the Wiki !!
On Wednesday, 14 September 2016 at 09:40:47 UTC, wobbles wrote:
On Wednesday, 14 September 2016 at 09:01:11 UTC, Guillaume
Piolat wrote:
Is there vibe.d hosting sold anywhere?
Not that I know, but any VPS you rent would be capable of
hosting it.
I guess you don't want to deal with all of th
On Wednesday, 14 September 2016 at 16:08:36 UTC, wobbles wrote:
On Wednesday, 14 September 2016 at 16:03:50 UTC, Guillaume I've
had success connecting vibe-d and heroku hosted postgresql dbs
too :)
It's actually quite easy, create a DB on Heroku, grab the
credentials and pass them in your co
Using dmd every day and since one day I'm getting this error when
I'm compiling using the -b release flag (dub build -b release).
I'm compiling a vibe.d application that has roughly 3k LoC.
Removing the -b flag solves the problem.
Dmd version : v2.071.0
Vibe.d version : 0.7.26
On Wednesday, 21 September 2016 at 15:24:08 UTC, Saurabh Das
wrote:
On Wednesday, 21 September 2016 at 14:15:30 UTC, llaine wrote:
I'm sure some more experienced forum readers will weigh in
soon, but my understanding is that:
All ICEs are errors in the compiler. You should submit it as a
bug
On Wednesday, 21 September 2016 at 21:32:02 UTC, Rene Zwanenburg
wrote:
On Wednesday, 21 September 2016 at 20:22:42 UTC, llaine wrote:
Yes, but it may take some time. For large projects, running it
on a server is advisable. 3K LOC should be doable on a desktop
machine.
Dub has built-in suppo
On Thursday, 22 September 2016 at 14:40:10 UTC, Saurabh Das wrote:
On Thursday, 22 September 2016 at 10:44:29 UTC, llaine wrote:
dub dustmite ./dustmite_output/ --compiler-regex="Internal
Error" -b release
Okay I tried yesterday, after 4hours of process, I never went
through the end of minif
Did anyone used Tensorflow with D ? I would be really interesting
to know if some libs allows it right now.
I read an old thread about TS on the forum, but since then
nothing ...
37 matches
Mail list logo